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/noteedit.cpp | |
parent | bd608b63a8654863e86960e8f2301eac012aa44d (diff) | |
download | basket-5f12b88e2de1496970d74c7b654e8fd9442f3d5c.tar.gz basket-5f12b88e2de1496970d74c7b654e8fd9442f3d5c.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/noteedit.cpp')
-rw-r--r-- | src/noteedit.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/noteedit.cpp b/src/noteedit.cpp index a49ada2..1aa5d6a 100644 --- a/src/noteedit.cpp +++ b/src/noteedit.cpp @@ -551,10 +551,10 @@ LinkEditDialog::LinkEditDialog(LinkContent *contentNote, TQWidget *parent/*, TQK TQWidget *wid = new TQWidget(page); TQHBoxLayout *hLay = new TQHBoxLayout(wid, /*margin=*/0, spacingHint()); - m_icon = new KIconButton(wid); + m_icon = new TDEIconButton(wid); TQLabel *label3 = new TQLabel(m_icon, i18n("&Icon:"), page); KURL filteredURL = NoteFactory::filteredURL(KURL(m_url->lineEdit()->text()));//KURIFilter::self()->filteredURI(KURL(m_url->lineEdit()->text())); - m_icon->setIconType(KIcon::NoGroup, KIcon::MimeType); + m_icon->setIconType(TDEIcon::NoGroup, TDEIcon::MimeType); m_icon->setIconSize(LinkLook::lookForURL(filteredURL)->iconSize()); m_autoIcon = new TQPushButton(i18n("Auto"), wid); // Create before to know size here: /* Icon button: */ @@ -704,9 +704,9 @@ LauncherEditDialog::LauncherEditDialog(LauncherContent *contentNote, TQWidget *p TQWidget *wid = new TQWidget(page); TQHBoxLayout *hLay = new TQHBoxLayout(wid, /*margin=*/0, spacingHint()); - m_icon = new KIconButton(wid); + m_icon = new TDEIconButton(wid); TQLabel *label = new TQLabel(m_icon, i18n("&Icon:"), page); - m_icon->setIconType(KIcon::NoGroup, KIcon::Application); + m_icon->setIconType(TDEIcon::NoGroup, TDEIcon::Application); m_icon->setIconSize(LinkLook::launcherLook->iconSize()); TQPushButton *guessButton = new TQPushButton(i18n("&Guess"), wid); /* Icon button: */ |