summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/opienet/simpleiface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/opienet/simpleiface.cpp')
-rw-r--r--languages/cpp/app_templates/opienet/simpleiface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/app_templates/opienet/simpleiface.cpp b/languages/cpp/app_templates/opienet/simpleiface.cpp
index 9182a2f9..bbabcbda 100644
--- a/languages/cpp/app_templates/opienet/simpleiface.cpp
+++ b/languages/cpp/app_templates/opienet/simpleiface.cpp
@@ -1,6 +1,6 @@
#include "%{APPNAMELC}iface.h"
-%{APPNAME}Interface::%{APPNAME}Interface( QObject* parent,
+%{APPNAME}Interface::%{APPNAME}Interface( TQObject* parent,
const char* name,
bool status )
: Interface(parent, name, status )
@@ -16,7 +16,7 @@ bool %{APPNAME}Interface::refresh() {
* something actual existing
* I take wlan0 in my case
*/
- QString old = getInterfaceName();
+ TQString old = getInterfaceName();
qWarning("Interface name was " + old );
setInterfaceName( "wlan0" );