diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:19:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:19:44 -0600 |
commit | 799fae5feea55e95876c3722c79fd7dabadd2cd6 (patch) | |
tree | 5fbd41b26e477d4bc6b5aa7ef1aebcc714127def /buildtools/autotools | |
parent | 9d6a3e0894983b55f072a5d70dbe407718c6f788 (diff) | |
download | tdevelop-799fae5feea55e95876c3722c79fd7dabadd2cd6.tar.gz tdevelop-799fae5feea55e95876c3722c79fd7dabadd2cd6.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'buildtools/autotools')
-rw-r--r-- | buildtools/autotools/addapplicationdlg.cpp | 6 | ||||
-rw-r--r-- | buildtools/autotools/addexistingdirectoriesdlg.cpp | 2 | ||||
-rw-r--r-- | buildtools/autotools/addexistingfilesdlg.cpp | 2 | ||||
-rw-r--r-- | buildtools/autotools/addicondlg.cpp | 2 | ||||
-rw-r--r-- | buildtools/autotools/addservicedlg.cpp | 6 |
5 files changed, 9 insertions, 9 deletions
diff --git a/buildtools/autotools/addapplicationdlg.cpp b/buildtools/autotools/addapplicationdlg.cpp index e6bdc20d..d7c6e3e6 100644 --- a/buildtools/autotools/addapplicationdlg.cpp +++ b/buildtools/autotools/addapplicationdlg.cpp @@ -73,11 +73,11 @@ AddApplicationDialog::~AddApplicationDialog() void AddApplicationDialog::iconClicked() { - KIconLoader *loader = AutoProjectFactory::instance()->iconLoader(); - TQString name = KIconDialog::getIcon(KIcon::Desktop); + TDEIconLoader *loader = AutoProjectFactory::instance()->iconLoader(); + TQString name = TDEIconDialog::getIcon(TDEIcon::Desktop); if (!name.isNull()) { iconName = name; - icon_button->setPixmap(loader->loadIcon(name, KIcon::Desktop)); + icon_button->setPixmap(loader->loadIcon(name, TDEIcon::Desktop)); } } diff --git a/buildtools/autotools/addexistingdirectoriesdlg.cpp b/buildtools/autotools/addexistingdirectoriesdlg.cpp index d9168924..1fe346aa 100644 --- a/buildtools/autotools/addexistingdirectoriesdlg.cpp +++ b/buildtools/autotools/addexistingdirectoriesdlg.cpp @@ -84,7 +84,7 @@ void AddExistingDirectoriesDialog::init() { progressBar->hide(); - importView->setMode ( KIconView::Select ); + importView->setMode ( TDEIconView::Select ); importView->setItemsMovable ( false ); connect ( okButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotOk () ) ); diff --git a/buildtools/autotools/addexistingfilesdlg.cpp b/buildtools/autotools/addexistingfilesdlg.cpp index 0c3796d9..5e6be576 100644 --- a/buildtools/autotools/addexistingfilesdlg.cpp +++ b/buildtools/autotools/addexistingfilesdlg.cpp @@ -125,7 +125,7 @@ void AddExistingFilesDialog::init() { progressBar->hide(); - importView->setMode ( KIconView::Select ); + importView->setMode ( TDEIconView::Select ); importView->setItemsMovable ( false ); connect ( okButton, TQT_SIGNAL ( clicked () ), this, TQT_SLOT ( slotOk () ) ); diff --git a/buildtools/autotools/addicondlg.cpp b/buildtools/autotools/addicondlg.cpp index 2f1ab292..965d3b4e 100644 --- a/buildtools/autotools/addicondlg.cpp +++ b/buildtools/autotools/addicondlg.cpp @@ -88,7 +88,7 @@ void AddIconDialog::accept() TQString destpath = destdir + "/" + name; TQString size = size_combo->currentText(); - TQString unknown = KIconTheme::defaultThemeName()+ "/" + size + "x" + size + "/mimetypes/unknown.png"; + TQString unknown = TDEIconTheme::defaultThemeName()+ "/" + size + "x" + size + "/mimetypes/unknown.png"; TQString templateFileName = locate("icon", unknown); kdDebug(9020) << "Unknown: " << unknown << ", template: " << templateFileName << endl; diff --git a/buildtools/autotools/addservicedlg.cpp b/buildtools/autotools/addservicedlg.cpp index 7576741e..e8e47c98 100644 --- a/buildtools/autotools/addservicedlg.cpp +++ b/buildtools/autotools/addservicedlg.cpp @@ -93,11 +93,11 @@ void AddServiceDialog::updateProperties() void AddServiceDialog::iconClicked() { - KIconLoader *loader = AutoProjectFactory::instance()->iconLoader(); - TQString name = KIconDialog::getIcon(KIcon::Desktop); + TDEIconLoader *loader = AutoProjectFactory::instance()->iconLoader(); + TQString name = TDEIconDialog::getIcon(TDEIcon::Desktop); if (!name.isNull()) { iconName = name; - icon_button->setPixmap(loader->loadIcon(name, KIcon::Desktop)); + icon_button->setPixmap(loader->loadIcon(name, TDEIcon::Desktop)); } } |