From f2d4b48ad7f6ce4f23c6cbba3e85c67486f922db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 29 Jun 2013 16:33:55 +0200 Subject: Initial TDE conversion --- src/searchbar.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/searchbar.cpp') diff --git a/src/searchbar.cpp b/src/searchbar.cpp index a77cf51..9e958b2 100644 --- a/src/searchbar.cpp +++ b/src/searchbar.cpp @@ -27,10 +27,10 @@ #include #include #include -#include +#include #include #include -#include +#include #include #include "searchbar.h" @@ -54,7 +54,7 @@ namespace KBibTeX void SearchBar::setFactory( KXMLGUIFactory *factory, KXMLGUIClient *client ) { - KPopupMenu * menu = static_cast( factory -> container( "popup_newelements", client ) ); + TDEPopupMenu * menu = static_cast( factory -> container( "popup_newelements", client ) ); Settings * settings = Settings::self(); m_pushButtonAddElement->setPopup( menu ); m_comboboxFilter->setHistoryItems( settings->editing_FilterHistory ); @@ -66,7 +66,7 @@ namespace KBibTeX if ( settings->editing_UseSpecialFont ) m_comboboxFilter->setFont( settings->editing_SpecialFont ); else - m_comboboxFilter->setFont( KGlobalSettings::generalFont() ); + m_comboboxFilter->setFont( TDEGlobalSettings::generalFont() ); } void SearchBar::setSearch( const TQString&text, BibTeX::Element::FilterType filterType, BibTeX::EntryField::FieldType fieldType ) @@ -84,7 +84,7 @@ namespace KBibTeX void SearchBar::setupGUI() { TQBoxLayout * layout = new TQHBoxLayout( this, 3 /* KDialog::marginHint()*/, KDialog::spacingHint() ); - KIconLoader iconLoader = KIconLoader( "kbibtex" ); + TDEIconLoader iconLoader = TDEIconLoader( "kbibtex" ); m_pushButtonAddElement = new KPushButton( this ); m_pushButtonAddElement->setIconSet( TQIconSet( BarIcon( "add" ) ) ); -- cgit v1.2.1