summaryrefslogtreecommitdiffstats
path: root/kommander/working/plugintemplate/widget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /kommander/working/plugintemplate/widget.cpp
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kommander/working/plugintemplate/widget.cpp')
-rw-r--r--kommander/working/plugintemplate/widget.cpp10
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"