summaryrefslogtreecommitdiffstats
path: root/src/sidebar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sidebar.cpp')
-rw-r--r--src/sidebar.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/sidebar.cpp b/src/sidebar.cpp
index e2202f0..fb7212c 100644
--- a/src/sidebar.cpp
+++ b/src/sidebar.cpp
@@ -26,10 +26,10 @@
#include <ntqtoolbutton.h>
#include <kdebug.h>
-#include <kpopupmenu.h>
-#include <klistview.h>
+#include <tdepopupmenu.h>
+#include <tdelistview.h>
#include <kdialog.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kiconloader.h>
#include <settings.h>
@@ -61,8 +61,8 @@ namespace KBibTeX
if ( settings->editing_UseSpecialFont )
m_listAvailableItems->setFont( settings->editing_SpecialFont );
else
- m_listAvailableItems->setFont( KGlobalSettings::generalFont() );
- m_listAvailableItems->header() ->setFont( KGlobalSettings::generalFont() );
+ m_listAvailableItems->setFont( TDEGlobalSettings::generalFont() );
+ m_listAvailableItems->header() ->setFont( TDEGlobalSettings::generalFont() );
}
void SideBar::refreshLists( BibTeX::File *bibtexFile )
@@ -107,7 +107,7 @@ namespace KBibTeX
m_buttonToggleShowAll = new TQToolButton( this );
layout->addWidget( m_buttonToggleShowAll, 0, 0 );
- TQIconSet showAllPixmap = KGlobal::iconLoader() ->loadIconSet( "taskbar", KIcon::Small );
+ TQIconSet showAllPixmap = TDEGlobal::iconLoader() ->loadIconSet( "taskbar", TDEIcon::Small );
m_buttonToggleShowAll->setIconSet( showAllPixmap );
m_buttonToggleShowAll->setToggleButton( TRUE );
TQToolTip::add( m_buttonToggleShowAll, i18n( "Toggle between showing all fields or only important fields" ) );
@@ -118,12 +118,12 @@ namespace KBibTeX
m_buttonToggleMultiSelect = new TQToolButton( this );
layout->addWidget( m_buttonToggleMultiSelect, 0, 2 );
- showAllPixmap = KGlobal::iconLoader() ->loadIconSet( "planner", KIcon::Small );
+ showAllPixmap = TDEGlobal::iconLoader() ->loadIconSet( "planner", TDEIcon::Small );
m_buttonToggleMultiSelect->setIconSet( showAllPixmap );
m_buttonToggleMultiSelect->setToggleButton( TRUE );
TQToolTip::add( m_buttonToggleMultiSelect, i18n( "Toggle between selecting only one item or multiple items (AND-connected in search)" ) );
- m_listAvailableItems = new KListView( this );
+ m_listAvailableItems = new TDEListView( this );
m_listAvailableItems->addColumn( i18n( "#" ) );
m_listAvailableItems->addColumn( i18n( "Items" ) );
m_listAvailableItems->setAllColumnsShowFocus( TRUE );
@@ -131,7 +131,7 @@ namespace KBibTeX
m_listAvailableItems->setSorting( 1 );
layout->addMultiCellWidget( m_listAvailableItems, 1, 1, 0, 2 );
- m_popupMenu = new KPopupMenu( m_listAvailableItems );
+ m_popupMenu = new TDEPopupMenu( m_listAvailableItems );
m_popupMenu->insertItem( i18n( "Rename all occurrences" ), this, SLOT( startRenaming() ) );
connect( m_listAvailableItems, SIGNAL( selectionChanged() ), this, SLOT( prepareSearch() ) );