diff options
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); } |