diff options
Diffstat (limited to 'kiten/rad.cpp')
-rw-r--r-- | kiten/rad.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kiten/rad.cpp b/kiten/rad.cpp index 44d2908c..b1dc7e11 100644 --- a/kiten/rad.cpp +++ b/kiten/rad.cpp @@ -27,7 +27,7 @@ #include <tdelocale.h> #include <tdemessagebox.h> #include <kpushbutton.h> -#include <kstandarddirs.h> +#include <tdestandarddirs.h> #include <tqbuttongroup.h> #include <tqcheckbox.h> @@ -226,7 +226,7 @@ RadWidget::RadWidget(Rad *_rad, TQWidget *parent, const char *name) : TQWidget(p TQHBoxLayout *hlayout = new TQHBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint()); TQVBoxLayout *vlayout = new TQVBoxLayout(hlayout, KDialog::spacingHint()); - hotlistGroup = new TQButtonGroup(1,Qt::Horizontal, i18n("Hotlist"), this); + hotlistGroup = new TQButtonGroup(1,TQt::Horizontal, i18n("Hotlist"), this); //hotlistGroup->setRadioButtonExclusive(true); vlayout->addWidget(hotlistGroup); @@ -244,12 +244,12 @@ RadWidget::RadWidget(Rad *_rad, TQWidget *parent, const char *name) : TQWidget(p hotlistGroup->insert(new KPushButton(*hotlist.at(i), hotlistGroup), i); } - connect(hotlistGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(hotlistClicked(int))); + connect(hotlistGroup, TQ_SIGNAL(clicked(int)), TQ_SLOT(hotlistClicked(int))); TQVBoxLayout *layout = new TQVBoxLayout(vlayout, KDialog::spacingHint()); totalStrokes = new TQCheckBox(i18n("Search by total strokes"), this); - connect(totalStrokes, TQT_SIGNAL(clicked()), this, TQT_SLOT(totalClicked())); + connect(totalStrokes, TQ_SIGNAL(clicked()), this, TQ_SLOT(totalClicked())); layout->addWidget(totalStrokes); TQHBoxLayout *strokesLayout = new TQHBoxLayout(layout, KDialog::spacingHint()); @@ -263,11 +263,11 @@ RadWidget::RadWidget(Rad *_rad, TQWidget *parent, const char *name) : TQWidget(p ok = new KPushButton(i18n("&Look Up"), this); ok->setEnabled(false); - connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(apply())); + connect(ok, TQ_SIGNAL(clicked()), TQ_SLOT(apply())); layout->addWidget(ok); cancel = new KPushButton( KStdGuiItem::cancel(), this ); - connect(cancel, TQT_SIGNAL(clicked()), TQT_SLOT(close())); + connect(cancel, TQ_SIGNAL(clicked()), TQ_SLOT(close())); layout->addWidget(cancel); TQVBoxLayout *middlevLayout = new TQVBoxLayout(hlayout, KDialog::spacingHint()); @@ -278,25 +278,25 @@ RadWidget::RadWidget(Rad *_rad, TQWidget *parent, const char *name) : TQWidget(p List = new TDEListBox(this); middlevLayout->addWidget(List); - connect(List, TQT_SIGNAL(executed(TQListBoxItem *)), this, TQT_SLOT(executed(TQListBoxItem *))); - connect(strokesSpin, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(updateList(int))); + connect(List, TQ_SIGNAL(executed(TQListBoxItem *)), this, TQ_SLOT(executed(TQListBoxItem *))); + connect(strokesSpin, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(updateList(int))); TQVBoxLayout *rightvlayout = new TQVBoxLayout(hlayout, KDialog::spacingHint()); selectedList = new TDEListBox(this); rightvlayout->addWidget(selectedList); - connect(selectedList, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(selectionChanged())); + connect(selectedList, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(selectionChanged())); remove = new KPushButton(i18n("&Remove"), this); rightvlayout->addWidget(remove); - connect(remove, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeSelected())); + connect(remove, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeSelected())); remove->setEnabled(false); clear = new KPushButton(KStdGuiItem::clear(), this); rightvlayout->addWidget(clear); - connect(clear, TQT_SIGNAL(clicked()), this, TQT_SLOT(clearSelected())); + connect(clear, TQ_SIGNAL(clicked()), this, TQ_SLOT(clearSelected())); clear->setEnabled(false); - setCaption(kapp->makeStdCaption(i18n("Radical Selector"))); + setCaption(tdeApp->makeStdCaption(i18n("Radical Selector"))); strokesSpin->setValue(config->strokes()); strokesSpin->setFocus(); |