summaryrefslogtreecommitdiffstats
path: root/src/gvcore
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-17 15:59:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-17 15:59:02 -0600
commitb1aba0a7b213682a0681e7939a06874589968645 (patch)
tree05bb9967a49eed1cfbab1d5bc90dca3f565d0f02 /src/gvcore
parenta074b0e399c3b44f99b96da06d8e037539e47a36 (diff)
downloadgwenview-b1aba0a7b213682a0681e7939a06874589968645.tar.gz
gwenview-b1aba0a7b213682a0681e7939a06874589968645.zip
Remove spurious TQ_OBJECT instances
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 d6238b4..faa1f75 100644
--- a/src/gvcore/bcgdialog.h
+++ b/src/gvcore/bcgdialog.h
@@ -32,7 +32,7 @@ class ImageView;
class BCGDialog : public KDialogBase {
Q_OBJECT
- TQ_OBJECT
+
public:
BCGDialog(ImageView*);
~BCGDialog();
diff --git a/src/gvcore/busylevelmanager.h b/src/gvcore/busylevelmanager.h
index e1f8a43..ca4d488 100644
--- a/src/gvcore/busylevelmanager.h
+++ b/src/gvcore/busylevelmanager.h
@@ -44,7 +44,7 @@ enum BusyLevel {
class LIBGWENVIEW_EXPORT BusyLevelManager : public TQObject {
Q_OBJECT
- TQ_OBJECT
+
public:
static BusyLevelManager* instance();
@@ -84,7 +84,7 @@ private:
*/
class BusyLevelHelper : public TQObject {
Q_OBJECT
- TQ_OBJECT
+
public:
BusyLevelHelper( BusyLevel level );
~BusyLevelHelper();
diff --git a/src/gvcore/cache.h b/src/gvcore/cache.h
index 68591a5..c22a38a 100644
--- a/src/gvcore/cache.h
+++ b/src/gvcore/cache.h
@@ -40,7 +40,7 @@ class KConfig;
namespace Gwenview {
class LIBGWENVIEW_EXPORT Cache : public TQObject {
Q_OBJECT
- TQ_OBJECT
+
public:
static Cache* instance();
~Cache();
diff --git a/src/gvcore/clicklineedit.h b/src/gvcore/clicklineedit.h
index 26cbfb3..594dc37 100644
--- a/src/gvcore/clicklineedit.h
+++ b/src/gvcore/clicklineedit.h
@@ -35,7 +35,7 @@ namespace Gwenview {
class ClickLineEdit : public KLineEdit
{
Q_OBJECT
- TQ_OBJECT
+
TQ_PROPERTY( TQString clickMessage READ clickMessage WRITE setClickMessage )
public:
ClickLineEdit(TQWidget *parent, const char* name = 0 );
diff --git a/src/gvcore/deletedialog.h b/src/gvcore/deletedialog.h
index 1bdc5ab..a66bf67 100644
--- a/src/gvcore/deletedialog.h
+++ b/src/gvcore/deletedialog.h
@@ -28,7 +28,7 @@ namespace Gwenview {
class DeleteDialog : public KDialogBase
{
Q_OBJECT
- TQ_OBJECT
+
public:
DeleteDialog(TQWidget *parent, const char *name = "delete_dialog");
diff --git a/src/gvcore/document.h b/src/gvcore/document.h
index 36fa235..0a1dba4 100644
--- a/src/gvcore/document.h
+++ b/src/gvcore/document.h
@@ -54,7 +54,7 @@ class DocumentImpl;
*/
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 91a5288..1a6149c 100644
--- a/src/gvcore/documentanimatedloadedimpl.h
+++ b/src/gvcore/documentanimatedloadedimpl.h
@@ -40,7 +40,7 @@ class DocumentAnimatedLoadedImplPrivate;
class DocumentAnimatedLoadedImpl : public DocumentLoadedImpl {
Q_OBJECT
- TQ_OBJECT
+
public:
DocumentAnimatedLoadedImpl(Document* document, const ImageFrames& frames);
~DocumentAnimatedLoadedImpl();
diff --git a/src/gvcore/documentimpl.h b/src/gvcore/documentimpl.h
index c6e5697..2d85461 100644
--- a/src/gvcore/documentimpl.h
+++ b/src/gvcore/documentimpl.h
@@ -33,7 +33,7 @@ namespace Gwenview {
class DocumentImpl : public TQObject {
Q_OBJECT
- TQ_OBJECT
+
public:
DocumentImpl(Document* document);
virtual ~DocumentImpl();
diff --git a/src/gvcore/documentjpegloadedimpl.h b/src/gvcore/documentjpegloadedimpl.h
index 2b2a83a..d86bcac 100644
--- a/src/gvcore/documentjpegloadedimpl.h
+++ b/src/gvcore/documentjpegloadedimpl.h
@@ -34,7 +34,7 @@ class DocumentJPEGLoadedImplPrivate;
class DocumentJPEGLoadedImpl : public DocumentLoadedImpl {
Q_OBJECT
- TQ_OBJECT
+
public:
DocumentJPEGLoadedImpl(Document* document, const TQByteArray& rawData);
~DocumentJPEGLoadedImpl();
diff --git a/src/gvcore/documentloadedimpl.h b/src/gvcore/documentloadedimpl.h
index 42b8b0b..822819f 100644
--- a/src/gvcore/documentloadedimpl.h
+++ b/src/gvcore/documentloadedimpl.h
@@ -34,7 +34,7 @@ class Document;
class DocumentLoadedImpl : public DocumentImpl {
Q_OBJECT
- TQ_OBJECT
+
public:
DocumentLoadedImpl(Document* document);
void init();
diff --git a/src/gvcore/documentloadingimpl.h b/src/gvcore/documentloadingimpl.h
index a5bba3f..5f0e913 100644
--- a/src/gvcore/documentloadingimpl.h
+++ b/src/gvcore/documentloadingimpl.h
@@ -33,7 +33,7 @@ class DocumentLoadingImplPrivate;
class DocumentLoadingImpl : public DocumentImpl {
Q_OBJECT
- TQ_OBJECT
+
public:
DocumentLoadingImpl(Document* document);
~DocumentLoadingImpl();
diff --git a/src/gvcore/externaltoolaction.h b/src/gvcore/externaltoolaction.h
index 6f8e252..45c3053 100644
--- a/src/gvcore/externaltoolaction.h
+++ b/src/gvcore/externaltoolaction.h
@@ -34,7 +34,7 @@ namespace Gwenview {
*/
class ExternalToolAction : public KAction {
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 2efb9c8..64f573f 100644
--- a/src/gvcore/externaltoolcontext.h
+++ b/src/gvcore/externaltoolcontext.h
@@ -39,7 +39,7 @@ class KService;
namespace Gwenview {
class LIBGWENVIEW_EXPORT ExternalToolContext : public TQObject {
Q_OBJECT
- TQ_OBJECT
+
public:
ExternalToolContext(TQObject* parent,
std::list<KService*> services,
diff --git a/src/gvcore/externaltooldialog.h b/src/gvcore/externaltooldialog.h
index b5ab048..928c58d 100644
--- a/src/gvcore/externaltooldialog.h
+++ b/src/gvcore/externaltooldialog.h
@@ -33,7 +33,7 @@ namespace Gwenview {
class ExternalToolDialogPrivate;
class LIBGWENVIEW_EXPORT ExternalToolDialog : public KDialogBase {
Q_OBJECT
- TQ_OBJECT
+
public:
ExternalToolDialog(TQWidget* parent);
~ExternalToolDialog();
diff --git a/src/gvcore/filedetailview.h b/src/gvcore/filedetailview.h
index 5003524..7a21f25 100644
--- a/src/gvcore/filedetailview.h
+++ b/src/gvcore/filedetailview.h
@@ -44,7 +44,7 @@ class FileDetailViewItem;
class FileDetailView : public KListView, public FileViewBase
{
Q_OBJECT
- TQ_OBJECT
+
friend class FileDetailViewItem;
diff --git a/src/gvcore/fileoperation.h b/src/gvcore/fileoperation.h
index 6fe8c50..92a2675 100644
--- a/src/gvcore/fileoperation.h
+++ b/src/gvcore/fileoperation.h
@@ -54,7 +54,7 @@ LIBGWENVIEW_EXPORT void rename(const KURL&,TQWidget* parent,TQObject* receiver=0
*/
class DropMenuContext : public TQObject {
Q_OBJECT
- TQ_OBJECT
+
public:
DropMenuContext(TQObject* parent, const KURL::List& src, const KURL& dst, bool* wasMoved)
: TQObject(parent)
diff --git a/src/gvcore/fileopobject.h b/src/gvcore/fileopobject.h
index a15db50..59863bd 100644
--- a/src/gvcore/fileopobject.h
+++ b/src/gvcore/fileopobject.h
@@ -44,7 +44,7 @@ namespace Gwenview {
*/
class FileOpObject : public TQObject {
Q_OBJECT
- TQ_OBJECT
+
public:
FileOpObject(const KURL&,TQWidget* parent=0L);
FileOpObject(const KURL::List&,TQWidget* parent=0L);
@@ -66,7 +66,7 @@ protected:
class FileOpCopyToObject : public FileOpObject {
Q_OBJECT
- TQ_OBJECT
+
public:
FileOpCopyToObject(const KURL& url,TQWidget* parent=0L) : FileOpObject(url,parent) {}
FileOpCopyToObject(const KURL::List& urlList,TQWidget* parent=0L) : FileOpObject(urlList,parent) {}
@@ -75,7 +75,7 @@ public:
class FileOpLinkToObject : public FileOpObject {
Q_OBJECT
- TQ_OBJECT
+
public:
FileOpLinkToObject(const KURL& url,TQWidget* parent=0L) : FileOpObject(url,parent) {}
FileOpLinkToObject(const KURL::List& urlList,TQWidget* parent=0L) : FileOpObject(urlList,parent) {}
@@ -84,7 +84,7 @@ public:
class FileOpMoveToObject : public FileOpObject {
Q_OBJECT
- TQ_OBJECT
+
public:
FileOpMoveToObject(const KURL& url,TQWidget* parent=0L) : FileOpObject(url,parent) {}
FileOpMoveToObject(const KURL::List& urlList,TQWidget* parent=0L) : FileOpObject(urlList,parent) {}
@@ -93,7 +93,7 @@ public:
class FileOpMakeDirObject : public FileOpObject {
Q_OBJECT
- TQ_OBJECT
+
public:
FileOpMakeDirObject(const KURL& url, TQWidget* parent=0L) : FileOpObject(url, parent) {}
void operator()();
@@ -101,7 +101,7 @@ public:
class FileOpDelObject : public FileOpObject {
Q_OBJECT
- TQ_OBJECT
+
public:
FileOpDelObject(const KURL& url,TQWidget* parent=0L) : FileOpObject(url,parent) {}
FileOpDelObject(const KURL::List& urlList,TQWidget* parent=0L) : FileOpObject(urlList,parent) {}
@@ -111,7 +111,7 @@ public:
class FileOpTrashObject : public FileOpObject {
Q_OBJECT
- TQ_OBJECT
+
public:
FileOpTrashObject(const KURL& url,TQWidget* parent=0L) : FileOpObject(url,parent) {}
FileOpTrashObject(const KURL::List& urlList,TQWidget* parent=0L) : FileOpObject(urlList,parent) {}
@@ -121,7 +121,7 @@ public:
class FileOpRealDeleteObject : public FileOpObject {
Q_OBJECT
- TQ_OBJECT
+
public:
FileOpRealDeleteObject(const KURL& url,TQWidget* parent=0L) : FileOpObject(url,parent) {}
FileOpRealDeleteObject(const KURL::List& urlList,TQWidget* parent=0L) : FileOpObject(urlList,parent) {}
@@ -131,7 +131,7 @@ public:
class FileOpRenameObject : public FileOpObject {
Q_OBJECT
- TQ_OBJECT
+
public:
FileOpRenameObject(const KURL& url,TQWidget* parent=0L) : FileOpObject(url,parent) {}
void operator()();
diff --git a/src/gvcore/filethumbnailview.h b/src/gvcore/filethumbnailview.h
index 8077aa6..f511944 100644
--- a/src/gvcore/filethumbnailview.h
+++ b/src/gvcore/filethumbnailview.h
@@ -47,7 +47,7 @@ class FileThumbnailViewItem;
class LIBGWENVIEW_EXPORT FileThumbnailView : public KIconView, public FileViewBase {
Q_OBJECT
- TQ_OBJECT
+
friend class FileThumbnailViewItem;
public:
diff --git a/src/gvcore/fileviewcontroller.h b/src/gvcore/fileviewcontroller.h
index 8339659..20f7e42 100644
--- a/src/gvcore/fileviewcontroller.h
+++ b/src/gvcore/fileviewcontroller.h
@@ -56,7 +56,7 @@ class DirLister;
class LIBGWENVIEW_EXPORT FileViewController : public TQWidget {
Q_OBJECT
- TQ_OBJECT
+
public:
enum Mode { FILE_LIST, THUMBNAIL};
diff --git a/src/gvcore/fullscreenbar.h b/src/gvcore/fullscreenbar.h
index b24d721..893b6f4 100644
--- a/src/gvcore/fullscreenbar.h
+++ b/src/gvcore/fullscreenbar.h
@@ -32,7 +32,7 @@ class TQString;
namespace Gwenview {
class FullScreenBar : public KToolBar {
Q_OBJECT
- TQ_OBJECT
+
public:
FullScreenBar(TQWidget* parent);
~FullScreenBar();
diff --git a/src/gvcore/imageloader.h b/src/gvcore/imageloader.h
index e972fc9..475cb00 100644
--- a/src/gvcore/imageloader.h
+++ b/src/gvcore/imageloader.h
@@ -39,7 +39,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
namespace Gwenview {
class DecoderThread : public TSThread {
Q_OBJECT
- TQ_OBJECT
+
public:
void setRawData(const TQByteArray&);
TQImage popLoadedImage();
@@ -61,7 +61,7 @@ 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
void release( const TQObject* owner ); // use this instead of dtor
diff --git a/src/gvcore/imagesavedialog.h b/src/gvcore/imagesavedialog.h
index 6ac3b1d..1a669ce 100644
--- a/src/gvcore/imagesavedialog.h
+++ b/src/gvcore/imagesavedialog.h
@@ -32,7 +32,7 @@ class KURL;
namespace Gwenview {
class ImageSaveDialog : public KFileDialog {
Q_OBJECT
- TQ_OBJECT
+
public:
ImageSaveDialog(KURL& url,const TQCString& imageFormat,TQWidget* parent);
TQCString imageFormat() const { return mImageFormat; }
diff --git a/src/gvcore/imageview.h b/src/gvcore/imageview.h
index 9dc94a9..7e50dca 100644
--- a/src/gvcore/imageview.h
+++ b/src/gvcore/imageview.h
@@ -49,7 +49,7 @@ class Document;
class LIBGWENVIEW_EXPORT ImageView : public TQScrollView {
Q_OBJECT
- TQ_OBJECT
+
public:
class ToolBase;
diff --git a/src/gvcore/imageviewcontroller.h b/src/gvcore/imageviewcontroller.h
index bb4d0ee..c599590 100644
--- a/src/gvcore/imageviewcontroller.h
+++ b/src/gvcore/imageviewcontroller.h
@@ -44,7 +44,7 @@ class ImageView;
class LIBGWENVIEW_EXPORT ImageViewController : public TQObject {
Q_OBJECT
- TQ_OBJECT
+
public:
ImageViewController(TQWidget* parent, Document*, KActionCollection*);
~ImageViewController();
diff --git a/src/gvcore/inputdialog.h b/src/gvcore/inputdialog.h
index 2613a20..8497c23 100644
--- a/src/gvcore/inputdialog.h
+++ b/src/gvcore/inputdialog.h
@@ -36,7 +36,7 @@ namespace Gwenview {
*/
class InputDialog : public KDialogBase {
Q_OBJECT
- TQ_OBJECT
+
public:
InputDialog(TQWidget* parent);
~InputDialog();
diff --git a/src/gvcore/printdialog.h b/src/gvcore/printdialog.h
index 8a4b957..faf9752 100644
--- a/src/gvcore/printdialog.h
+++ b/src/gvcore/printdialog.h
@@ -48,7 +48,7 @@ enum ScaleId {
class LIBGWENVIEW_EXPORT PrintDialogPage : public KPrintDialogPage {
Q_OBJECT
- TQ_OBJECT
+
public:
PrintDialogPage( Document* document, TQWidget *parent = 0L, const char *name = 0 );
diff --git a/src/gvcore/slideshow.h b/src/gvcore/slideshow.h
index 5797b37..fde1650 100644
--- a/src/gvcore/slideshow.h
+++ b/src/gvcore/slideshow.h
@@ -41,7 +41,7 @@ class ImageLoader;
class LIBGWENVIEW_EXPORT SlideShow : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
SlideShow(Document* document);
virtual ~SlideShow();
diff --git a/src/gvcore/threadgate.h b/src/gvcore/threadgate.h
index 57c7654..c1ea213 100644
--- a/src/gvcore/threadgate.h
+++ b/src/gvcore/threadgate.h
@@ -29,7 +29,7 @@ namespace Gwenview {
class ThreadGate : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
static ThreadGate* instance();
TQColor color( const char* name );
diff --git a/src/gvcore/thumbnaildetailsdialog.h b/src/gvcore/thumbnaildetailsdialog.h
index c3e152a..89efe88 100644
--- a/src/gvcore/thumbnaildetailsdialog.h
+++ b/src/gvcore/thumbnaildetailsdialog.h
@@ -30,7 +30,7 @@ class FileThumbnailView;
class ThumbnailDetailsDialog : public KDialogBase {
Q_OBJECT
- TQ_OBJECT
+
public:
ThumbnailDetailsDialog(FileThumbnailView* view);
~ThumbnailDetailsDialog();
diff --git a/src/gvcore/thumbnailloadjob.h b/src/gvcore/thumbnailloadjob.h
index fc33fdf..a06ca88 100644
--- a/src/gvcore/thumbnailloadjob.h
+++ b/src/gvcore/thumbnailloadjob.h
@@ -47,7 +47,7 @@ typedef TQPtrList<KFileItem> KFileItemList;
namespace Gwenview {
class ThumbnailThread : public TSThread {
Q_OBJECT
- TQ_OBJECT
+
public:
void load(
const TQString& originalURI,
@@ -86,7 +86,7 @@ private:
*/
class LIBGWENVIEW_EXPORT ThumbnailLoadJob : public KIO::Job {
Q_OBJECT
- TQ_OBJECT
+
public:
/**
* Create a job for determining the pixmaps of the images in the @p itemList