summaryrefslogtreecommitdiffstats
path: root/krecipes/src/dialogs/selectrecipedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krecipes/src/dialogs/selectrecipedialog.cpp')
-rw-r--r--krecipes/src/dialogs/selectrecipedialog.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/krecipes/src/dialogs/selectrecipedialog.cpp b/krecipes/src/dialogs/selectrecipedialog.cpp
index b738c3b..0b63d04 100644
--- a/krecipes/src/dialogs/selectrecipedialog.cpp
+++ b/krecipes/src/dialogs/selectrecipedialog.cpp
@@ -16,13 +16,13 @@
#include <ntqtabwidget.h>
#include <ntqtooltip.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdebug.h>
-#include <kapplication.h>
+#include <tdeapplication.h>
#include <kprogress.h>
-#include <kmessagebox.h>
-#include <kglobal.h>
-#include <kconfig.h>
+#include <tdemessagebox.h>
+#include <tdeglobal.h>
+#include <tdeconfig.h>
#include <kcursor.h>
#include <kiconloader.h>
@@ -66,9 +66,9 @@ SelectRecipeDialog::SelectRecipeDialog( TQWidget *parent, RecipeDB* db )
searchBar->setSpacing( 7 );
layout->addWidget( searchBar, 1, 1 );
- KIconLoader *il = new KIconLoader;
+ TDEIconLoader *il = new TDEIconLoader;
TQPushButton *clearSearchButton = new TQPushButton( searchBar );
- clearSearchButton->setPixmap( il->loadIcon( "locationbar_erase", KIcon::NoGroup, 16 ) );
+ clearSearchButton->setPixmap( il->loadIcon( "locationbar_erase", TDEIcon::NoGroup, 16 ) );
searchLabel = new TQLabel( searchBar );
searchLabel->setText( i18n( "Search:" ) );
@@ -97,18 +97,18 @@ SelectRecipeDialog::SelectRecipeDialog( TQWidget *parent, RecipeDB* db )
openButton = new TQPushButton( buttonBar );
openButton->setText( i18n( "Open Recipe(s)" ) );
openButton->setDisabled( true );
- TQPixmap pm = il->loadIcon( "ok", KIcon::NoGroup, 16 );
+ TQPixmap pm = il->loadIcon( "ok", TDEIcon::NoGroup, 16 );
openButton->setIconSet( pm );
editButton = new TQPushButton( buttonBar );
editButton->setText( i18n( "Edit Recipe" ) );
editButton->setDisabled( true );
- pm = il->loadIcon( "edit", KIcon::NoGroup, 16 );
+ pm = il->loadIcon( "edit", TDEIcon::NoGroup, 16 );
editButton->setIconSet( pm );
removeButton = new TQPushButton( buttonBar );
removeButton->setText( i18n( "Delete" ) );
removeButton->setDisabled( true );
removeButton->setMaximumWidth( 100 );
- pm = il->loadIcon( "editshred", KIcon::NoGroup, 16 );
+ pm = il->loadIcon( "editshred", TDEIcon::NoGroup, 16 );
removeButton->setIconSet( pm );
tabWidget->insertTab( basicSearchTab, i18n( "Basic" ) );
@@ -134,7 +134,7 @@ SelectRecipeDialog::SelectRecipeDialog( TQWidget *parent, RecipeDB* db )
connect( clearSearchButton, SIGNAL( clicked() ), this, SLOT( clearSearch() ) );
- KConfig * config = kapp->config();
+ TDEConfig * config = kapp->config();
config->setGroup( "Performance" );
if ( config->readBoolEntry("SearchAsYouType",true) ) {
connect( searchBox, SIGNAL( returnPressed( const TQString& ) ), recipeFilter, SLOT( filter( const TQString& ) ) );