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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/languages/cpp/app_templates/opienet/simpleiface.cpp b/languages/cpp/app_templates/opienet/simpleiface.cpp
index bbabcbda..9b38bc77 100644
--- a/languages/cpp/app_templates/opienet/simpleiface.cpp
+++ b/languages/cpp/app_templates/opienet/simpleiface.cpp
@@ -1,9 +1,9 @@
#include "%{APPNAMELC}iface.h"
-%{APPNAME}Interface::%{APPNAME}Interface( TQObject* parent,
+%{APPNAME}Interface::%{APPNAME}Interface( TQObject* tqparent,
const char* name,
bool status )
- : Interface(parent, name, status )
+ : Interface(tqparent, name, status )
{
}
@@ -31,13 +31,13 @@ bool %{APPNAME}Interface::refresh() {
void %{APPNAME}Interface::start() {
// call pptp
- setStatus(true);
+ settqStatus(true);
refresh();
emit updateMessage("VPN started");
}
void %{APPNAME}Interface::stop() {
- setStatus(false );
+ settqStatus(false );
refresh();
emit updateMessage("VPN halted");
}