summaryrefslogtreecommitdiffstats
path: root/src/searchbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/searchbar.cpp')
-rw-r--r--src/searchbar.cpp10
1 files changed, 5 insertions, 5 deletions
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 <kcombobox.h>
#include <kpushbutton.h>
#include <kcombobox.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdialog.h>
#include <kiconloader.h>
-#include <kpopupmenu.h>
+#include <tdepopupmenu.h>
#include <settings.h>
#include "searchbar.h"
@@ -54,7 +54,7 @@ namespace KBibTeX
void SearchBar::setFactory( KXMLGUIFactory *factory, KXMLGUIClient *client )
{
- KPopupMenu * menu = static_cast<KPopupMenu*>( factory -> container( "popup_newelements", client ) );
+ TDEPopupMenu * menu = static_cast<TDEPopupMenu*>( 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" ) ) );