diff options
Diffstat (limited to 'src/libgui/editor_manager.cpp')
-rw-r--r-- | src/libgui/editor_manager.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/libgui/editor_manager.cpp b/src/libgui/editor_manager.cpp index 2656e39..be56c63 100644 --- a/src/libgui/editor_manager.cpp +++ b/src/libgui/editor_manager.cpp @@ -152,10 +152,10 @@ TQString EditorManager::title(const Editor &e) const void EditorManager::updateTitles() { - KIconLoader loader; - TQPixmap def = loader.loadIcon("piklab", KIcon::Small); - TQPixmap modified = loader.loadIcon("filesave", KIcon::Small); - TQPixmap chip = loader.loadIcon("piklab_chip", KIcon::Small); + TDEIconLoader loader; + TQPixmap def = loader.loadIcon("piklab", TDEIcon::Small); + TQPixmap modified = loader.loadIcon("filesave", TDEIcon::Small); + TQPixmap chip = loader.loadIcon("piklab_chip", TDEIcon::Small); TQValueList<Editor *>::iterator it = _editors.begin(); for (; it!=_editors.end(); ++it) { static_cast<EditorTabBar *>(tabBar())->setReadOnly(indexOf(*it), (*it)->isReadOnly()); @@ -392,11 +392,11 @@ void EditorManager::contextMenu(int i, const TQPoint &p) Editor *editor = static_cast<Editor *>(page(i)); if ( editor==0 ) return; - KIconLoader loader; - TQPixmap closeIcon = loader.loadIcon("fileclose", KIcon::Small); - TQPixmap saveIcon = loader.loadIcon("filesave", KIcon::Small); - TQPixmap saveAsIcon = loader.loadIcon("filesaveas", KIcon::Small); - TQPixmap reloadIcon = loader.loadIcon("reload", KIcon::Small); + TDEIconLoader loader; + TQPixmap closeIcon = loader.loadIcon("fileclose", TDEIcon::Small); + TQPixmap saveIcon = loader.loadIcon("filesave", TDEIcon::Small); + TQPixmap saveAsIcon = loader.loadIcon("filesaveas", TDEIcon::Small); + TQPixmap reloadIcon = loader.loadIcon("reload", TDEIcon::Small); TDEPopupMenu *popup = new TDEPopupMenu; popup->insertTitle(title(*editor)); popup->insertItem(closeIcon, i18n("Close"), 1); |