From f2d4b48ad7f6ce4f23c6cbba3e85c67486f922db Mon Sep 17 00:00:00 2001
From: Slávek Banko <slavek.banko@axis.cz>
Date: Sat, 29 Jun 2013 16:33:55 +0200
Subject: Initial TDE conversion

---
 src/idsuggestionswidget.cpp | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

(limited to 'src/idsuggestionswidget.cpp')

diff --git a/src/idsuggestionswidget.cpp b/src/idsuggestionswidget.cpp
index 5faaff9..1bde3f0 100644
--- a/src/idsuggestionswidget.cpp
+++ b/src/idsuggestionswidget.cpp
@@ -24,14 +24,14 @@
 #include <ntqobjectlist.h>
 #include <ntqscrollview.h>
 
-#include <kglobalsettings.h>
+#include <tdeglobalsettings.h>
 #include <klineedit.h>
-#include <kpopupmenu.h>
+#include <tdepopupmenu.h>
 #include <kcombobox.h>
 #include <kpushbutton.h>
 #include <kdialogbase.h>
 #include <kiconloader.h>
-#include <klocale.h>
+#include <tdelocale.h>
 
 #include <idsuggestions.h>
 #include <fileimporter.h>
@@ -117,8 +117,8 @@ namespace KBibTeX
         TQFont labelFont( label->font() );
         labelFont.setBold( TRUE );
         label->setFont( labelFont );
-        label->setBackgroundColor( KGlobalSettings::highlightColor() );
-        label->setPaletteForegroundColor( KGlobalSettings::highlightedTextColor() );
+        label->setBackgroundColor( TDEGlobalSettings::highlightColor() );
+        label->setPaletteForegroundColor( TDEGlobalSettings::highlightedTextColor() );
         label->setAlignment( TQt::AlignHCenter | TQt::AlignVCenter );
         layout->addMultiCellWidget( label, 0, 0, 0, 2 );
 
@@ -206,8 +206,8 @@ namespace KBibTeX
         TQFont labelFont( label->font() );
         labelFont.setBold( TRUE );
         label->setFont( labelFont );
-        label->setBackgroundColor( KGlobalSettings::highlightColor() );
-        label->setPaletteForegroundColor( KGlobalSettings::highlightedTextColor() );
+        label->setBackgroundColor( TDEGlobalSettings::highlightColor() );
+        label->setPaletteForegroundColor( TDEGlobalSettings::highlightedTextColor() );
         label->setAlignment( TQt::AlignHCenter | TQt::AlignVCenter );
         layout->addMultiCellWidget( label, 0, 0, 0, 2 );
 
@@ -281,8 +281,8 @@ namespace KBibTeX
         TQFont labelFont( label->font() );
         labelFont.setBold( TRUE );
         label->setFont( labelFont );
-        label->setBackgroundColor( KGlobalSettings::highlightColor() );
-        label->setPaletteForegroundColor( KGlobalSettings::highlightedTextColor() );
+        label->setBackgroundColor( TDEGlobalSettings::highlightColor() );
+        label->setPaletteForegroundColor( TDEGlobalSettings::highlightedTextColor() );
         label->setAlignment( TQt::AlignHCenter | TQt::AlignVCenter );
         layout->addMultiCellWidget( label, 0, 0, 0, 2 );
 
@@ -316,8 +316,8 @@ namespace KBibTeX
         TQFont labelFont( label->font() );
         labelFont.setBold( TRUE );
         label->setFont( labelFont );
-        label->setBackgroundColor( KGlobalSettings::highlightColor() );
-        label->setPaletteForegroundColor( KGlobalSettings::highlightedTextColor() );
+        label->setBackgroundColor( TDEGlobalSettings::highlightColor() );
+        label->setPaletteForegroundColor( TDEGlobalSettings::highlightedTextColor() );
         label->setAlignment( TQt::AlignHCenter | TQt::AlignVCenter );
         layout->addMultiCellWidget( label, 0, 0, 0, 2 );
 
@@ -479,7 +479,7 @@ namespace KBibTeX
         TQVBoxLayout *listLayout = new TQVBoxLayout( m_listOfComponents, 0, KDialog::spacingHint() );
         listLayout->setAutoAdd( TRUE );
 
-        KPopupMenu *addMenu = new KPopupMenu( m_pushButtonAdd );
+        TDEPopupMenu *addMenu = new TDEPopupMenu( m_pushButtonAdd );
         addMenu->insertItem( i18n( "Author" ), 1 );
         addMenu->insertItem( i18n( "Year" ), 2 );
         addMenu->insertItem( i18n( "Title" ), 3 );
-- 
cgit v1.2.3