summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/opienet/simplemodule.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:51:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:51:21 -0600
commitb6ba5d642f3fc7d320e3d6f4650eb259a3a52b04 (patch)
tree76f49820693d443128d3720322ff1605e9bcd558 /languages/cpp/app_templates/opienet/simplemodule.h
parent247f828db1b8dcdc9346c1568d81cfa00db99c9e (diff)
downloadtdevelop-b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.tar.gz
tdevelop-b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'languages/cpp/app_templates/opienet/simplemodule.h')
-rw-r--r--languages/cpp/app_templates/opienet/simplemodule.h4
1 files changed, 2 insertions, 2 deletions
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;