diff --git a/src/HACKING b/src/HACKING index 3e45a7f..1480f90 100644 --- a/src/HACKING +++ b/src/HACKING @@ -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 diff --git a/src/app/bookmarkdialog.h b/src/app/bookmarkdialog.h index f1f344e..c3fc2ad 100644 --- a/src/app/bookmarkdialog.h +++ b/src/app/bookmarkdialog.h @@ -27,7 +27,7 @@ namespace Gwenview { class BookmarkDialogPrivate; class BookmarkDialog : public KDialogBase { -Q_OBJECT +TQ_OBJECT public: enum Mode { BOOKMARK_GROUP, BOOKMARK }; diff --git a/src/app/bookmarkowner.h b/src/app/bookmarkowner.h index 1263272..50e2385 100644 --- a/src/app/bookmarkowner.h +++ b/src/app/bookmarkowner.h @@ -28,7 +28,7 @@ namespace Gwenview { class BookmarkOwner : public TQObject, public KBookmarkOwner { -Q_OBJECT +TQ_OBJECT public: BookmarkOwner(TQWidget* parent); diff --git a/src/app/bookmarkviewcontroller.h b/src/app/bookmarkviewcontroller.h index a0d8b41..e0e7924 100644 --- a/src/app/bookmarkviewcontroller.h +++ b/src/app/bookmarkviewcontroller.h @@ -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*); diff --git a/src/app/configdialog.h b/src/app/configdialog.h index a5d4b83..de1ad53 100644 --- a/src/app/configdialog.h +++ b/src/app/configdialog.h @@ -34,7 +34,7 @@ namespace Gwenview { class ConfigDialogPrivate; class ConfigDialog : public KDialogBase { -Q_OBJECT +TQ_OBJECT public: ConfigDialog(TQWidget*, KIPI::PluginLoader*); diff --git a/src/app/dirviewcontroller.h b/src/app/dirviewcontroller.h index c4ad2f3..7e22a4e 100644 --- a/src/app/dirviewcontroller.h +++ b/src/app/dirviewcontroller.h @@ -36,7 +36,7 @@ class Job; namespace Gwenview { class DirViewController : public TQObject { - Q_OBJECT + TQ_OBJECT public: DirViewController(TQWidget* parent); diff --git a/src/app/history.h b/src/app/history.h index f1d2cc7..bc90a3b 100644 --- a/src/app/history.h +++ b/src/app/history.h @@ -35,7 +35,7 @@ typedef TQValueList HistoryList; namespace Gwenview { class History : public TQObject { -Q_OBJECT +TQ_OBJECT public: diff --git a/src/app/kipiinterface.h b/src/app/kipiinterface.h index da241d4..d9135fa 100644 --- a/src/app/kipiinterface.h +++ b/src/app/kipiinterface.h @@ -36,7 +36,7 @@ class KIPIInterfacePrivate; class FileViewController; class KIPIInterface :public KIPI::Interface { - Q_OBJECT + TQ_OBJECT public: diff --git a/src/app/mainwindow.h b/src/app/mainwindow.h index d5515f5..9ce1e73 100644 --- a/src/app/mainwindow.h +++ b/src/app/mainwindow.h @@ -61,7 +61,7 @@ class SlideShow; class MainWindow : public TDEMainWindow { -Q_OBJECT +TQ_OBJECT public: MainWindow(); diff --git a/src/app/metaedit.h b/src/app/metaedit.h index 6bcf9da..e7c4d36 100644 --- a/src/app/metaedit.h +++ b/src/app/metaedit.h @@ -31,7 +31,7 @@ namespace Gwenview { class Document; class MetaEdit : public TQVBox { -Q_OBJECT +TQ_OBJECT public: MetaEdit(TQWidget *parent, Document*, const char *name=""); diff --git a/src/app/treeview.h b/src/app/treeview.h index 5ab2d21..a100a64 100644 --- a/src/app/treeview.h +++ b/src/app/treeview.h @@ -30,7 +30,7 @@ namespace Gwenview { class TreeView : public KFileTreeView { -Q_OBJECT +TQ_OBJECT public: TreeView(TQWidget* parent); diff --git a/src/app/vtabwidget.h b/src/app/vtabwidget.h index 84b7c35..dc0363d 100644 --- a/src/app/vtabwidget.h +++ b/src/app/vtabwidget.h @@ -29,7 +29,7 @@ namespace Gwenview { class VTabWidget : public TQWidget { -Q_OBJECT +TQ_OBJECT public: VTabWidget(TQWidget* parent); diff --git a/src/gvcore/bcgdialog.h b/src/gvcore/bcgdialog.h index 75cb81a..641e7ab 100644 --- a/src/gvcore/bcgdialog.h +++ b/src/gvcore/bcgdialog.h @@ -30,7 +30,7 @@ namespace Gwenview { class ImageView; class BCGDialog : public KDialogBase { -Q_OBJECT +TQ_OBJECT public: BCGDialog(ImageView*); diff --git a/src/gvcore/busylevelmanager.h b/src/gvcore/busylevelmanager.h index d3cd7b0..d1f22e1 100644 --- a/src/gvcore/busylevelmanager.h +++ b/src/gvcore/busylevelmanager.h @@ -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 ); diff --git a/src/gvcore/cache.h b/src/gvcore/cache.h index 0ee37b7..37315f0 100644 --- a/src/gvcore/cache.h +++ b/src/gvcore/cache.h @@ -38,7 +38,7 @@ class TDEConfig; namespace Gwenview { class LIBGWENVIEW_EXPORT Cache : public TQObject { -Q_OBJECT +TQ_OBJECT public: static Cache* instance(); diff --git a/src/gvcore/clicklineedit.h b/src/gvcore/clicklineedit.h index 594dc37..dea9996 100644 --- a/src/gvcore/clicklineedit.h +++ b/src/gvcore/clicklineedit.h @@ -34,7 +34,7 @@ namespace Gwenview { */ class ClickLineEdit : public KLineEdit { - Q_OBJECT + TQ_OBJECT TQ_PROPERTY( TQString clickMessage READ clickMessage WRITE setClickMessage ) public: diff --git a/src/gvcore/deletedialog.h b/src/gvcore/deletedialog.h index a5a60f1..bf08cbe 100644 --- a/src/gvcore/deletedialog.h +++ b/src/gvcore/deletedialog.h @@ -27,7 +27,7 @@ namespace Gwenview { class DeleteDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: diff --git a/src/gvcore/document.h b/src/gvcore/document.h index a8056d1..a7e46be 100644 --- a/src/gvcore/document.h +++ b/src/gvcore/document.h @@ -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 }; diff --git a/src/gvcore/documentanimatedloadedimpl.h b/src/gvcore/documentanimatedloadedimpl.h index 736edcc..5a6a1e7 100644 --- a/src/gvcore/documentanimatedloadedimpl.h +++ b/src/gvcore/documentanimatedloadedimpl.h @@ -38,7 +38,7 @@ class Document; class DocumentAnimatedLoadedImplPrivate; class DocumentAnimatedLoadedImpl : public DocumentLoadedImpl { -Q_OBJECT +TQ_OBJECT public: DocumentAnimatedLoadedImpl(Document* document, const ImageFrames& frames); diff --git a/src/gvcore/documentimpl.h b/src/gvcore/documentimpl.h index 32ac8d4..4091b51 100644 --- a/src/gvcore/documentimpl.h +++ b/src/gvcore/documentimpl.h @@ -31,7 +31,7 @@ namespace Gwenview { class DocumentImpl : public TQObject { -Q_OBJECT +TQ_OBJECT public: DocumentImpl(Document* document); diff --git a/src/gvcore/documentjpegloadedimpl.h b/src/gvcore/documentjpegloadedimpl.h index 4e68d25..9fd0bba 100644 --- a/src/gvcore/documentjpegloadedimpl.h +++ b/src/gvcore/documentjpegloadedimpl.h @@ -32,7 +32,7 @@ class Document; class DocumentJPEGLoadedImplPrivate; class DocumentJPEGLoadedImpl : public DocumentLoadedImpl { -Q_OBJECT +TQ_OBJECT public: DocumentJPEGLoadedImpl(Document* document, const TQByteArray& rawData); diff --git a/src/gvcore/documentloadedimpl.h b/src/gvcore/documentloadedimpl.h index 4b362ea..e629b62 100644 --- a/src/gvcore/documentloadedimpl.h +++ b/src/gvcore/documentloadedimpl.h @@ -32,7 +32,7 @@ namespace Gwenview { class Document; class DocumentLoadedImpl : public DocumentImpl { -Q_OBJECT +TQ_OBJECT public: DocumentLoadedImpl(Document* document); diff --git a/src/gvcore/documentloadingimpl.h b/src/gvcore/documentloadingimpl.h index fc00435..3b2a0c2 100644 --- a/src/gvcore/documentloadingimpl.h +++ b/src/gvcore/documentloadingimpl.h @@ -31,7 +31,7 @@ class Document; class DocumentLoadingImplPrivate; class DocumentLoadingImpl : public DocumentImpl { -Q_OBJECT +TQ_OBJECT public: DocumentLoadingImpl(Document* document); diff --git a/src/gvcore/externaltoolaction.h b/src/gvcore/externaltoolaction.h index e5cd974..59c17ec 100644 --- a/src/gvcore/externaltoolaction.h +++ b/src/gvcore/externaltoolaction.h @@ -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&); diff --git a/src/gvcore/externaltoolcontext.h b/src/gvcore/externaltoolcontext.h index e0220b8..66d2f5c 100644 --- a/src/gvcore/externaltoolcontext.h +++ b/src/gvcore/externaltoolcontext.h @@ -37,7 +37,7 @@ class KService; namespace Gwenview { class LIBGWENVIEW_EXPORT ExternalToolContext : public TQObject { -Q_OBJECT +TQ_OBJECT public: ExternalToolContext(TQObject* parent, diff --git a/src/gvcore/externaltooldialog.h b/src/gvcore/externaltooldialog.h index cbd5d72..85eb263 100644 --- a/src/gvcore/externaltooldialog.h +++ b/src/gvcore/externaltooldialog.h @@ -31,7 +31,7 @@ namespace Gwenview { class ExternalToolDialogPrivate; class LIBGWENVIEW_EXPORT ExternalToolDialog : public KDialogBase { -Q_OBJECT +TQ_OBJECT public: ExternalToolDialog(TQWidget* parent); diff --git a/src/gvcore/filedetailview.h b/src/gvcore/filedetailview.h index b8085ca..b0eafac 100644 --- a/src/gvcore/filedetailview.h +++ b/src/gvcore/filedetailview.h @@ -42,7 +42,7 @@ class FileDetailViewItem; class FileDetailView : public TDEListView, public FileViewBase { - Q_OBJECT + TQ_OBJECT friend class FileDetailViewItem; diff --git a/src/gvcore/fileoperation.h b/src/gvcore/fileoperation.h index 87d2fa3..550dafb 100644 --- a/src/gvcore/fileoperation.h +++ b/src/gvcore/fileoperation.h @@ -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) diff --git a/src/gvcore/fileopobject.h b/src/gvcore/fileopobject.h index 579667e..b7994d3 100644 --- a/src/gvcore/fileopobject.h +++ b/src/gvcore/fileopobject.h @@ -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) {} diff --git a/src/gvcore/filethumbnailview.h b/src/gvcore/filethumbnailview.h index dbd5ed6..4809501 100644 --- a/src/gvcore/filethumbnailview.h +++ b/src/gvcore/filethumbnailview.h @@ -45,7 +45,7 @@ namespace Gwenview { class FileThumbnailViewItem; class LIBGWENVIEW_EXPORT FileThumbnailView : public TDEIconView, public FileViewBase { -Q_OBJECT +TQ_OBJECT friend class FileThumbnailViewItem; diff --git a/src/gvcore/fileviewcontroller.h b/src/gvcore/fileviewcontroller.h index 101ce9a..6b2c49b 100644 --- a/src/gvcore/fileviewcontroller.h +++ b/src/gvcore/fileviewcontroller.h @@ -54,7 +54,7 @@ class ImageLoader; class DirLister; class LIBGWENVIEW_EXPORT FileViewController : public TQWidget { -Q_OBJECT +TQ_OBJECT public: diff --git a/src/gvcore/fullscreenbar.h b/src/gvcore/fullscreenbar.h index 8ef3f84..a9eb418 100644 --- a/src/gvcore/fullscreenbar.h +++ b/src/gvcore/fullscreenbar.h @@ -30,7 +30,7 @@ class TQString; namespace Gwenview { class FullScreenBar : public TDEToolBar { -Q_OBJECT +TQ_OBJECT public: FullScreenBar(TQWidget* parent); diff --git a/src/gvcore/imageloader.h b/src/gvcore/imageloader.h index fface6c..8ddd733 100644 --- a/src/gvcore/imageloader.h +++ b/src/gvcore/imageloader.h @@ -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 diff --git a/src/gvcore/imagesavedialog.h b/src/gvcore/imagesavedialog.h index 2d60ad1..9f7b820 100644 --- a/src/gvcore/imagesavedialog.h +++ b/src/gvcore/imagesavedialog.h @@ -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); diff --git a/src/gvcore/imageview.h b/src/gvcore/imageview.h index f6f6bb4..2febb3c 100644 --- a/src/gvcore/imageview.h +++ b/src/gvcore/imageview.h @@ -47,7 +47,7 @@ namespace Gwenview { class Document; class LIBGWENVIEW_EXPORT ImageView : public TQScrollView { -Q_OBJECT +TQ_OBJECT public: diff --git a/src/gvcore/imageviewcontroller.h b/src/gvcore/imageviewcontroller.h index 0643b61..e97b812 100644 --- a/src/gvcore/imageviewcontroller.h +++ b/src/gvcore/imageviewcontroller.h @@ -42,7 +42,7 @@ class ImageView; class LIBGWENVIEW_EXPORT ImageViewController : public TQObject { -Q_OBJECT +TQ_OBJECT public: ImageViewController(TQWidget* parent, Document*, TDEActionCollection*); diff --git a/src/gvcore/inputdialog.h b/src/gvcore/inputdialog.h index 8958d80..438e347 100644 --- a/src/gvcore/inputdialog.h +++ b/src/gvcore/inputdialog.h @@ -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); diff --git a/src/gvcore/printdialog.h b/src/gvcore/printdialog.h index 2a4d770..d21c3c2 100644 --- a/src/gvcore/printdialog.h +++ b/src/gvcore/printdialog.h @@ -46,7 +46,7 @@ enum ScaleId { }; class LIBGWENVIEW_EXPORT PrintDialogPage : public KPrintDialogPage { - Q_OBJECT + TQ_OBJECT public: diff --git a/src/gvcore/slideshow.h b/src/gvcore/slideshow.h index f6d4806..d2b188d 100644 --- a/src/gvcore/slideshow.h +++ b/src/gvcore/slideshow.h @@ -38,7 +38,7 @@ class ImageLoader; class LIBGWENVIEW_EXPORT SlideShow : public TQObject { -Q_OBJECT +TQ_OBJECT public: SlideShow(Document* document); diff --git a/src/gvcore/threadgate.h b/src/gvcore/threadgate.h index afb65be..330c9f0 100644 --- a/src/gvcore/threadgate.h +++ b/src/gvcore/threadgate.h @@ -27,7 +27,7 @@ namespace Gwenview { class ThreadGate : public TQObject { -Q_OBJECT +TQ_OBJECT public: static ThreadGate* instance(); diff --git a/src/gvcore/thumbnaildetailsdialog.h b/src/gvcore/thumbnaildetailsdialog.h index 8fe936f..84690b9 100644 --- a/src/gvcore/thumbnaildetailsdialog.h +++ b/src/gvcore/thumbnaildetailsdialog.h @@ -28,7 +28,7 @@ namespace Gwenview { class FileThumbnailView; class ThumbnailDetailsDialog : public KDialogBase { -Q_OBJECT +TQ_OBJECT public: ThumbnailDetailsDialog(FileThumbnailView* view); diff --git a/src/gvcore/thumbnailloadjob.h b/src/gvcore/thumbnailloadjob.h index 283d802..39541a2 100644 --- a/src/gvcore/thumbnailloadjob.h +++ b/src/gvcore/thumbnailloadjob.h @@ -45,7 +45,7 @@ typedef TQPtrList 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: /** diff --git a/src/gvdirpart/gvdirpart.h b/src/gvdirpart/gvdirpart.h index 6bf34d2..1bea0b0 100644 --- a/src/gvdirpart/gvdirpart.h +++ b/src/gvdirpart/gvdirpart.h @@ -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 &); diff --git a/src/gvimagepart/gvimagepart.h b/src/gvimagepart/gvimagepart.h index 82a423d..68db9b1 100644 --- a/src/gvimagepart/gvimagepart.h +++ b/src/gvimagepart/gvimagepart.h @@ -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); diff --git a/src/tsthread/tsthread.h b/src/tsthread/tsthread.h index abdb556..56086d4 100644 --- a/src/tsthread/tsthread.h +++ b/src/tsthread/tsthread.h @@ -58,7 +58,7 @@ class TSCurrentThread; class TSThread : public TQObject { - Q_OBJECT + TQ_OBJECT public: TSThread();