diff options
author | Slávek Banko <[email protected]> | 2013-09-03 19:59:21 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-09-03 20:45:30 +0200 |
commit | f1d570183a654b6dba86f463d96931399757e11e (patch) | |
tree | bee0cf53d8ce4a4bb0394b1daf3a210aa342ea6d /tde-i18n-et/docs/tdewebdev/kommander/extending.docbook | |
parent | 4b6e7a349ae63502f0b50c9be255ec4356bec1f4 (diff) | |
download | tde-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.docbook | 12 |
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 ->[email protected]</email +>[email protected]</email ></address ></affiliation> </author> @@ -164,7 +164,7 @@ void KomLineEdit::setWidgetText(const QString &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 <klocale.h> //for i18n +>#include <tdelocale.h> //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 &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> |