diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:35:25 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:35:25 +0900 |
commit | 7e9d8ea45280ad6657796da9536ccf6218111f22 (patch) | |
tree | 67d57c480b89c5967466e39bf60f7e4f05434f15 /kicker-applets/math | |
parent | 1ecb90ecaf66e1cc8ddeacad21e71640477d9767 (diff) | |
download | tdeaddons-7e9d8ea45280ad6657796da9536ccf6218111f22.tar.gz tdeaddons-7e9d8ea45280ad6657796da9536ccf6218111f22.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kicker-applets/math')
-rw-r--r-- | kicker-applets/math/mathapplet.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kicker-applets/math/mathapplet.cpp b/kicker-applets/math/mathapplet.cpp index 253ba78..08c534f 100644 --- a/kicker-applets/math/mathapplet.cpp +++ b/kicker-applets/math/mathapplet.cpp @@ -77,15 +77,15 @@ MathApplet::MathApplet(const TQString& configFile, Type type, int actions, f = _btn->font(); f.setPixelSize(12); _btn->setFont(f); - connect(_btn, TQT_SIGNAL(clicked()), TQT_SLOT(popup_combo())); + connect(_btn, TQ_SIGNAL(clicked()), TQ_SLOT(popup_combo())); // setup history combo _input = new KHistoryCombo(this); _input->setFocus(); _input->clearEdit(); watchForFocus(_input->lineEdit()); - connect(_input, TQT_SIGNAL(activated(const TQString&)), - TQT_SLOT(evaluate(const TQString&))); + connect(_input, TQ_SIGNAL(activated(const TQString&)), + TQ_SLOT(evaluate(const TQString&))); initContextMenu(); useDegrees(); @@ -112,8 +112,8 @@ void MathApplet::initContextMenu() { mContextMenu = new TDEPopupMenu(this); mContextMenu->setCheckable(true); - mContextMenu->insertItem(i18n("Use &Degrees"), this, TQT_SLOT(useDegrees()), 0, 0, 0); - mContextMenu->insertItem(i18n("Use &Radians"), this, TQT_SLOT(useRadians()), 0, 1, 1); + mContextMenu->insertItem(i18n("Use &Degrees"), this, TQ_SLOT(useDegrees()), 0, 0, 0); + mContextMenu->insertItem(i18n("Use &Radians"), this, TQ_SLOT(useRadians()), 0, 1, 1); setCustomMenu(mContextMenu); } |