summaryrefslogtreecommitdiffstats
path: root/kghostview/kgv_view.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kghostview/kgv_view.h
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kghostview/kgv_view.h')
-rw-r--r--kghostview/kgv_view.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/kghostview/kgv_view.h b/kghostview/kgv_view.h
index 634704fe..4576a0d0 100644
--- a/kghostview/kgv_view.h
+++ b/kghostview/kgv_view.h
@@ -19,7 +19,7 @@
#ifndef __KGV_VIEW_H
#define __KGV_VIEW_H
-#include <tqcstring.h> // QByteArray
+#include <tqcstring.h> // TQByteArray
#include <tqfile.h>
#include <kio/job.h>
@@ -55,9 +55,10 @@ class ScrollBox;
class KGVPart: public KParts::ReadOnlyPart
{
Q_OBJECT
+ TQ_OBJECT
public:
- KGVPart( TQWidget* parentWidget, const char* widgetName,
- TQObject* parent, const char* name,
+ KGVPart( TQWidget* tqparentWidget, const char* widgetName,
+ TQObject* tqparent, const char* name,
const TQStringList& args = TQStringList() );
virtual ~KGVPart();
@@ -230,9 +231,10 @@ private:
class KGVBrowserExtension : public KParts::BrowserExtension
{
Q_OBJECT
+ TQ_OBJECT
friend class KGVPart; // emits our signals
public:
- KGVBrowserExtension( KGVPart* parent );
+ KGVBrowserExtension( KGVPart* tqparent );
virtual ~KGVBrowserExtension() {}
public slots:
@@ -243,6 +245,7 @@ public slots:
class KGVRun : public KRun
{
Q_OBJECT
+ TQ_OBJECT
public:
KGVRun( const KURL& url, mode_t mode = 0,