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