diff options
Diffstat (limited to 'src/libgui/config_center.cpp')
-rw-r--r-- | src/libgui/config_center.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/libgui/config_center.cpp b/src/libgui/config_center.cpp index 530cbbf..237a89d 100644 --- a/src/libgui/config_center.cpp +++ b/src/libgui/config_center.cpp @@ -9,12 +9,12 @@ ***************************************************************************/ #include "config_center.h" -#include <qlabel.h> -#include <qlayout.h> -#include <qtooltip.h> -#include <qgroupbox.h> -#include <qtabwidget.h> -#include <qtimer.h> +#include <tqlabel.h> +#include <tqlayout.h> +#include <tqtooltip.h> +#include <tqgroupbox.h> +#include <tqtabwidget.h> +#include <tqtimer.h> #include <kiconloader.h> #include <klocale.h> #include <klistview.h> @@ -48,7 +48,7 @@ void GlobalConfigWidget::saveConfig() GlobalConfig::writeDebugLevel(_showDebug->currentItem()); } -QPixmap GlobalConfigWidget::pixmap() const +TQPixmap GlobalConfigWidget::pixmap() const { KIconLoader loader; return loader.loadIcon("configure", KIcon::Toolbar, KIcon::SizeMedium); @@ -60,7 +60,7 @@ StandaloneConfigWidget::StandaloneConfigWidget() { uint row = 0; - QLabel *label = new QLabel(i18n("Device:"), this); + TQLabel *label = new TQLabel(i18n("Device:"), this); addWidget(label, row,row, 0,0); _device = new DeviceChooser::Button(true, this); addWidget(_device, row,row, 1,1); @@ -85,7 +85,7 @@ void StandaloneConfigWidget::saveConfig() _tools->saveConfig(); } -QPixmap StandaloneConfigWidget::pixmap() const +TQPixmap StandaloneConfigWidget::pixmap() const { KIconLoader loader; return loader.loadIcon("configure", KIcon::Toolbar, KIcon::SizeMedium); @@ -106,15 +106,15 @@ ConfigWidget *ConfigCenter::factory(Type type) return 0; } -ConfigCenter::ConfigCenter(Type showType, QWidget *parent) - : Dialog(IconList, i18n("Configure Piklab"), Ok|Cancel, Cancel, parent, "configure_piklab_dialog", true, false) +ConfigCenter::ConfigCenter(Type showType, TQWidget *tqparent) + : Dialog(IconList, i18n("Configure Piklab"), Ok|Cancel, Cancel, tqparent, "configure_piklab_dialog", true, false) { for (uint i=0; i<Nb_Types; i++) { _configWidgets[i] = factory(Type(i)); _configWidgets[i]->loadConfig(); _pages[i] = addPage(_configWidgets[i]->title(), _configWidgets[i]->header(), _configWidgets[i]->pixmap()); - QVBoxLayout *vbox = new QVBoxLayout(_pages[i]); - _configWidgets[i]->reparent(_pages[i], QPoint(0,0)); + TQVBoxLayout *vbox = new TQVBoxLayout(_pages[i]); + _configWidgets[i]->reparent(_pages[i], TQPoint(0,0)); vbox->addWidget(_configWidgets[i]); } showPage(showType); |