summaryrefslogtreecommitdiffstats
path: root/src/kvilib/tal/kvi_tal_mainwindow.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
commit0a80cfd57d271dd44221467efb426675fa470356 (patch)
tree6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/kvilib/tal/kvi_tal_mainwindow.cpp
parent3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff)
downloadkvirc-0a80cfd57d271dd44221467efb426675fa470356.tar.gz
kvirc-0a80cfd57d271dd44221467efb426675fa470356.zip
TQt4 port kvirc
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238719 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kvilib/tal/kvi_tal_mainwindow.cpp')
-rw-r--r--src/kvilib/tal/kvi_tal_mainwindow.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kvilib/tal/kvi_tal_mainwindow.cpp b/src/kvilib/tal/kvi_tal_mainwindow.cpp
index c2e52b2d..ff2e7b17 100644
--- a/src/kvilib/tal/kvi_tal_mainwindow.cpp
+++ b/src/kvilib/tal/kvi_tal_mainwindow.cpp
@@ -27,7 +27,7 @@
#ifdef COMPILE_KDE_SUPPORT
- KviTalMainWindow::KviTalMainWindow(QWidget * par,const char * nam)
+ KviTalMainWindow::KviTalMainWindow(TQWidget * par,const char * nam)
: KMainWindow(par,nam)
{
}
@@ -37,8 +37,8 @@
#else
#ifdef COMPILE_USE_QT4
- KviTalMainWindow::KviTalMainWindow(QWidget * par,const char * nam)
- : QMainWindow(par,nam)
+ KviTalMainWindow::KviTalMainWindow(TQWidget * par,const char * nam)
+ : TQMainWindow(par,nam)
{
}
@@ -49,13 +49,13 @@
void KviTalMainWindow::setUsesBigPixmaps(bool b)
{
- if(b)setIconSize(QSize(48,48));
- else setIconSize(QSize(24,24));
+ if(b)setIconSize(TQSize(48,48));
+ else setIconSize(TQSize(24,24));
}
#include "kvi_tal_mainwindow_qt4.moc"
#else
- KviTalMainWindow::KviTalMainWindow(QWidget * par,const char * nam)
- : QMainWindow(par,nam)
+ KviTalMainWindow::KviTalMainWindow(TQWidget * par,const char * nam)
+ : TQMainWindow(par,nam)
{
}
#include "kvi_tal_mainwindow_qt3.moc"