summaryrefslogtreecommitdiffstats
path: root/tde-i18n-et/docs/tdewebdev/kommander/extending.docbook
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-09-03 19:59:21 +0200
committerSlávek Banko <[email protected]>2013-09-03 20:45:30 +0200
commitf1d570183a654b6dba86f463d96931399757e11e (patch)
treebee0cf53d8ce4a4bb0394b1daf3a210aa342ea6d /tde-i18n-et/docs/tdewebdev/kommander/extending.docbook
parent4b6e7a349ae63502f0b50c9be255ec4356bec1f4 (diff)
downloadtde-i18n-f1d570183a654b6dba86f463d96931399757e11e.tar.gz
tde-i18n-f1d570183a654b6dba86f463d96931399757e11e.zip
Additional k => tde renaming and fixes
Diffstat (limited to 'tde-i18n-et/docs/tdewebdev/kommander/extending.docbook')
-rw-r--r--tde-i18n-et/docs/tdewebdev/kommander/extending.docbook12
1 files changed, 6 insertions, 6 deletions
diff --git a/tde-i18n-et/docs/tdewebdev/kommander/extending.docbook b/tde-i18n-et/docs/tdewebdev/kommander/extending.docbook
index 1d25b1bd9cd..e2499eaa3ad 100644
--- a/tde-i18n-et/docs/tdewebdev/kommander/extending.docbook
+++ b/tde-i18n-et/docs/tdewebdev/kommander/extending.docbook
@@ -23,7 +23,7 @@
> <affiliation
><address
><email
></address
></affiliation>
</author>
@@ -164,7 +164,7 @@ void KomLineEdit::setWidgetText(const QString &amp;a_text)
<para
>Vidinale funktsionaalsuse lisamiseks tuleb registreerida vastavad funktsioonid ja lisada neile vajalik kood. Registreerimiseks mõeldud kood tuleb asetada cpp-faili algusse konstruktori ette: </para>
<screen
->#include &lt;klocale.h&gt; //for i18n
+>#include &lt;tdelocale.h&gt; //for i18n
#include "kommanderplugin.h"
#include "specials.h"
@@ -238,7 +238,7 @@ KomLineEdit::KomLineEdit(QWidget *a_parent, const char *a_name)
<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());
@@ -259,7 +259,7 @@ KomLineEdit::KomLineEdit(QWidget *a_parent, const char *a_name)
{
if (m_aboutData)
{
- KAboutApplication dialog(m_aboutData, this);
+ TDEAboutApplication dialog(m_aboutData, this);
dialog.exec();
}
break;
@@ -307,7 +307,7 @@ public:
<screen
>MinuKomPlugin::MinuKomPlugin()
{
- addWidget( "KomLineEdit", "My Widget Group", i18n("A Kommander line edit widget") new QIconSet(TDEGlobal::iconLoader()->loadIcon("ikooninimi", KIcon::NoGroup, KIcon::SizeMedium)));
+ addWidget( "KomLineEdit", "My Widget Group", i18n("A Kommander line edit widget") new QIconSet(TDEGlobal::iconLoader()->loadIcon("ikooninimi", TDEIcon::NoGroup, TDEIcon::SizeMedium)));
//add my other widgets here
}
</screen>
@@ -433,7 +433,7 @@ QWidget *WidgetFactory::createWidget( const QString &amp;className, QWidget *par
>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>