diff options
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> |