summaryrefslogtreecommitdiffstats
path: root/src/notes.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:04:14 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:04:14 -0600
commitf51496578b660aa81bd58812968d674bf940199c (patch)
tree77e35200108fe41eda114ef27b37e360ec471c0b /src/notes.cpp
parente4610080c23988490e6bccd6a36dc4ca18081c2c (diff)
downloadknowit-f51496578b660aa81bd58812968d674bf940199c.tar.gz
knowit-f51496578b660aa81bd58812968d674bf940199c.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/notes.cpp')
-rw-r--r--src/notes.cpp10
1 files changed, 5 insertions, 5 deletions
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;
}