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/testvtabwidget.cpp | |
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/testvtabwidget.cpp')
-rw-r--r-- | src/app/testvtabwidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/app/testvtabwidget.cpp b/src/app/testvtabwidget.cpp index f346f1c..d9fccaf 100644 --- a/src/app/testvtabwidget.cpp +++ b/src/app/testvtabwidget.cpp @@ -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 @@ -19,8 +19,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -// Qt -#include <qlabel.h> +// TQt +#include <tqlabel.h> // KDE #include <kapplication.h> @@ -37,9 +37,9 @@ int main(int argc, char* argv[]) { KApplication app; Gwenview::VTabWidget tabWidget(0); - QLabel* lbl=new QLabel("label 1", &tabWidget); + TQLabel* lbl=new TQLabel("label 1", &tabWidget); tabWidget.addTab(lbl, SmallIcon("text"), "tab1"); - lbl=new QLabel("label 2", &tabWidget); + lbl=new TQLabel("label 2", &tabWidget); tabWidget.addTab(lbl, SmallIcon("image"), "tab2"); app.setMainWidget(&tabWidget); |