From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- languages/cpp/app_templates/opienet/simplemodule.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'languages/cpp/app_templates/opienet/simplemodule.cpp') 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 +#include #include @@ -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 %{APPNAME}Module::getInterfaces() { return m_interfaces; } -void %{APPNAME}Module::possibleNewInterfaces( QMap& map) { - map.insert( QObject::tr("VPN PPTP"), - QObject::tr("Add new Point to Point Tunnel Protocol connection" ) ); +void %{APPNAME}Module::possibleNewInterfaces( TQMap& 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 ); -- cgit v1.2.3