summaryrefslogtreecommitdiffstats
path: root/doc/kommander
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:20:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:20:11 -0600
commit1c53bf78a70a66d8ec15a77cbf98606694d7e6e7 (patch)
treeb7ec7a54f705aa5ef6388b9818ae394ba3ca2b9c /doc/kommander
parentc46f36d00839916c8b6cde8ed2ca54aeb40dba19 (diff)
downloadtdewebdev-1c53bf78a70a66d8ec15a77cbf98606694d7e6e7.tar.gz
tdewebdev-1c53bf78a70a66d8ec15a77cbf98606694d7e6e7.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'doc/kommander')
-rw-r--r--doc/kommander/extending.docbook6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/kommander/extending.docbook b/doc/kommander/extending.docbook
index d909338e..8425dd82 100644
--- a/doc/kommander/extending.docbook
+++ b/doc/kommander/extending.docbook
@@ -213,7 +213,7 @@ derive from QLabel, and use this in the constructor:
<screen>
if (KommanderWidget::inEditor)
{
- setPixmap(TDEGlobal::iconLoader()->loadIcon("iconname", KIcon::NoGroup, KIcon::SizeMedium));
+ setPixmap(TDEGlobal::iconLoader()->loadIcon("iconname", TDEIcon::NoGroup, TDEIcon::SizeMedium));
setFrameStyle(QFrame::Box | QFrame::Plain);
setLineWidth(1);
setFixedSize(pixmap()->size());
@@ -297,7 +297,7 @@ This class simply has a constructor and an overridden create method.
<screen>
MyKomPlugin::MyKomPlugin()
{
- addWidget( "KomLineEdit", "My Widget Group", i18n("A Kommander line edit widget") new QIconSet(TDEGlobal::iconLoader()->loadIcon("iconname", KIcon::NoGroup, KIcon::SizeMedium)));
+ addWidget( "KomLineEdit", "My Widget Group", i18n("A Kommander line edit widget") new QIconSet(TDEGlobal::iconLoader()->loadIcon("iconname", TDEIcon::NoGroup, TDEIcon::SizeMedium)));
//add my other widgets here
}
</screen>
@@ -427,7 +427,7 @@ To register to the executor (actually to the plugin system), add this to
KomStdPlugin::KomStdPlugin()
{
...
- addWidget("MyWidgetName", group, "", new QIconSet(TDEGlobal::iconLoader()->loadIcon("iconname", KIcon::NoGroup, KIcon::SizeMedium)));
+ addWidget("MyWidgetName", group, "", new QIconSet(TDEGlobal::iconLoader()->loadIcon("iconname", TDEIcon::NoGroup, TDEIcon::SizeMedium)));
...
}
</screen>