diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 14:04:47 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 14:07:22 +0900 |
commit | cb5e787fde24bc986f17de4c78b5840f8ed85856 (patch) | |
tree | 3850303789d1016581d3194ea627075c3e0edb5c /amor/amordialog.cpp | |
parent | 6a9f2bb7d4d98953ac416ceb3c5539ddfa931bb8 (diff) | |
download | tdetoys-cb5e787fde24bc986f17de4c78b5840f8ed85856.tar.gz tdetoys-cb5e787fde24bc986f17de4c78b5840f8ed85856.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'amor/amordialog.cpp')
-rw-r--r-- | amor/amordialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/amor/amordialog.cpp b/amor/amordialog.cpp index 53d4d7a..9af3b47 100644 --- a/amor/amordialog.cpp +++ b/amor/amordialog.cpp @@ -57,7 +57,7 @@ AmorDialog::AmorDialog() TQLabel *label = new TQLabel(i18n("Theme:"), themeBox); mThemeListBox = new TQListBox(themeBox); - connect(mThemeListBox,TQT_SIGNAL(highlighted(int)),TQT_SLOT(slotHighlighted(int))); + connect(mThemeListBox,TQ_SIGNAL(highlighted(int)),TQ_SLOT(slotHighlighted(int))); mThemeListBox->setMinimumSize( fontMetrics().maxWidth()*20, fontMetrics().lineSpacing()*6 ); @@ -75,23 +75,23 @@ AmorDialog::AmorDialog() TQSlider *slider = new TQSlider(-40, 40, 5, mConfig.mOffset, TQt::Vertical, offsetBox); - connect(slider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotOffset(int))); + connect(slider, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotOffset(int))); // Always on top TQCheckBox *checkBox = new TQCheckBox(i18n("Always on top"), mainwidget); - connect(checkBox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotOnTop(bool))); + connect(checkBox, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotOnTop(bool))); checkBox->setChecked(mConfig.mOnTop); checkBox = new TQCheckBox(i18n("Show random tips"), mainwidget); - connect(checkBox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotRandomTips(bool))); + connect(checkBox, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotRandomTips(bool))); checkBox->setChecked(mConfig.mTips); // always keep this one after the connect, or the TQPtrList would not be grayed when it should checkBox = new TQCheckBox(i18n("Use a random character"), mainwidget); - connect(checkBox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotRandomTheme(bool))); + connect(checkBox, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotRandomTheme(bool))); checkBox->setChecked(mConfig.mRandomTheme); checkBox = new TQCheckBox(i18n("Allow application tips"), mainwidget); - connect(checkBox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotApplicationTips(bool))); + connect(checkBox, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotApplicationTips(bool))); checkBox->setChecked(mConfig.mAppTips); readThemes(); |