summaryrefslogtreecommitdiffstats
path: root/src/gvcore
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-20 12:49:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-23 18:55:50 +0900
commitd6c24d70fffccecf73e9a8b87432ca798fdd7eb8 (patch)
tree88159c0e3d82e716a213e98815014d4ac20c42af /src/gvcore
parenta03a99184d8fd6fd75478096fc8abdbf80e36665 (diff)
downloadgwenview-d6c24d70fffccecf73e9a8b87432ca798fdd7eb8.tar.gz
gwenview-d6c24d70fffccecf73e9a8b87432ca798fdd7eb8.zip
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit f5f3eb33f587085077453d74aadffa2d2377a73d)
Diffstat (limited to 'src/gvcore')
-rw-r--r--src/gvcore/bcgdialog.h2
-rw-r--r--src/gvcore/busylevelmanager.h4
-rw-r--r--src/gvcore/cache.h2
-rw-r--r--src/gvcore/clicklineedit.h2
-rw-r--r--src/gvcore/deletedialog.h2
-rw-r--r--src/gvcore/document.h2
-rw-r--r--src/gvcore/documentanimatedloadedimpl.h2
-rw-r--r--src/gvcore/documentimpl.h2
-rw-r--r--src/gvcore/documentjpegloadedimpl.h2
-rw-r--r--src/gvcore/documentloadedimpl.h2
-rw-r--r--src/gvcore/documentloadingimpl.h2
-rw-r--r--src/gvcore/externaltoolaction.h2
-rw-r--r--src/gvcore/externaltoolcontext.h2
-rw-r--r--src/gvcore/externaltooldialog.h2
-rw-r--r--src/gvcore/filedetailview.h2
-rw-r--r--src/gvcore/fileoperation.h2
-rw-r--r--src/gvcore/fileopobject.h18
-rw-r--r--src/gvcore/filethumbnailview.h2
-rw-r--r--src/gvcore/fileviewcontroller.h2
-rw-r--r--src/gvcore/fullscreenbar.h2
-rw-r--r--src/gvcore/imageloader.h4
-rw-r--r--src/gvcore/imagesavedialog.h2
-rw-r--r--src/gvcore/imageview.h2
-rw-r--r--src/gvcore/imageviewcontroller.h2
-rw-r--r--src/gvcore/inputdialog.h2
-rw-r--r--src/gvcore/printdialog.h2
-rw-r--r--src/gvcore/slideshow.h2
-rw-r--r--src/gvcore/threadgate.h2
-rw-r--r--src/gvcore/thumbnaildetailsdialog.h2
-rw-r--r--src/gvcore/thumbnailloadjob.h4
30 files changed, 41 insertions, 41 deletions
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<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:
/**