summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/opienet
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:36:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:36:08 -0600
commitc3b301575a98e4c3505ad95534d6192b65539dab (patch)
tree532456654ca955508c4a6e7cd6f04db4ce151c53 /languages/cpp/app_templates/opienet
parent1623fe64102c18ab098b79656b80f28cef840756 (diff)
downloadtdevelop-c3b301575a98e4c3505ad95534d6192b65539dab.tar.gz
tdevelop-c3b301575a98e4c3505ad95534d6192b65539dab.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'languages/cpp/app_templates/opienet')
-rw-r--r--languages/cpp/app_templates/opienet/simmplemodule.h4
-rw-r--r--languages/cpp/app_templates/opienet/simpleiface.cpp4
-rw-r--r--languages/cpp/app_templates/opienet/simplemodule.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/languages/cpp/app_templates/opienet/simmplemodule.h b/languages/cpp/app_templates/opienet/simmplemodule.h
index 5c928ec9..b19152b6 100644
--- a/languages/cpp/app_templates/opienet/simmplemodule.h
+++ b/languages/cpp/app_templates/opienet/simmplemodule.h
@@ -12,7 +12,7 @@ public:
VirtualModule();
~VirtualModule();
- const TQString type() {return TQString::tqfromLatin1("vpn" );}
+ const TQString type() {return TQString::fromLatin1("vpn" );}
void setProfile( const TQString& ) {}
bool isOwner( Interface* );
TQWidget *configure( Interface* );
@@ -21,7 +21,7 @@ public:
void possibleNewInterfaces( TQMap<TQString, TQString>& );
Interface *addNewInterface( const TQString& );
bool remove( Interface* iface );
- TQString getPixmapName( Interface* ) {return TQString::tqfromLatin1("Tux"); }
+ TQString getPixmapName( Interface* ) {return TQString::fromLatin1("Tux"); }
void receive( const TQCString&, const TQByteArray& ar ) {} // don't listen
private:
TQList<Interface> m_interfaces;
diff --git a/languages/cpp/app_templates/opienet/simpleiface.cpp b/languages/cpp/app_templates/opienet/simpleiface.cpp
index e98148d2..bbabcbda 100644
--- a/languages/cpp/app_templates/opienet/simpleiface.cpp
+++ b/languages/cpp/app_templates/opienet/simpleiface.cpp
@@ -31,13 +31,13 @@ bool %{APPNAME}Interface::refresh() {
void %{APPNAME}Interface::start() {
// call pptp
- settqStatus(true);
+ setStatus(true);
refresh();
emit updateMessage("VPN started");
}
void %{APPNAME}Interface::stop() {
- settqStatus(false );
+ setStatus(false );
refresh();
emit updateMessage("VPN halted");
}
diff --git a/languages/cpp/app_templates/opienet/simplemodule.h b/languages/cpp/app_templates/opienet/simplemodule.h
index 327c1d43..6fce8b10 100644
--- a/languages/cpp/app_templates/opienet/simplemodule.h
+++ b/languages/cpp/app_templates/opienet/simplemodule.h
@@ -12,7 +12,7 @@ public:
%{APPNAME}Module();
~%{APPNAME}Module();
- const TQString type() {return TQString::tqfromLatin1("vpn" );}
+ const TQString type() {return TQString::fromLatin1("vpn" );}
void setProfile( const TQString& ) {}
bool isOwner( Interface* );
TQWidget *configure( Interface* );
@@ -21,7 +21,7 @@ public:
void possibleNewInterfaces( TQMap<TQString, TQString>& );
Interface *addNewInterface( const TQString& );
bool remove( Interface* iface );
- TQString getPixmapName( Interface* ) {return TQString::tqfromLatin1("Tux"); }
+ TQString getPixmapName( Interface* ) {return TQString::fromLatin1("Tux"); }
void receive( const TQCString&, const TQByteArray& ar ) {} // don't listen
private:
TQList<Interface> m_interfaces;