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/app/mainwindow.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/app/mainwindow.h')
-rw-r--r-- | src/app/mainwindow.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/src/app/mainwindow.h b/src/app/mainwindow.h index 96bf0a2..239eaf3 100644 --- a/src/app/mainwindow.h +++ b/src/app/mainwindow.h @@ -1,5 +1,5 @@ // vim: set tabstop=4 shiftwidth=4 noexpandtab: -// kate: indent-mode csands; indent-width 4; replace-tabs-save off; replace-tabs off; replace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; +// kate: indent-mode csands; indent-width 4; tqreplace-tabs-save off; tqreplace-tabs off; tqreplace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; /* Gwenview - A simple image viewer for KDE Copyright 2000-2004 Aur�ien G�eau @@ -22,8 +22,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #ifndef MAINWINDOW_H #define MAINWINDOW_H -// Qt -#include <qptrlist.h> +// TQt +#include <tqptrlist.h> // KDE #include <kmainwindow.h> @@ -35,9 +35,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include <libkipi/pluginloader.h> #endif -class QLabel; -class QTimer; -class QWidgetStack; +class TQLabel; +class TQTimer; +class TQWidgetStack; class KAction; class KDockArea; @@ -64,6 +64,7 @@ class SlideShow; class MainWindow : public KMainWindow { Q_OBJECT + TQ_OBJECT public: MainWindow(); void setFullScreen(bool); @@ -78,16 +79,16 @@ protected: virtual void readProperties( KConfig* ); private: - QWidgetStack* mCentralStack; - QWidget* mViewModeWidget; + TQWidgetStack* mCentralStack; + TQWidget* mViewModeWidget; KDockArea* mDockArea; KDockWidget* mFolderDock; KDockWidget* mFileDock; KDockWidget* mImageDock; KDockWidget* mMetaDock; - QLabel* mSBDetailLabel; - QLabel* mSBHintLabel; - QTimer* mHintTimer; + TQLabel* mSBDetailLabel; + TQLabel* mSBHintLabel; + TQTimer* mHintTimer; FileViewController* mFileViewController; DirViewController* mDirViewController; @@ -125,7 +126,7 @@ private: KHistoryCombo* mURLEdit; KURLCompletion* mURLEditCompletion; - QPtrList<KAction> mWindowListActions; + TQPtrList<KAction> mWindowListActions; #ifdef GV_HAVE_KIPI KIPI::PluginLoader* mPluginLoader; @@ -148,7 +149,7 @@ private slots: void makeDir(); void goHome(); void renameFile(); - void slotRenamed(const QString&); + void slotRenamed(const TQString&); void copyFiles(); void moveFiles(); void linkFiles(); @@ -209,11 +210,11 @@ private slots: void slotReplug(); - void showHint(const QString&); + void showHint(const TQString&); void fillGoUpMenu(); - void openFileViewControllerContextMenu(const QPoint& pos, bool onItem); + void openFileViewControllerContextMenu(const TQPoint& pos, bool onItem); }; |