diff options
Diffstat (limited to 'kommander/working/plugintemplate/widget.cpp')
-rw-r--r-- | kommander/working/plugintemplate/widget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kommander/working/plugintemplate/widget.cpp b/kommander/working/plugintemplate/widget.cpp index 2378e87a..7efd8526 100644 --- a/kommander/working/plugintemplate/widget.cpp +++ b/kommander/working/plugintemplate/widget.cpp @@ -10,14 +10,14 @@ enum Functions { - FirstFunction = 11001, //CHANGE THIS NUMBE TO AN UNIQUE ONE!!! + FirstFunction = 11001, //CHANGE THIS NUMBE TO AN UNITQUE ONE!!! Function1, Function2, LastFunction }; -%{APPNAME}::%{APPNAME}(TQWidget *parent, const char *name) - : TQWidget(parent, name), KommanderWidget(this) +%{APPNAME}::%{APPNAME}(TQWidget *tqparent, const char *name) + : TQWidget(tqparent, name), KommanderWidget(this) { TQStringList states; states << "default"; @@ -31,7 +31,7 @@ enum Functions { setPixmap(KGlobal::iconLoader()->loadIcon("%{APPNAMELC}", KIcon::NoGroup, KIcon::SizeMedium)); setFrameStyle(TQFrame::Box | TQFrame::Plain); setLineWidth(1); - setAlignment(Qt::AlignCenter); + tqsetAlignment(TQt::AlignCenter); } else setHidden(true); @@ -110,7 +110,7 @@ TQString %{APPNAME}::handleDCOP(int function, const TQStringList& args) default: return KommanderWidget::handleDCOP(function, args); } - return TQString::null; + return TQString(); } #include "%{APPNAMELC}.moc" |