diff options
author | Michele Calgaro <[email protected]> | 2024-01-11 10:35:25 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-13 20:23:16 +0900 |
commit | e234565531cd8c11949cc6aecf16179e75312458 (patch) | |
tree | 90b0cb6c9f6c2a04712bbfb73b531275d4f63976 /kicker-applets/math | |
parent | be3456c5d953fb877340a51b2ef699be6b3c7c02 (diff) | |
download | tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.tar.gz tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 7e9d8ea45280ad6657796da9536ccf6218111f22)
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); } |