diff options
author | Timothy Pearson <[email protected]> | 2013-02-04 14:09:18 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-04 14:09:18 -0600 |
commit | 0880fe83db61f8121261753f6eef4d7e0fd78a4c (patch) | |
tree | b08e13f5358c0788545820b389aa73055a5fe922 /src/dirdialog.cpp | |
parent | 2dec1ab21eff318618d755b0557a33a1d10af649 (diff) | |
download | soundkonverter-0880fe83db61f8121261753f6eef4d7e0fd78a4c.tar.gz soundkonverter-0880fe83db61f8121261753f6eef4d7e0fd78a4c.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/dirdialog.cpp')
-rwxr-xr-x | src/dirdialog.cpp | 14 |
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()), |