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/vtabwidget.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/vtabwidget.h')
-rw-r--r-- | src/app/vtabwidget.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/app/vtabwidget.h b/src/app/vtabwidget.h index 92e4b12..85aa4b4 100644 --- a/src/app/vtabwidget.h +++ b/src/app/vtabwidget.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 2005 Aurelien Gateau @@ -22,20 +22,21 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #ifndef VTABWIDGET_H #define VTABWIDGET_H -// Qt -#include <qwidget.h> +// TQt +#include <tqwidget.h> -class QPixmap; +class TQPixmap; namespace Gwenview { -class VTabWidget : public QWidget { +class VTabWidget : public TQWidget { Q_OBJECT + TQ_OBJECT public: - VTabWidget(QWidget* parent); + VTabWidget(TQWidget* tqparent); virtual ~VTabWidget(); - void addTab(QWidget*, const QPixmap&, const QString& label); + void addTab(TQWidget*, const TQPixmap&, const TQString& label); private slots: void slotClicked(int id); |