diff options
Diffstat (limited to 'src/ktechlab.cpp')
-rw-r--r-- | src/ktechlab.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/ktechlab.cpp b/src/ktechlab.cpp index a76b737..da1a8aa 100644 --- a/src/ktechlab.cpp +++ b/src/ktechlab.cpp @@ -158,12 +158,12 @@ void KTechlab::setupToolDocks() #endif TQPixmap pm; - KIconLoader * loader = TDEGlobal::iconLoader(); + TDEIconLoader * loader = TDEGlobal::iconLoader(); KateMDI::ToolView * tv = 0l; tv = createToolView( ProjectManager::toolViewIdentifier(), KMultiTabBar::Left, - loader->loadIcon( "attach", KIcon::Small ), + loader->loadIcon( "attach", TDEIcon::Small ), i18n("Project") ); ProjectManager::self( this, tv ); @@ -203,20 +203,20 @@ void KTechlab::setupToolDocks() tv = createToolView( ContextHelp::toolViewIdentifier(), KMultiTabBar::Right, - loader->loadIcon( "contents", KIcon::Small ), + loader->loadIcon( "contents", TDEIcon::Small ), i18n("Context Help") ); ContextHelp::self(tv); tv = createToolView( LanguageManager::toolViewIdentifier(), KMultiTabBar::Bottom, - loader->loadIcon( "log", KIcon::Small ), + loader->loadIcon( "log", TDEIcon::Small ), i18n("Messages") ); LanguageManager::self( tv, this ); #ifndef NO_GPSIM tv = createToolView( SymbolViewer::toolViewIdentifier(), KMultiTabBar::Right, - loader->loadIcon( "blockdevice", KIcon::Small ), + loader->loadIcon( "blockdevice", TDEIcon::Small ), i18n("Symbol Viewer") ); SymbolViewer::self(tv); #endif @@ -555,10 +555,10 @@ void KTechlab::slotTabReceivedDropEvent( TQWidget *widget, TQDropEvent *e ) e->accept(true); TDEPopupMenu dropMenu; - dropMenu.insertItem( TDEGlobal::iconLoader()->loadIcon( "goto", KIcon::Small ), i18n("&Insert Into"), 0 ); - dropMenu.insertItem( TDEGlobal::iconLoader()->loadIcon( "editcopy", KIcon::Small ), i18n("&Copy Into"), 1 ); + dropMenu.insertItem( TDEGlobal::iconLoader()->loadIcon( "goto", TDEIcon::Small ), i18n("&Insert Into"), 0 ); + dropMenu.insertItem( TDEGlobal::iconLoader()->loadIcon( "editcopy", TDEIcon::Small ), i18n("&Copy Into"), 1 ); dropMenu.insertSeparator(); - dropMenu.insertItem( TDEGlobal::iconLoader()->loadIcon( "stop", KIcon::Small ), i18n("C&ancel"), 2 ); + dropMenu.insertItem( TDEGlobal::iconLoader()->loadIcon( "stop", TDEIcon::Small ), i18n("C&ancel"), 2 ); connect( &dropMenu, TQT_SIGNAL(activated(int)), TQT_TQOBJECT(this), TQT_SLOT(slotDragContextActivated(int)) ); // dropMenu.exec(e->pos() + widget->pos() ); @@ -1007,7 +1007,7 @@ KURL::List KTechlab::getFileURLs() void KTechlab::slotDocModifiedChanged() { //BEGIN Set tab icons - KIconLoader *loader = TDEGlobal::iconLoader(); + TDEIconLoader *loader = TDEGlobal::iconLoader(); const ViewContainerList::iterator vcEnd = m_viewContainerList.end(); for ( ViewContainerList::iterator it = m_viewContainerList.begin(); it != vcEnd; ++it ) { @@ -1046,7 +1046,7 @@ void KTechlab::slotDocModifiedChanged() break; } - tabWidget()->setTabIconSet( vc, loader->loadIcon( iconName, KIcon::Small ) ); + tabWidget()->setTabIconSet( vc, loader->loadIcon( iconName, TDEIcon::Small ) ); } //END Set tab icons } |