diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:10:05 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:10:05 -0600 |
commit | 74a2067d286867e313f736d6733407586b71195e (patch) | |
tree | 182ea565d6909db1541424e4ffb3168b4b139c21 /konq-plugins/searchbar | |
parent | 081670a12774435ae60cf8eba9226b91d27852b3 (diff) | |
download | tdeaddons-74a2067d286867e313f736d6733407586b71195e.tar.gz tdeaddons-74a2067d286867e313f736d6733407586b71195e.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'konq-plugins/searchbar')
-rw-r--r-- | konq-plugins/searchbar/searchbar.cpp | 4 | ||||
-rw-r--r-- | konq-plugins/searchbar/searchbar.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/konq-plugins/searchbar/searchbar.cpp b/konq-plugins/searchbar/searchbar.cpp index 7e2ed07..dfdc27c 100644 --- a/konq-plugins/searchbar/searchbar.cpp +++ b/konq-plugins/searchbar/searchbar.cpp @@ -88,7 +88,7 @@ SearchBarPlugin::SearchBarPlugin(TQObject *parent, const char *name, TQWhatsThis::add(m_searchCombo, i18n("Search Bar<p>" "Enter a search term. Click on the icon to change search mode or provider.")); - new KAction( i18n( "Focus Searchbar" ), CTRL+Key_S, + new TDEAction( i18n( "Focus Searchbar" ), CTRL+Key_S, this, TQT_SLOT(focusSearchbar()), actionCollection(), "focus_search_bar"); @@ -413,7 +413,7 @@ void SearchBarPlugin::showSelectionMenu() } m_popupMenu->insertSeparator(); - m_googleMenu = new KSelectAction(i18n("Use Google Suggest"), SmallIconSet("ktip"), 0, TQT_TQOBJECT(this), TQT_SLOT(selectGoogleSuggestMode()), TQT_TQOBJECT(m_popupMenu)); + m_googleMenu = new TDESelectAction(i18n("Use Google Suggest"), SmallIconSet("ktip"), 0, TQT_TQOBJECT(this), TQT_SLOT(selectGoogleSuggestMode()), TQT_TQOBJECT(m_popupMenu)); TQStringList google_modes; google_modes << i18n("For Google Only") << i18n("For All Searches") << i18n("Never"); m_googleMenu->setItems(google_modes); diff --git a/konq-plugins/searchbar/searchbar.h b/konq-plugins/searchbar/searchbar.h index a1423f8..6baf33f 100644 --- a/konq-plugins/searchbar/searchbar.h +++ b/konq-plugins/searchbar/searchbar.h @@ -178,7 +178,7 @@ class SearchBarPlugin : public KParts::Plugin SearchBarCombo *m_searchCombo; KWidgetAction *m_searchComboAction; TQPopupMenu *m_popupMenu; - KSelectAction *m_googleMenu; + TDESelectAction *m_googleMenu; TQPixmap m_searchIcon; SearchModes m_searchMode; TQString m_providerName; |