summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/gui-standard-display/radioview-configuration.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 03:43:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 03:43:07 +0000
commit70b9eea2ba01c3691497f49e4c45cb070c16193c (patch)
tree9a6df61aa247a27275aad9c5245e419e89c2c640 /kradio3/plugins/gui-standard-display/radioview-configuration.cpp
parent998c1384ace4ae4655997c181fa33242148cd0a4 (diff)
downloadtderadio-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-standard-display/radioview-configuration.cpp')
-rw-r--r--kradio3/plugins/gui-standard-display/radioview-configuration.cpp74
1 files changed, 37 insertions, 37 deletions
diff --git a/kradio3/plugins/gui-standard-display/radioview-configuration.cpp b/kradio3/plugins/gui-standard-display/radioview-configuration.cpp
index 9a22313..f8349c3 100644
--- a/kradio3/plugins/gui-standard-display/radioview-configuration.cpp
+++ b/kradio3/plugins/gui-standard-display/radioview-configuration.cpp
@@ -17,8 +17,8 @@
#include "radioview-configuration.h"
-RadioViewConfiguration::RadioViewConfiguration(QWidget *parent)
- : QTabWidget (parent),
+RadioViewConfiguration::RadioViewConfiguration(TQWidget *tqparent)
+ : TQTabWidget (tqparent),
m_dirty(true)
{
}
@@ -28,66 +28,66 @@ RadioViewConfiguration::~RadioViewConfiguration()
}
-void RadioViewConfiguration::addTab (QWidget *child, const QString &label)
+void RadioViewConfiguration::addTab (TQWidget *child, const TQString &label)
{
- QTabWidget::addTab(child, label);
- QObject::connect(this, SIGNAL(sigOK()), child, SLOT(slotOK()));
- QObject::connect(this, SIGNAL(sigCancel()), child, SLOT(slotCancel()));
- QObject::connect(child, SIGNAL(sigDirty()), this, SLOT(slotSetDirty()));
+ TQTabWidget::addTab(child, label);
+ TQObject::connect(this, TQT_SIGNAL(sigOK()), child, TQT_SLOT(slotOK()));
+ TQObject::connect(this, TQT_SIGNAL(sigCancel()), child, TQT_SLOT(slotCancel()));
+ TQObject::connect(child, TQT_SIGNAL(sigDirty()), this, TQT_SLOT(slotSetDirty()));
}
-void RadioViewConfiguration::addTab (QWidget *child, const QIconSet &iconset, const QString &label)
+void RadioViewConfiguration::addTab (TQWidget *child, const TQIconSet &iconset, const TQString &label)
{
- QTabWidget::addTab(child, iconset, label);
- QObject::connect(this, SIGNAL(sigOK()), child, SLOT(slotOK()));
- QObject::connect(this, SIGNAL(sigCancel()), child, SLOT(slotCancel()));
- QObject::connect(child, SIGNAL(sigDirty()), this, SLOT(slotSetDirty()));
+ TQTabWidget::addTab(child, iconset, label);
+ TQObject::connect(this, TQT_SIGNAL(sigOK()), child, TQT_SLOT(slotOK()));
+ TQObject::connect(this, TQT_SIGNAL(sigCancel()), child, TQT_SLOT(slotCancel()));
+ TQObject::connect(child, TQT_SIGNAL(sigDirty()), this, TQT_SLOT(slotSetDirty()));
}
-void RadioViewConfiguration::addTab (QWidget *child, QTab *tab)
+void RadioViewConfiguration::addTab (TQWidget *child, TQTab *tab)
{
- QTabWidget::addTab(child, tab);
- QObject::connect(this, SIGNAL(sigOK()), child, SLOT(slotOK()));
- QObject::connect(this, SIGNAL(sigCancel()), child, SLOT(slotCancel()));
- QObject::connect(child, SIGNAL(sigDirty()), this, SLOT(slotSetDirty()));
+ TQTabWidget::addTab(child, tab);
+ TQObject::connect(this, TQT_SIGNAL(sigOK()), child, TQT_SLOT(slotOK()));
+ TQObject::connect(this, TQT_SIGNAL(sigCancel()), child, TQT_SLOT(slotCancel()));
+ TQObject::connect(child, TQT_SIGNAL(sigDirty()), this, TQT_SLOT(slotSetDirty()));
}
-void RadioViewConfiguration::insertTab (QWidget *child, const QString &label, int index)
+void RadioViewConfiguration::insertTab (TQWidget *child, const TQString &label, int index)
{
- QTabWidget::insertTab(child, label, index);
- QObject::connect(this, SIGNAL(sigOK()), child, SLOT(slotOK()));
- QObject::connect(this, SIGNAL(sigCancel()), child, SLOT(slotCancel()));
- QObject::connect(child, SIGNAL(sigDirty()), this, SLOT(slotSetDirty()));
+ TQTabWidget::insertTab(child, label, index);
+ TQObject::connect(this, TQT_SIGNAL(sigOK()), child, TQT_SLOT(slotOK()));
+ TQObject::connect(this, TQT_SIGNAL(sigCancel()), child, TQT_SLOT(slotCancel()));
+ TQObject::connect(child, TQT_SIGNAL(sigDirty()), this, TQT_SLOT(slotSetDirty()));
}
-void RadioViewConfiguration::insertTab (QWidget *child, const QIconSet &iconset, const QString &label, int index)
+void RadioViewConfiguration::insertTab (TQWidget *child, const TQIconSet &iconset, const TQString &label, int index)
{
- QTabWidget::insertTab(child, iconset, label, index);
- QObject::connect(this, SIGNAL(sigOK()), child, SLOT(slotOK()));
- QObject::connect(this, SIGNAL(sigCancel()), child, SLOT(slotCancel()));
- QObject::connect(child, SIGNAL(sigDirty()), this, SLOT(slotSetDirty()));
+ TQTabWidget::insertTab(child, iconset, label, index);
+ TQObject::connect(this, TQT_SIGNAL(sigOK()), child, TQT_SLOT(slotOK()));
+ TQObject::connect(this, TQT_SIGNAL(sigCancel()), child, TQT_SLOT(slotCancel()));
+ TQObject::connect(child, TQT_SIGNAL(sigDirty()), this, TQT_SLOT(slotSetDirty()));
}
-void RadioViewConfiguration::insertTab (QWidget *child, QTab *tab, int index)
+void RadioViewConfiguration::insertTab (TQWidget *child, TQTab *tab, int index)
{
- QTabWidget::insertTab(child, tab, index);
- QObject::connect(this, SIGNAL(sigOK()), child, SLOT(slotOK()));
- QObject::connect(this, SIGNAL(sigCancel()), child, SLOT(slotCancel()));
- QObject::connect(child, SIGNAL(sigDirty()), this, SLOT(slotSetDirty()));
+ TQTabWidget::insertTab(child, tab, index);
+ TQObject::connect(this, TQT_SIGNAL(sigOK()), child, TQT_SLOT(slotOK()));
+ TQObject::connect(this, TQT_SIGNAL(sigCancel()), child, TQT_SLOT(slotCancel()));
+ TQObject::connect(child, TQT_SIGNAL(sigDirty()), this, TQT_SLOT(slotSetDirty()));
}
-void RadioViewConfiguration::removePage(QWidget *w)
+void RadioViewConfiguration::removePage(TQWidget *w)
{
- QObject::disconnect(this, SIGNAL(sigOK()), w, SLOT(slotOK()));
- QObject::disconnect(this, SIGNAL(sigCancel()), w, SLOT(slotCancel()));
- QObject::disconnect(w, SIGNAL(sigDirty()), this, SLOT(slotSetDirty()));
- QTabWidget::removePage(w);
+ TQObject::disconnect(this, TQT_SIGNAL(sigOK()), w, TQT_SLOT(slotOK()));
+ TQObject::disconnect(this, TQT_SIGNAL(sigCancel()), w, TQT_SLOT(slotCancel()));
+ TQObject::disconnect(w, TQT_SIGNAL(sigDirty()), this, TQT_SLOT(slotSetDirty()));
+ TQTabWidget::removePage(w);
}