diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:00:34 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:00:34 -0600 |
commit | 5f12b88e2de1496970d74c7b654e8fd9442f3d5c (patch) | |
tree | 95c1f03353b4652c26eba2de64f947ed5809a7b3 /src/notefactory.cpp | |
parent | bd608b63a8654863e86960e8f2301eac012aa44d (diff) | |
download | basket-5f12b88e2de1496970d74c7b654e8fd9442f3d5c.tar.gz basket-5f12b88e2de1496970d74c7b654e8fd9442f3d5c.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/notefactory.cpp')
-rw-r--r-- | src/notefactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notefactory.cpp b/src/notefactory.cpp index ba108eb..468a01c 100644 --- a/src/notefactory.cpp +++ b/src/notefactory.cpp @@ -937,7 +937,7 @@ TQString NoteFactory::iconForCommand(const TQString &command) bool NoteFactory::isIconExist(const TQString &icon) { - return ! kapp->iconLoader()->loadIcon(icon, KIcon::NoGroup, 16, KIcon::DefaultState, 0L, true).isNull(); + return ! kapp->iconLoader()->loadIcon(icon, TDEIcon::NoGroup, 16, TDEIcon::DefaultState, 0L, true).isNull(); } Note* NoteFactory::createEmptyNote(NoteType::Id type, Basket *parent) @@ -986,7 +986,7 @@ Note* NoteFactory::importKMenuLauncher(Basket *parent) Note* NoteFactory::importIcon(Basket *parent) { - TQString iconName = KIconDialog::getIcon( KIcon::Desktop, KIcon::Application, false, Settings::defIconSize() ); + TQString iconName = TDEIconDialog::getIcon( TDEIcon::Desktop, TDEIcon::Application, false, Settings::defIconSize() ); if ( ! iconName.isEmpty() ) { IconSizeDialog dialog(i18n("Import Icon as Image"), i18n("Choose the size of the icon to import as an image:"), iconName, Settings::defIconSize(), 0); dialog.exec(); |