summaryrefslogtreecommitdiffstats
path: root/kword
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:05:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:05:40 -0600
commit1d4158dd755a445fd42f2db7db5abab8084175cd (patch)
tree71ca5f966ca25d2a47b66ae27f7bb06c34d190bf /kword
parent391e0b69f256bab8971430050c65f0e6e7eea9be (diff)
downloadkoffice-1d4158dd755a445fd42f2db7db5abab8084175cd.tar.gz
koffice-1d4158dd755a445fd42f2db7db5abab8084175cd.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kword')
-rw-r--r--kword/KWConfig.cpp2
-rw-r--r--kword/KWDocStruct.cpp12
-rw-r--r--kword/KWView.cpp2
3 files changed, 8 insertions, 8 deletions
diff --git a/kword/KWConfig.cpp b/kword/KWConfig.cpp
index 3a9cd15e..6853f2c7 100644
--- a/kword/KWConfig.cpp
+++ b/kword/KWConfig.cpp
@@ -75,7 +75,7 @@ using namespace KSpell2;
// (Note: KDialogBase should have version of the methods that take a TQString for the icon name)
static inline TQPixmap loadIcon( const char * name ) {
return TDEGlobal::instance()->iconLoader()
- ->loadIcon( TQString::fromLatin1(name), KIcon::NoGroup, KIcon::SizeMedium );
+ ->loadIcon( TQString::fromLatin1(name), TDEIcon::NoGroup, TDEIcon::SizeMedium );
}
KWConfig::KWConfig( KWView* parent )
diff --git a/kword/KWDocStruct.cpp b/kword/KWDocStruct.cpp
index 9e032e81..e39947dc 100644
--- a/kword/KWDocStruct.cpp
+++ b/kword/KWDocStruct.cpp
@@ -721,22 +721,22 @@ KWDocStructRootItem::KWDocStructRootItem(TQListView* parent, const TQString& tex
{
switch ( type ) {
case Arrangement: {
- setPixmap( 0, TDEGlobal::iconLoader()->loadIcon( "tree_arrange", KIcon::Small ) );
+ setPixmap( 0, TDEGlobal::iconLoader()->loadIcon( "tree_arrange", TDEIcon::Small ) );
} break;
case TextFrames: {
- setPixmap( 0, TDEGlobal::iconLoader()->loadIcon( "frame_text", KIcon::Small ) );
+ setPixmap( 0, TDEGlobal::iconLoader()->loadIcon( "frame_text", TDEIcon::Small ) );
} break;
case FormulaFrames: {
- setPixmap( 0, TDEGlobal::iconLoader()->loadIcon( "frame_formula", KIcon::Small ) );
+ setPixmap( 0, TDEGlobal::iconLoader()->loadIcon( "frame_formula", TDEIcon::Small ) );
}break;
case Tables: {
- setPixmap( 0, TDEGlobal::iconLoader()->loadIcon( "inline_table", KIcon::Small ) );
+ setPixmap( 0, TDEGlobal::iconLoader()->loadIcon( "inline_table", TDEIcon::Small ) );
} break;
case Pictures: {
- setPixmap( 0, TDEGlobal::iconLoader()->loadIcon( "frame_image", KIcon::Small ) );
+ setPixmap( 0, TDEGlobal::iconLoader()->loadIcon( "frame_image", TDEIcon::Small ) );
} break;
case Embedded: {
- setPixmap( 0, TDEGlobal::iconLoader()->loadIcon( "frame_query", KIcon::Small ) );
+ setPixmap( 0, TDEGlobal::iconLoader()->loadIcon( "frame_query", TDEIcon::Small ) );
} break;
}
}
diff --git a/kword/KWView.cpp b/kword/KWView.cpp
index 227f75a5..4e3822a8 100644
--- a/kword/KWView.cpp
+++ b/kword/KWView.cpp
@@ -6006,7 +6006,7 @@ void KWView::documentModified( bool b )
return;
if ( b )
- m_sbModifiedLabel->setPixmap( TDEGlobal::iconLoader()->loadIcon( "action-modified", KIcon::Small ) );
+ m_sbModifiedLabel->setPixmap( TDEGlobal::iconLoader()->loadIcon( "action-modified", TDEIcon::Small ) );
else
m_sbModifiedLabel->setText( " " );
}