From f51496578b660aa81bd58812968d674bf940199c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:04:14 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- src/notes.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/notes.cpp') diff --git a/src/notes.cpp b/src/notes.cpp index 0b80afc..3a6d012 100644 --- a/src/notes.cpp +++ b/src/notes.cpp @@ -58,7 +58,7 @@ TQString TNoteLink::text(int fmt) const TQPixmap TNoteLink::icon() const { return TDEGlobal::iconLoader()->loadIcon(KMimeType::iconForURL(KURL(link)), - KIcon::Small); + TDEIcon::Small); } void TNoteLink::open() const @@ -85,10 +85,10 @@ bool TNoteLink::isLocalReference() const TNotesCollection::TNotesCollection() { - Pixmaps[0] = TDEGlobal::iconLoader()->loadIcon("ascii", KIcon::Small); - Pixmaps[1] = TDEGlobal::iconLoader()->loadIcon("txt", KIcon::Small); - Pixmaps[2] = TDEGlobal::iconLoader()->loadIcon("folder", KIcon::Small); - Pixmaps[3] = TDEGlobal::iconLoader()->loadIcon("folder_txt", KIcon::Small); + Pixmaps[0] = TDEGlobal::iconLoader()->loadIcon("ascii", TDEIcon::Small); + Pixmaps[1] = TDEGlobal::iconLoader()->loadIcon("txt", TDEIcon::Small); + Pixmaps[2] = TDEGlobal::iconLoader()->loadIcon("folder", TDEIcon::Small); + Pixmaps[3] = TDEGlobal::iconLoader()->loadIcon("folder_txt", TDEIcon::Small); modified = false; autoUpdate = true; } -- cgit v1.2.3