diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /languages/cpp/app_templates/opienet/simplemodule.cpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/cpp/app_templates/opienet/simplemodule.cpp')
-rw-r--r-- | languages/cpp/app_templates/opienet/simplemodule.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/languages/cpp/app_templates/opienet/simplemodule.cpp b/languages/cpp/app_templates/opienet/simplemodule.cpp index a67974a8..0a96c844 100644 --- a/languages/cpp/app_templates/opienet/simplemodule.cpp +++ b/languages/cpp/app_templates/opienet/simplemodule.cpp @@ -1,4 +1,4 @@ -#include <qwidget.h> +#include <tqwidget.h> #include <interfaces/interfaceinformationimp.h> @@ -32,12 +32,12 @@ bool %{APPNAME}Module::isOwner( Interface* iface ) { return m_interfaces.find( iface ) != -1; } -QWidget* %{APPNAME}Module::configure( Interface* ) { +TQWidget* %{APPNAME}Module::configure( Interface* ) { /* We don't have any Config for now */ return 0l; } -QWidget* %{APPNAME}Module::information( Interface* iface ) { +TQWidget* %{APPNAME}Module::information( Interface* iface ) { return new InterfaceInformationImp(0, "Interface info", iface ); } @@ -45,13 +45,13 @@ QList<Interface> %{APPNAME}Module::getInterfaces() { return m_interfaces; } -void %{APPNAME}Module::possibleNewInterfaces( QMap<QString, QString>& map) { - map.insert( QObject::tr("VPN PPTP"), - QObject::tr("Add new Point to Point Tunnel Protocol connection" ) ); +void %{APPNAME}Module::possibleNewInterfaces( TQMap<TQString, TQString>& map) { + map.insert( TQObject::tr("VPN PPTP"), + TQObject::tr("Add new Point to Point Tunnel Protocol connection" ) ); } -Interface* %{APPNAME}Module::addNewInterface( const QString& ) { +Interface* %{APPNAME}Module::addNewInterface( const TQString& ) { /* check the str if we support more interfaces */ /* Interface* iface = new %{APPNAME}Interface( 0 ); |