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/src/plugin_configuration_dialog.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/src/plugin_configuration_dialog.cpp')
-rw-r--r-- | kradio3/src/plugin_configuration_dialog.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kradio3/src/plugin_configuration_dialog.cpp b/kradio3/src/plugin_configuration_dialog.cpp index d5f4568..a20edfd 100644 --- a/kradio3/src/plugin_configuration_dialog.cpp +++ b/kradio3/src/plugin_configuration_dialog.cpp @@ -20,12 +20,12 @@ #include <klocale.h> PluginConfigurationDialog::PluginConfigurationDialog( - int dialogFace, const QString &caption, + int dialogFace, const TQString &caption, int buttonMask, ButtonCode defaultButton, - QWidget *parent, const char *name, + TQWidget *tqparent, const char *name, bool modal, bool separator) : KDialogBase(dialogFace, caption, buttonMask, defaultButton, - parent, name, modal, separator), + tqparent, name, modal, separator), WidgetPluginBase (name, i18n("Configuration Dialog")), m_Caption(caption) { @@ -36,13 +36,13 @@ PluginConfigurationDialog::PluginConfigurationDialog( void PluginConfigurationDialog::saveState (KConfig *c) const { - c->setGroup(QString("config-dialog-") + WidgetPluginBase::name()); + c->setGroup(TQString("config-dialog-") + WidgetPluginBase::name()); WidgetPluginBase::saveState(c); } void PluginConfigurationDialog::restoreState (KConfig *c) { - c->setGroup(QString("config-dialog-") + WidgetPluginBase::name()); + c->setGroup(TQString("config-dialog-") + WidgetPluginBase::name()); WidgetPluginBase::restoreState(c, true); } @@ -82,17 +82,17 @@ void PluginConfigurationDialog::hide() } -// QWidget overrides +// TQWidget overrides -void PluginConfigurationDialog::showEvent(QShowEvent *e) +void PluginConfigurationDialog::showEvent(TQShowEvent *e) { KDialogBase::showEvent(e); - QWidget::setCaption(m_Caption); + TQWidget::setCaption(m_Caption); WidgetPluginBase::pShowEvent(e); } -void PluginConfigurationDialog::hideEvent(QHideEvent *e) +void PluginConfigurationDialog::hideEvent(TQHideEvent *e) { KDialogBase::hideEvent(e); WidgetPluginBase::pHideEvent(e); |