diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-26 21:04:57 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-26 21:04:57 +0000 |
commit | bf7f88413be3831a9372d323d02fc0335b9f9188 (patch) | |
tree | 516fdef9206245b40a14f99b4e3d9ef9289196e0 /src/gvdirpart/gvdirpart.h | |
parent | e238aa77b1fb3c2f55aef2ef2c91ce52166d2cc8 (diff) | |
download | gwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.tar.gz gwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.zip |
TQt4 port Gwenview
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1233720 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gvdirpart/gvdirpart.h')
-rw-r--r-- | src/gvdirpart/gvdirpart.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/gvdirpart/gvdirpart.h b/src/gvdirpart/gvdirpart.h index 0cd3df7..339471f 100644 --- a/src/gvdirpart/gvdirpart.h +++ b/src/gvdirpart/gvdirpart.h @@ -23,8 +23,8 @@ Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA. #include <kparts/browserextension.h> // Forward declarations -class QPoint; -class QSplitter; +class TQPoint; +class TQSplitter; class KAboutData; class KAction; class KToggleAction; @@ -44,6 +44,7 @@ class GVDirPart; */ class GVDirPartBrowserExtension: public KParts::BrowserExtension { Q_OBJECT + TQ_OBJECT public: GVDirPartBrowserExtension(GVDirPart* viewPart, const char* name=0L); @@ -58,8 +59,8 @@ public slots: void print(); private slots: - void openFileViewContextMenu(const QPoint&, bool onItem); - void openImageViewContextMenu(const QPoint&); + void openFileViewContextMenu(const TQPoint&, bool onItem); + void openImageViewContextMenu(const TQPoint&); private: GVDirPart* mGVDirPart; @@ -70,8 +71,9 @@ private: */ class GVDirPart : public KParts::ReadOnlyPart { Q_OBJECT + TQ_OBJECT public: - GVDirPart(QWidget*, const char*, QObject*, const char*, const QStringList &); + GVDirPart(TQWidget*, const char*, TQObject*, const char*, const TQStringList &); virtual ~GVDirPart(); /** @@ -139,7 +141,7 @@ protected: * The component's widget, contains the files view on the left * and scroll view on the right. */ - QSplitter* mSplitter; + TQSplitter* mSplitter; /** * Scroll widget |