diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:49:52 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:49:52 +0000 |
commit | cfc42a28c327b96c6a2afee92af3bac1a479eb8a (patch) | |
tree | e3219edf5f827eaa4db3feb509a17846a1a5a752 /kweather/sidebarwidget.cpp | |
parent | a73fc4d7e66fe0824313aa4e9a650c4cddef6e9f (diff) | |
download | tdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.tar.gz tdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1157650 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kweather/sidebarwidget.cpp')
-rw-r--r-- | kweather/sidebarwidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kweather/sidebarwidget.cpp b/kweather/sidebarwidget.cpp index fa2f008..0a7c080 100644 --- a/kweather/sidebarwidget.cpp +++ b/kweather/sidebarwidget.cpp @@ -20,14 +20,14 @@ */ #include "sidebarwidget.h" - #include <qscrollview.h> + #include <tqscrollview.h> - sidebarwidget::sidebarwidget(QWidget* parent, const char* name) : + sidebarwidget::sidebarwidget(TQWidget* parent, const char* name) : sidebarwidgetbase(parent,name) { - view = new QVBox(reportGrid->viewport()); + view = new TQVBox(reportGrid->viewport()); reportGrid->addChild(view); - reportGrid->setResizePolicy(QScrollView::AutoOneFit); + reportGrid->setResizePolicy(TQScrollView::AutoOneFit); } sidebarwidget::~sidebarwidget() @@ -35,12 +35,12 @@ } - void sidebarwidget::addWidget(QWidget *w, const QString &s) + void sidebarwidget::addWidget(TQWidget *w, const TQString &s) { w->setFixedWidth(reportGrid->visibleWidth ()); } - QWidget *sidebarwidget::viewport() + TQWidget *sidebarwidget::viewport() { return view; } |