summaryrefslogtreecommitdiffstats
path: root/src/idsuggestionswidget.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-06-29 16:33:55 +0200
committerSlávek Banko <[email protected]>2013-07-04 03:57:45 +0200
commitf2d4b48ad7f6ce4f23c6cbba3e85c67486f922db (patch)
tree0414ba9f0823b98d2a159c11513ddcda84b932cc /src/idsuggestionswidget.cpp
parent5f5e7c5455d52826b0bd50f64fcffb7695ce970d (diff)
downloadkbibtex-f2d4b48ad7f6ce4f23c6cbba3e85c67486f922db.tar.gz
kbibtex-f2d4b48ad7f6ce4f23c6cbba3e85c67486f922db.zip
Initial TDE conversion
Diffstat (limited to 'src/idsuggestionswidget.cpp')
-rw-r--r--src/idsuggestionswidget.cpp24
1 files changed, 12 insertions, 12 deletions
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 );