summaryrefslogtreecommitdiffstats
path: root/src/dirdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dirdialog.cpp')
-rwxr-xr-xsrc/dirdialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/dirdialog.cpp b/src/dirdialog.cpp
index ad80dfd..2d2dbe9 100755
--- a/src/dirdialog.cpp
+++ b/src/dirdialog.cpp
@@ -19,11 +19,11 @@ DirDialog::DirDialog( Config* config, Mode mode, TQWidget *parent, const char *n
: KDialog( parent, name, modal, f )
{
// create an icon loader object for loading icons
- KIconLoader* iconLoader = new KIconLoader();
+ TDEIconLoader* iconLoader = new TDEIconLoader();
setCaption( i18n("Add folder") );
resize( 400, 235 );
- setIcon( iconLoader->loadIcon("folder_open",KIcon::Small) );
+ setIcon( iconLoader->loadIcon("folder_open",TDEIcon::Small) );
TQGridLayout* grid = new TQGridLayout( this, 4, 1, 11, 6 );
@@ -41,7 +41,7 @@ DirDialog::DirDialog( Config* config, Mode mode, TQWidget *parent, const char *n
lDirectory = new KLineEdit( this, "lDirectory" );
directoryBox->addWidget( lDirectory );
- pDirectory = new KPushButton( iconLoader->loadIcon("folder_open",KIcon::Small), "", this, "pDirectory" );
+ pDirectory = new KPushButton( iconLoader->loadIcon("folder_open",TDEIcon::Small), "", this, "pDirectory" );
directoryBox->addWidget( pDirectory );
connect( pDirectory, TQT_SIGNAL(clicked()),
this, TQT_SLOT(selectDirectoryClicked())
@@ -60,13 +60,13 @@ DirDialog::DirDialog( Config* config, Mode mode, TQWidget *parent, const char *n
TQVBoxLayout* fileTypesButtonsBox = new TQVBoxLayout();
fileTypesBox->addLayout( fileTypesButtonsBox );
- pSelectAll = new KPushButton( iconLoader->loadIcon("font",KIcon::Small), i18n("Select all"), this, "pSelectAll" );
+ pSelectAll = new KPushButton( iconLoader->loadIcon("font",TDEIcon::Small), i18n("Select all"), this, "pSelectAll" );
fileTypesButtonsBox->addWidget( pSelectAll );
connect( pSelectAll, TQT_SIGNAL(clicked()),
this, TQT_SLOT(selectAllClicked())
);
- pSelectNone = new KPushButton( iconLoader->loadIcon("empty",KIcon::Small), i18n("Select none"), this, "pSelectNone" );
+ pSelectNone = new KPushButton( iconLoader->loadIcon("empty",TDEIcon::Small), i18n("Select none"), this, "pSelectNone" );
fileTypesButtonsBox->addWidget( pSelectNone );
connect( pSelectNone, TQT_SIGNAL(clicked()),
this, TQT_SLOT(selectNoneClicked())
@@ -85,7 +85,7 @@ DirDialog::DirDialog( Config* config, Mode mode, TQWidget *parent, const char *n
TQHBoxLayout* buttonBox = new TQHBoxLayout();
grid->addLayout( buttonBox, 2, 0 );
- pOk = new KPushButton( iconLoader->loadIcon("folder_open",KIcon::Small), i18n("Open"), this, "pOk" );
+ pOk = new KPushButton( iconLoader->loadIcon("folder_open",TDEIcon::Small), i18n("Open"), this, "pOk" );
buttonBox->addWidget( pOk );
connect( pOk, TQT_SIGNAL(clicked()),
this, TQT_SLOT(okClicked())
@@ -93,7 +93,7 @@ DirDialog::DirDialog( Config* config, Mode mode, TQWidget *parent, const char *n
buttonBox->addStretch();
- pCancel = new KPushButton( iconLoader->loadIcon("cancel",KIcon::Small),i18n("Cancel"), this, "pCancel" );
+ pCancel = new KPushButton( iconLoader->loadIcon("cancel",TDEIcon::Small),i18n("Cancel"), this, "pCancel" );
pOk->setFocus();
buttonBox->addWidget( pCancel );
connect( pCancel, TQT_SIGNAL(clicked()),