Replace Q_OBJECT with TQ_OBJECT

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f5f3eb33f5)
pull/34/head
Michele Calgaro 1 year ago
parent a03a99184d
commit d6c24d70ff
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -80,7 +80,7 @@ Include files
Group include files in the Qt, KDE or local groups and sort them
alphabetically. When writing the implementation file of a class which is a
Q_OBJECT, make sure you include the .moc file, not the .h.
TQ_OBJECT, make sure you include the .moc file, not the .h.
// Qt
#include <qobject.h>

@ -27,7 +27,7 @@ namespace Gwenview {
class BookmarkDialogPrivate;
class BookmarkDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:
enum Mode { BOOKMARK_GROUP, BOOKMARK };

@ -28,7 +28,7 @@ namespace Gwenview {
class BookmarkOwner : public TQObject, public KBookmarkOwner {
Q_OBJECT
TQ_OBJECT
public:
BookmarkOwner(TQWidget* parent);

@ -41,7 +41,7 @@ namespace Gwenview {
* A listview on which the user can drop urls
*/
class URLDropListView : public TDEListView {
Q_OBJECT
TQ_OBJECT
public:
URLDropListView(TQWidget* parent);
@ -56,7 +56,7 @@ protected:
class BookmarkViewController : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
BookmarkViewController(TQWidget*);

@ -34,7 +34,7 @@ namespace Gwenview {
class ConfigDialogPrivate;
class ConfigDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:
ConfigDialog(TQWidget*, KIPI::PluginLoader*);

@ -36,7 +36,7 @@ class Job;
namespace Gwenview {
class DirViewController : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
DirViewController(TQWidget* parent);

@ -35,7 +35,7 @@ typedef TQValueList<KURL> HistoryList;
namespace Gwenview {
class History : public TQObject {
Q_OBJECT
TQ_OBJECT
public:

@ -36,7 +36,7 @@ class KIPIInterfacePrivate;
class FileViewController;
class KIPIInterface :public KIPI::Interface {
Q_OBJECT
TQ_OBJECT
public:

@ -61,7 +61,7 @@ class SlideShow;
class MainWindow : public TDEMainWindow {
Q_OBJECT
TQ_OBJECT
public:
MainWindow();

@ -31,7 +31,7 @@ namespace Gwenview {
class Document;
class MetaEdit : public TQVBox {
Q_OBJECT
TQ_OBJECT
public:
MetaEdit(TQWidget *parent, Document*, const char *name="");

@ -30,7 +30,7 @@ namespace Gwenview {
class TreeView : public KFileTreeView {
Q_OBJECT
TQ_OBJECT
public:
TreeView(TQWidget* parent);

@ -29,7 +29,7 @@ namespace Gwenview {
class VTabWidget : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:
VTabWidget(TQWidget* parent);

@ -30,7 +30,7 @@ namespace Gwenview {
class ImageView;
class BCGDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:
BCGDialog(ImageView*);

@ -42,7 +42,7 @@ enum BusyLevel {
};
class LIBGWENVIEW_EXPORT BusyLevelManager : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
static BusyLevelManager* instance();
@ -82,7 +82,7 @@ private:
destructor resets the busy level to none.
*/
class BusyLevelHelper : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
BusyLevelHelper( BusyLevel level );

@ -38,7 +38,7 @@ class TDEConfig;
namespace Gwenview {
class LIBGWENVIEW_EXPORT Cache : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
static Cache* instance();

@ -34,7 +34,7 @@ namespace Gwenview {
*/
class ClickLineEdit : public KLineEdit
{
Q_OBJECT
TQ_OBJECT
TQ_PROPERTY( TQString clickMessage READ clickMessage WRITE setClickMessage )
public:

@ -27,7 +27,7 @@ namespace Gwenview {
class DeleteDialog : public KDialogBase
{
Q_OBJECT
TQ_OBJECT
public:

@ -52,7 +52,7 @@ class DocumentImpl;
* - loaded() is emitted
*/
class LIBGWENVIEW_EXPORT Document : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
enum CommentState { NONE=0, READ_ONLY=1, WRITABLE=2 };

@ -38,7 +38,7 @@ class Document;
class DocumentAnimatedLoadedImplPrivate;
class DocumentAnimatedLoadedImpl : public DocumentLoadedImpl {
Q_OBJECT
TQ_OBJECT
public:
DocumentAnimatedLoadedImpl(Document* document, const ImageFrames& frames);

@ -31,7 +31,7 @@ namespace Gwenview {
class DocumentImpl : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
DocumentImpl(Document* document);

@ -32,7 +32,7 @@ class Document;
class DocumentJPEGLoadedImplPrivate;
class DocumentJPEGLoadedImpl : public DocumentLoadedImpl {
Q_OBJECT
TQ_OBJECT
public:
DocumentJPEGLoadedImpl(Document* document, const TQByteArray& rawData);

@ -32,7 +32,7 @@ namespace Gwenview {
class Document;
class DocumentLoadedImpl : public DocumentImpl {
Q_OBJECT
TQ_OBJECT
public:
DocumentLoadedImpl(Document* document);

@ -31,7 +31,7 @@ class Document;
class DocumentLoadingImplPrivate;
class DocumentLoadingImpl : public DocumentImpl {
Q_OBJECT
TQ_OBJECT
public:
DocumentLoadingImpl(Document* document);

@ -32,7 +32,7 @@ namespace Gwenview {
* as the urls to call it with.
*/
class ExternalToolAction : public TDEAction {
Q_OBJECT
TQ_OBJECT
public:
ExternalToolAction(TQObject* parent, const KService*, const KURL::List&);

@ -37,7 +37,7 @@ class KService;
namespace Gwenview {
class LIBGWENVIEW_EXPORT ExternalToolContext : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
ExternalToolContext(TQObject* parent,

@ -31,7 +31,7 @@ namespace Gwenview {
class ExternalToolDialogPrivate;
class LIBGWENVIEW_EXPORT ExternalToolDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:
ExternalToolDialog(TQWidget* parent);

@ -42,7 +42,7 @@ class FileDetailViewItem;
class FileDetailView : public TDEListView, public FileViewBase
{
Q_OBJECT
TQ_OBJECT
friend class FileDetailViewItem;

@ -52,7 +52,7 @@ LIBGWENVIEW_EXPORT void rename(const KURL&,TQWidget* parent,TQObject* receiver=0
* @internal
*/
class DropMenuContext : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
DropMenuContext(TQObject* parent, const KURL::List& src, const KURL& dst, bool* wasMoved)

@ -42,7 +42,7 @@ namespace Gwenview {
* All these classes are used by the @FileOperation namespace-like class
*/
class FileOpObject : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
FileOpObject(const KURL&,TQWidget* parent=0L);
@ -64,7 +64,7 @@ protected:
class FileOpCopyToObject : public FileOpObject {
Q_OBJECT
TQ_OBJECT
public:
FileOpCopyToObject(const KURL& url,TQWidget* parent=0L) : FileOpObject(url,parent) {}
@ -73,7 +73,7 @@ public:
};
class FileOpLinkToObject : public FileOpObject {
Q_OBJECT
TQ_OBJECT
public:
FileOpLinkToObject(const KURL& url,TQWidget* parent=0L) : FileOpObject(url,parent) {}
@ -82,7 +82,7 @@ public:
};
class FileOpMoveToObject : public FileOpObject {
Q_OBJECT
TQ_OBJECT
public:
FileOpMoveToObject(const KURL& url,TQWidget* parent=0L) : FileOpObject(url,parent) {}
@ -91,7 +91,7 @@ public:
};
class FileOpMakeDirObject : public FileOpObject {
Q_OBJECT
TQ_OBJECT
public:
FileOpMakeDirObject(const KURL& url, TQWidget* parent=0L) : FileOpObject(url, parent) {}
@ -99,7 +99,7 @@ public:
};
class FileOpDelObject : public FileOpObject {
Q_OBJECT
TQ_OBJECT
public:
FileOpDelObject(const KURL& url,TQWidget* parent=0L) : FileOpObject(url,parent) {}
@ -109,7 +109,7 @@ public:
class FileOpTrashObject : public FileOpObject {
Q_OBJECT
TQ_OBJECT
public:
FileOpTrashObject(const KURL& url,TQWidget* parent=0L) : FileOpObject(url,parent) {}
@ -119,7 +119,7 @@ public:
class FileOpRealDeleteObject : public FileOpObject {
Q_OBJECT
TQ_OBJECT
public:
FileOpRealDeleteObject(const KURL& url,TQWidget* parent=0L) : FileOpObject(url,parent) {}
@ -129,7 +129,7 @@ public:
class FileOpRenameObject : public FileOpObject {
Q_OBJECT
TQ_OBJECT
public:
FileOpRenameObject(const KURL& url,TQWidget* parent=0L) : FileOpObject(url,parent) {}

@ -45,7 +45,7 @@ namespace Gwenview {
class FileThumbnailViewItem;
class LIBGWENVIEW_EXPORT FileThumbnailView : public TDEIconView, public FileViewBase {
Q_OBJECT
TQ_OBJECT
friend class FileThumbnailViewItem;

@ -54,7 +54,7 @@ class ImageLoader;
class DirLister;
class LIBGWENVIEW_EXPORT FileViewController : public TQWidget {
Q_OBJECT
TQ_OBJECT
public:

@ -30,7 +30,7 @@ class TQString;
namespace Gwenview {
class FullScreenBar : public TDEToolBar {
Q_OBJECT
TQ_OBJECT
public:
FullScreenBar(TQWidget* parent);

@ -37,7 +37,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "libgwenview_export.h"
namespace Gwenview {
class DecoderThread : public TSThread {
Q_OBJECT
TQ_OBJECT
public:
void setRawData(const TQByteArray&);
@ -59,7 +59,7 @@ private:
class ImageLoaderPrivate;
class LIBGWENVIEW_EXPORT ImageLoader : public TQObject, public TQImageConsumer {
Q_OBJECT
TQ_OBJECT
public:
static ImageLoader* loader( const KURL& url, const TQObject* owner, BusyLevel priority ); // use this instead of ctor

@ -30,7 +30,7 @@ class KURL;
namespace Gwenview {
class ImageSaveDialog : public KFileDialog {
Q_OBJECT
TQ_OBJECT
public:
ImageSaveDialog(KURL& url,const TQCString& imageFormat,TQWidget* parent);

@ -47,7 +47,7 @@ namespace Gwenview {
class Document;
class LIBGWENVIEW_EXPORT ImageView : public TQScrollView {
Q_OBJECT
TQ_OBJECT
public:

@ -42,7 +42,7 @@ class ImageView;
class LIBGWENVIEW_EXPORT ImageViewController : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
ImageViewController(TQWidget* parent, Document*, TDEActionCollection*);

@ -34,7 +34,7 @@ namespace Gwenview {
* An input dialog which give access to its line edit
*/
class InputDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:
InputDialog(TQWidget* parent);

@ -46,7 +46,7 @@ enum ScaleId {
};
class LIBGWENVIEW_EXPORT PrintDialogPage : public KPrintDialogPage {
Q_OBJECT
TQ_OBJECT
public:

@ -38,7 +38,7 @@ class ImageLoader;
class LIBGWENVIEW_EXPORT SlideShow : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
SlideShow(Document* document);

@ -27,7 +27,7 @@ namespace Gwenview {
class ThreadGate : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
static ThreadGate* instance();

@ -28,7 +28,7 @@ namespace Gwenview {
class FileThumbnailView;
class ThumbnailDetailsDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:
ThumbnailDetailsDialog(FileThumbnailView* view);

@ -45,7 +45,7 @@ typedef TQPtrList<KFileItem> KFileItemList;
namespace Gwenview {
class ThumbnailThread : public TSThread {
Q_OBJECT
TQ_OBJECT
public:
void load(
@ -84,7 +84,7 @@ private:
* A job that determines the thumbnails for the images in the current directory
*/
class LIBGWENVIEW_EXPORT ThumbnailLoadJob : public TDEIO::Job {
Q_OBJECT
TQ_OBJECT
public:
/**

@ -43,7 +43,7 @@ class GVDirPart;
* some services to Konqueror. All Konqueror KParts have one.
*/
class GVDirPartBrowserExtension: public KParts::BrowserExtension {
Q_OBJECT
TQ_OBJECT
public:
@ -70,7 +70,7 @@ private:
* A Read Only KPart to browse directories and their images using Gwenview
*/
class GVDirPart : public KParts::ReadOnlyPart {
Q_OBJECT
TQ_OBJECT
public:
GVDirPart(TQWidget*, const char*, TQObject*, const char*, const TQStringList &);

@ -44,7 +44,7 @@ class GVImagePart;
* some services to Konqueror. All Konqueror KParts have one.
*/
class GVImagePartBrowserExtension: public KParts::BrowserExtension {
Q_OBJECT
TQ_OBJECT
public:
@ -63,7 +63,7 @@ private:
* A Read Only KPart to view images using Gwenview
*/
class GVImagePart : public KParts::ReadOnlyPart {
Q_OBJECT
TQ_OBJECT
public:
GVImagePart(TQWidget*, const char*, TQObject*, const char*, const TQStringList &);
@ -167,7 +167,7 @@ private:
* This simple helper class uploads data to a remote URL asynchronously
*/
class DataUploader : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
DataUploader(TQWidget* dialogParent, const TQByteArray& data, const KURL& destURL);

@ -58,7 +58,7 @@ class TSCurrentThread;
class TSThread
: public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
TSThread();

Loading…
Cancel
Save