From b97ee238f88e9578da228388210cd8cab5360778 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:18:14 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- kontact/src/mainwindow.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kontact/src/mainwindow.cpp') diff --git a/kontact/src/mainwindow.cpp b/kontact/src/mainwindow.cpp index 8c82fa5f9..eff2d9089 100644 --- a/kontact/src/mainwindow.cpp +++ b/kontact/src/mainwindow.cpp @@ -433,13 +433,13 @@ void MainWindow::slotLoadProfile( const TQString& id ) cfg->sync(); Prefs::self()->readConfig(); applyMainWindowSettings( cfg ); - KIconTheme::reconfigure(); + TDEIconTheme::reconfigure(); const WId wid = winId(); KIPC::sendMessage( KIPC::PaletteChanged, wid ); KIPC::sendMessage( KIPC::FontChanged, wid ); KIPC::sendMessage( KIPC::StyleChanged, wid ); KIPC::sendMessage( KIPC::SettingsChanged, wid ); - for ( int i = 0; i < KIcon::LastGroup; ++i ) + for ( int i = 0; i < TDEIcon::LastGroup; ++i ) KIPC::sendMessage( KIPC::IconChanged, wid, i ); loadSettings(); @@ -1160,12 +1160,12 @@ void MainWindow::slotShowStatusMsg( const TQString &msg ) TQString MainWindow::introductionString() { - KIconLoader *iconloader = TDEGlobal::iconLoader(); - int iconSize = iconloader->currentSize( KIcon::Desktop ); + TDEIconLoader *iconloader = TDEGlobal::iconLoader(); + int iconSize = iconloader->currentSize( TDEIcon::Desktop ); - TQString handbook_icon_path = iconloader->iconPath( "contents2", KIcon::Desktop ); - TQString html_icon_path = iconloader->iconPath( "html", KIcon::Desktop ); - TQString wizard_icon_path = iconloader->iconPath( "wizard", KIcon::Desktop ); + TQString handbook_icon_path = iconloader->iconPath( "contents2", TDEIcon::Desktop ); + TQString html_icon_path = iconloader->iconPath( "html", TDEIcon::Desktop ); + TQString wizard_icon_path = iconloader->iconPath( "wizard", TDEIcon::Desktop ); TQString info = i18n( "

Welcome to Kontact %1

" "

%1

" -- cgit v1.2.1