diff options
Diffstat (limited to 'juk/keydialog.cpp')
-rw-r--r-- | juk/keydialog.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/juk/keydialog.cpp b/juk/keydialog.cpp index 2fe429c1..c8d24a5a 100644 --- a/juk/keydialog.cpp +++ b/juk/keydialog.cpp @@ -18,9 +18,9 @@ #include <kconfig.h> #include <klocale.h> -#include <qradiobutton.h> -#include <qvbox.h> -#include <qwhatsthis.h> +#include <tqradiobutton.h> +#include <tqvbox.h> +#include <tqwhatsthis.h> // Table of shortcut keys for each action, key group and three or four button modifier @@ -75,7 +75,7 @@ const KeyDialog::KeyInfo KeyDialog::keyInfo[] = { const uint KeyDialog::keyInfoCount = sizeof(KeyDialog::keyInfo) / sizeof(KeyDialog::keyInfo[0]); KeyDialog::KeyDialog(KGlobalAccel *keys, KActionCollection *actionCollection, - QWidget *parent, const char *name) + TQWidget *parent, const char *name) : KDialogBase(parent, name, true, i18n("Configure Shortcuts"), Default | Ok | Cancel, Ok) { // Read key group from configuration @@ -87,20 +87,20 @@ KeyDialog::KeyDialog(KGlobalAccel *keys, KActionCollection *actionCollection, // Create widgets for key chooser - widget stack used to replace key chooser - QVBox *vbox = new QVBox(this); + TQVBox *vbox = new TQVBox(this); vbox->setSpacing(KDialog::spacingHint()); - m_widgetStack = new QWidgetStack(vbox); + m_widgetStack = new TQWidgetStack(vbox); vbox->setStretchFactor(m_widgetStack, 1); // Create buttons to select key group - m_group = new QHButtonGroup(i18n("Global Shortcuts"), vbox); - new QRadioButton(i18n("&No keys"), m_group); - new QRadioButton(i18n("&Standard keys"), m_group); - new QRadioButton(i18n("&Multimedia keys"), m_group); - connect(m_group, SIGNAL(clicked(int)), this, SLOT(slotKeys(int))); - QWhatsThis::add(m_group, + m_group = new TQHButtonGroup(i18n("Global Shortcuts"), vbox); + new TQRadioButton(i18n("&No keys"), m_group); + new TQRadioButton(i18n("&Standard keys"), m_group); + new TQRadioButton(i18n("&Multimedia keys"), m_group); + connect(m_group, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(slotKeys(int))); + TQWhatsThis::add(m_group, i18n("Here you can select the keys used as global shortcuts to control the player")); // Create the key chooser @@ -127,7 +127,7 @@ void KeyDialog::newDialog(KGlobalAccel *keys, KActionCollection *actionCollectio m_widgetStack->raiseWidget(m_pKeyChooser); m_group->setButton(selectedButton); - connect(this, SIGNAL(defaultClicked()), this, SLOT(slotDefault())); + connect(this, TQT_SIGNAL(defaultClicked()), this, TQT_SLOT(slotDefault())); } int KeyDialog::configure() @@ -157,7 +157,7 @@ void KeyDialog::slotKeys(int group) // Create a new key chooser to show the keys, and delete the old one - QWidget *w = m_widgetStack->visibleWidget(); + TQWidget *w = m_widgetStack->visibleWidget(); newDialog(m_keys, m_actionCollection, group); m_widgetStack->removeWidget(w); delete w; @@ -172,7 +172,7 @@ void KeyDialog::slotDefault() } int KeyDialog::configure(KGlobalAccel *keys, KActionCollection *actionCollection, - QWidget *parent) + TQWidget *parent) { // Create and show dialog - update connections if accepted @@ -183,8 +183,8 @@ int KeyDialog::configure(KGlobalAccel *keys, KActionCollection *actionCollection return retcode; } -void KeyDialog::insert(KGlobalAccel *keys, const QString &action, const QString &label, - const QObject *objSlot, const char *methodSlot) +void KeyDialog::insert(KGlobalAccel *keys, const TQString &action, const TQString &label, + const TQObject *objSlot, const char *methodSlot) { KShortcut def3 = KShortcut::null(); KShortcut def4 = KShortcut::null(); @@ -198,7 +198,7 @@ void KeyDialog::insert(KGlobalAccel *keys, const QString &action, const QString break; } } - keys->insert(action, label, QString::null, def3, def4, objSlot, methodSlot); + keys->insert(action, label, TQString::null, def3, def4, objSlot, methodSlot); } #include "keydialog.moc" |