diff options
author | Timothy Pearson <[email protected]> | 2013-02-04 14:08:40 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-04 14:08:40 -0600 |
commit | dca4b260f029db8fbb9a33bfb2b0a2aa9a28edf1 (patch) | |
tree | 18ba70f38844c0b7b78264e28284da691c760e0f /src/libgui/project_manager_ui.cpp | |
parent | 08396682f3324c6c1266be6a084793b261ada6a4 (diff) | |
download | piklab-dca4b260f029db8fbb9a33bfb2b0a2aa9a28edf1.tar.gz piklab-dca4b260f029db8fbb9a33bfb2b0a2aa9a28edf1.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/libgui/project_manager_ui.cpp')
-rw-r--r-- | src/libgui/project_manager_ui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libgui/project_manager_ui.cpp b/src/libgui/project_manager_ui.cpp index 2a230b9..f0c6178 100644 --- a/src/libgui/project_manager_ui.cpp +++ b/src/libgui/project_manager_ui.cpp @@ -21,8 +21,8 @@ //---------------------------------------------------------------------------- void PopupMenu::insertItem(const TQString &icon, const TQString &label, TQObject *receiver, const char *slot) { - KIconLoader loader; - TQPixmap pixmap = loader.loadIcon(icon, KIcon::Small); + TDEIconLoader loader; + TQPixmap pixmap = loader.loadIcon(icon, TDEIcon::Small); if (receiver) TDEPopupMenu::insertItem(pixmap, label, receiver, slot, 0, _index); else TDEPopupMenu::insertItem(pixmap, label, _index); _index++; @@ -121,8 +121,8 @@ void ProjectManager::FileItem::paintCell(TQPainter *p, const TQColorGroup &cg, ProjectManager::RegisterItem::RegisterItem(HeaderItem *item) : TDEListViewItem(item) { - KIconLoader loader; - TQPixmap chip = loader.loadIcon("piklab_chip", KIcon::Small); + TDEIconLoader loader; + TQPixmap chip = loader.loadIcon("piklab_chip", TDEIcon::Small); setPixmap(0, chip); setText(0, i18n("Registers")); } |