diff options
Diffstat (limited to 'konversation/src/searchbar.cpp')
-rw-r--r-- | konversation/src/searchbar.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/konversation/src/searchbar.cpp b/konversation/src/searchbar.cpp index d4f060c..3305783 100644 --- a/konversation/src/searchbar.cpp +++ b/konversation/src/searchbar.cpp @@ -55,22 +55,22 @@ SearchBar::SearchBar(TQWidget* parent) m_timer = new TQTimer(this); TQAccel* accel = new TQAccel(this); - accel->connectItem( accel->insertItem(TQt::Key_Escape), this, TQT_SLOT(hide())); + accel->connectItem( accel->insertItem(TQt::Key_Escape), this, TQ_SLOT(hide())); - connect(m_timer, TQT_SIGNAL(timeout()), TQT_SLOT(slotFind())); - connect(m_searchEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotTextChanged())); - connect(m_searchEdit, TQT_SIGNAL(returnPressed()), TQT_SLOT(slotFindNext())); - connect(m_findNextButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotFindNext())); - connect(m_findPreviousButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotFindPrevious())); - connect(m_closeButton, TQT_SIGNAL(clicked()), TQT_SLOT(hide())); - connect(m_optionsButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(showOptionsMenu())); + connect(m_timer, TQ_SIGNAL(timeout()), TQ_SLOT(slotFind())); + connect(m_searchEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotTextChanged())); + connect(m_searchEdit, TQ_SIGNAL(returnPressed()), TQ_SLOT(slotFindNext())); + connect(m_findNextButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotFindNext())); + connect(m_findPreviousButton, TQ_SIGNAL(clicked()), TQ_SLOT(slotFindPrevious())); + connect(m_closeButton, TQ_SIGNAL(clicked()), TQ_SLOT(hide())); + connect(m_optionsButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(showOptionsMenu())); m_optionsMenu = new TQPopupMenu(m_optionsButton, "options_menu"); m_optionsMenu->setCheckable(true); - m_optionsMenu->insertItem(i18n("Find Forward"), this, TQT_SLOT(toggleSearchFoward()), 0, SEARCH_FORWARD_MENU); - m_optionsMenu->insertItem(i18n("Case Sensitive"), this, TQT_SLOT(toggleMatchCase()), 0, MATCH_CASE_MENU); - m_optionsMenu->insertItem(i18n("Whole Words Only"), this, TQT_SLOT(toggleWholeWords()), 0, WHOLE_WORDS_ONLY_MENU); - m_optionsMenu->insertItem(i18n("From Cursor"), this, TQT_SLOT(toggleFromCursor()), 0, FROM_CURSOR_MENU); + m_optionsMenu->insertItem(i18n("Find Forward"), this, TQ_SLOT(toggleSearchFoward()), 0, SEARCH_FORWARD_MENU); + m_optionsMenu->insertItem(i18n("Case Sensitive"), this, TQ_SLOT(toggleMatchCase()), 0, MATCH_CASE_MENU); + m_optionsMenu->insertItem(i18n("Whole Words Only"), this, TQ_SLOT(toggleWholeWords()), 0, WHOLE_WORDS_ONLY_MENU); + m_optionsMenu->insertItem(i18n("From Cursor"), this, TQ_SLOT(toggleFromCursor()), 0, FROM_CURSOR_MENU); m_optionsButton->setPopup(m_optionsMenu); } |