diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 03:43:07 +0000 |
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 03:43:07 +0000 |
| commit | 70b9eea2ba01c3691497f49e4c45cb070c16193c (patch) | |
| tree | 9a6df61aa247a27275aad9c5245e419e89c2c640 /kradio3/plugins/gui-docking-menu/docking-configuration.cpp | |
| parent | 998c1384ace4ae4655997c181fa33242148cd0a4 (diff) | |
| download | tderadio-70b9eea2ba01c3691497f49e4c45cb070c16193c.tar.gz tderadio-70b9eea2ba01c3691497f49e4c45cb070c16193c.zip | |
TQt4 port kradio
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kradio@1238952 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kradio3/plugins/gui-docking-menu/docking-configuration.cpp')
| -rw-r--r-- | kradio3/plugins/gui-docking-menu/docking-configuration.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kradio3/plugins/gui-docking-menu/docking-configuration.cpp b/kradio3/plugins/gui-docking-menu/docking-configuration.cpp index 3e32c64..7fbd591 100644 --- a/kradio3/plugins/gui-docking-menu/docking-configuration.cpp +++ b/kradio3/plugins/gui-docking-menu/docking-configuration.cpp @@ -17,42 +17,42 @@ #include "docking-configuration.h" -#include <qcombobox.h> -#include <qlabel.h> -#include <qlayout.h> -#include <qframe.h> +#include <tqcombobox.h> +#include <tqlabel.h> +#include <tqlayout.h> +#include <tqframe.h> #include <klocale.h> using namespace std; -DockingConfiguration::DockingConfiguration (RadioDocking *docking, QWidget *parent) - : StationSelector(parent), +DockingConfiguration::DockingConfiguration (RadioDocking *docking, TQWidget *tqparent) + : StationSelector(tqparent), m_docking(docking), m_disableGUIUpdates(false) { - QHBoxLayout *layout = new QHBoxLayout(); - QHBoxLayout *layout2 = new QHBoxLayout(); + TQHBoxLayout *tqlayout = new TQHBoxLayout(); + TQHBoxLayout *tqlayout2 = new TQHBoxLayout(); - m_labelClickMode = new QLabel(this); - layout->addWidget(m_labelClickMode); + m_labelClickMode = new TQLabel(this); + tqlayout->addWidget(m_labelClickMode); - m_comboClickMode = new QComboBox(this); - layout->addWidget(m_comboClickMode); + m_comboClickMode = new TQComboBox(this); + tqlayout->addWidget(m_comboClickMode); - QSpacerItem *spacer = new QSpacerItem( 20, 2, QSizePolicy::Expanding, QSizePolicy::Minimum); - layout->addItem(spacer); + TQSpacerItem *spacer = new TQSpacerItem( 20, 2, TQSizePolicy::Expanding, TQSizePolicy::Minimum); + tqlayout->addItem(spacer); - QFrame *line = new QFrame(this); - line->setFrameShape ( QFrame::HLine ); - line->setFrameShadow( QFrame::Sunken ); - layout2->addWidget(line); + TQFrame *line = new TQFrame(this); + line->setFrameShape ( TQFrame::HLine ); + line->setFrameShadow( TQFrame::Sunken ); + tqlayout2->addWidget(line); StationSelectorUILayout->expand(2,0); - StationSelectorUILayout->addMultiCellLayout(layout2, 2, 2, 0, 2); - StationSelectorUILayout->addMultiCellLayout(layout, 3, 3, 0, 2); + StationSelectorUILayout->addMultiCellLayout(tqlayout2, 2, 2, 0, 2); + StationSelectorUILayout->addMultiCellLayout(tqlayout, 3, 3, 0, 2); - connect(m_comboClickMode, SIGNAL(activated( int )), this, SLOT(slotSetDirty())); + connect(m_comboClickMode, TQT_SIGNAL(activated( int )), this, TQT_SLOT(slotSetDirty())); languageChange(); slotCancel(); |
