diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-30 18:02:11 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-30 18:02:11 +0000 |
commit | 5ad8fdbf162cf819cf1c48d2ddd8aed9113ab718 (patch) | |
tree | a2f76da0912085453b974e590005753ca279457b /systemsettings/kcscrollview.cpp | |
parent | 70a90e54dfa3b5ab2133aebda71f310d29d6a680 (diff) | |
download | tde-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.cpp | 10 |
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); } |