diff options
Diffstat (limited to 'src/qalculateexpressionedit.cpp')
-rw-r--r-- | src/qalculateexpressionedit.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/qalculateexpressionedit.cpp b/src/qalculateexpressionedit.cpp index 0dfc5b9..c834f6e 100644 --- a/src/qalculateexpressionedit.cpp +++ b/src/qalculateexpressionedit.cpp @@ -93,9 +93,9 @@ QalculateExpressionEdit::QalculateExpressionEdit(bool connected_to_main_win, TQW prev_position = 0; pos_timer = startTimer(50); - connect(qalculateCompletionBox, SIGNAL(highlighted(TQListBoxItem*)), this, SLOT(insertCompletion(TQListBoxItem*))); - connect(qalculateCompletionBox, SIGNAL(userCancelled(const TQString&)), this, SLOT(cancelCompletion(const TQString&))); - connect(this, SIGNAL(textChanged(const TQString&)), this, SLOT(onTextChanged(const TQString&))); + connect(qalculateCompletionBox, TQ_SIGNAL(highlighted(TQListBoxItem*)), this, TQ_SLOT(insertCompletion(TQListBoxItem*))); + connect(qalculateCompletionBox, TQ_SIGNAL(userCancelled(const TQString&)), this, TQ_SLOT(cancelCompletion(const TQString&))); + connect(this, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(onTextChanged(const TQString&))); } @@ -145,15 +145,15 @@ TQPopupMenu *QalculateExpressionEdit::createPopupMenu() { TQPopupMenu *menu = KLineEdit::createPopupMenu(); setCompletionObject(qalculateCompletion); menu->insertSeparator(); - if(completionMode() == TDEGlobalSettings::CompletionPopup) menu->insertItem(i18n("Disable Completion"), this, SLOT(disableCompletion())); - else menu->insertItem(i18n("Enable Completion"), this, SLOT(enableCompletion())); + if(completionMode() == TDEGlobalSettings::CompletionPopup) menu->insertItem(i18n("Disable Completion"), this, TQ_SLOT(disableCompletion())); + else menu->insertItem(i18n("Enable Completion"), this, TQ_SLOT(enableCompletion())); if(b_main) { menu->insertSeparator(); mainWin->ActionReadPrecision->plug(menu); mainWin->ActionLimitImplicitMultiplication->plug(menu); mainWin->ActionRPNMode->plug(menu); TQPopupMenu *modes_menu = new TQPopupMenu(menu); - TQObject::connect(modes_menu, SIGNAL(activated(int)), mainWin, SLOT(loadMode(int))); + TQObject::connect(modes_menu, TQ_SIGNAL(activated(int)), mainWin, TQ_SLOT(loadMode(int))); for(size_t i = 0; i < modes.size(); i++) { modes_menu->insertItem(modes[i].name, i, i); } |