summaryrefslogtreecommitdiffstats
path: root/systemsettings/kcscrollview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-30 18:02:11 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-30 18:02:11 +0000
commit5ad8fdbf162cf819cf1c48d2ddd8aed9113ab718 (patch)
treea2f76da0912085453b974e590005753ca279457b /systemsettings/kcscrollview.cpp
parent70a90e54dfa3b5ab2133aebda71f310d29d6a680 (diff)
downloadtde-systemsettings-5ad8fdbf162cf819cf1c48d2ddd8aed9113ab718.tar.gz
tde-systemsettings-5ad8fdbf162cf819cf1c48d2ddd8aed9113ab718.zip
TQt4 convert kde-systemsettings
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kde-systemsettings@1234247 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'systemsettings/kcscrollview.cpp')
-rw-r--r--systemsettings/kcscrollview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/systemsettings/kcscrollview.cpp b/systemsettings/kcscrollview.cpp
index df34f50..65f3b5e 100644
--- a/systemsettings/kcscrollview.cpp
+++ b/systemsettings/kcscrollview.cpp
@@ -20,19 +20,19 @@
#include "kcscrollview.h"
-KCScrollView::KCScrollView( QWidget * parent, const char * name, WFlags f) : QScrollView(parent,name,f) {
+KCScrollView::KCScrollView( TQWidget * tqparent, const char * name, WFlags f) : TQScrollView(tqparent,name,f) {
setResizePolicy(AutoOneFit);
mainChild = 0;
}
-QSize KCScrollView::sizeHint() const {
- QSize vphint = mainChild->sizeHint();
+TQSize KCScrollView::tqsizeHint() const {
+ TQSize vphint = mainChild->tqsizeHint();
vphint.setWidth(vphint.width()+2*frameWidth());
vphint.setHeight(vphint.height()+2*frameWidth());
return vphint;
}
-void KCScrollView::addChild(QWidget *child, int x, int y) {
+void KCScrollView::addChild(TQWidget *child, int x, int y) {
mainChild = child;
- QScrollView::addChild(child,x,y);
+ TQScrollView::addChild(child,x,y);
}