summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates')
-rw-r--r--languages/cpp/app_templates/kconfig35/prefs-base.ui6
-rw-r--r--languages/cpp/app_templates/kde4app/prefs_base.ui6
-rw-r--r--languages/cpp/app_templates/kscons_kxt/prefs-base.ui6
-rw-r--r--languages/cpp/app_templates/kxt/prefs-base.ui6
-rw-r--r--languages/cpp/app_templates/noatunui/plugin_impl.cpp2
-rw-r--r--languages/cpp/app_templates/opieapp/example.h2
-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
-rw-r--r--languages/cpp/app_templates/opietoday/exampleplugin.cpp2
-rw-r--r--languages/cpp/app_templates/prc-tool/palmhello.c2
11 files changed, 22 insertions, 22 deletions
diff --git a/languages/cpp/app_templates/kconfig35/prefs-base.ui b/languages/cpp/app_templates/kconfig35/prefs-base.ui
index 46a35473..03af967a 100644
--- a/languages/cpp/app_templates/kconfig35/prefs-base.ui
+++ b/languages/cpp/app_templates/kconfig35/prefs-base.ui
@@ -66,7 +66,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
@@ -83,7 +83,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
@@ -111,7 +111,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
diff --git a/languages/cpp/app_templates/kde4app/prefs_base.ui b/languages/cpp/app_templates/kde4app/prefs_base.ui
index f1e5fdfb..3a78c979 100644
--- a/languages/cpp/app_templates/kde4app/prefs_base.ui
+++ b/languages/cpp/app_templates/kde4app/prefs_base.ui
@@ -80,7 +80,7 @@ p, li { white-space: pre-wrap; }
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
- <property name="tqsizeHint" >
+ <property name="sizeHint" >
<size>
<width>41</width>
<height>20</height>
@@ -96,7 +96,7 @@ p, li { white-space: pre-wrap; }
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
- <property name="tqsizeHint" >
+ <property name="sizeHint" >
<size>
<width>41</width>
<height>20</height>
@@ -128,7 +128,7 @@ p, li { white-space: pre-wrap; }
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
- <property name="tqsizeHint" >
+ <property name="sizeHint" >
<size>
<width>41</width>
<height>20</height>
diff --git a/languages/cpp/app_templates/kscons_kxt/prefs-base.ui b/languages/cpp/app_templates/kscons_kxt/prefs-base.ui
index a343c6cf..b1115e6f 100644
--- a/languages/cpp/app_templates/kscons_kxt/prefs-base.ui
+++ b/languages/cpp/app_templates/kscons_kxt/prefs-base.ui
@@ -68,7 +68,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
@@ -85,7 +85,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
@@ -113,7 +113,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
diff --git a/languages/cpp/app_templates/kxt/prefs-base.ui b/languages/cpp/app_templates/kxt/prefs-base.ui
index 46a35473..03af967a 100644
--- a/languages/cpp/app_templates/kxt/prefs-base.ui
+++ b/languages/cpp/app_templates/kxt/prefs-base.ui
@@ -66,7 +66,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
@@ -83,7 +83,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
@@ -111,7 +111,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="tqsizeHint">
+ <property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
diff --git a/languages/cpp/app_templates/noatunui/plugin_impl.cpp b/languages/cpp/app_templates/noatunui/plugin_impl.cpp
index 508f7cc9..b859d95f 100644
--- a/languages/cpp/app_templates/noatunui/plugin_impl.cpp
+++ b/languages/cpp/app_templates/noatunui/plugin_impl.cpp
@@ -132,7 +132,7 @@
show();
// What it is now, stay.
- setFixedSize(tqminimumSize());
+ setFixedSize(minimumSize());
}
%{APPNAME}UI::~%{APPNAME}UI()
diff --git a/languages/cpp/app_templates/opieapp/example.h b/languages/cpp/app_templates/opieapp/example.h
index 7da09f5a..92a4019f 100644
--- a/languages/cpp/app_templates/opieapp/example.h
+++ b/languages/cpp/app_templates/opieapp/example.h
@@ -9,7 +9,7 @@ class %{APPNAME} : public %{APPNAME}Base
public:
static TQString appName() {
- return TQString::tqfromLatin1("%{APPNAMELC}" );
+ return TQString::fromLatin1("%{APPNAMELC}" );
}
%{APPNAME}( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~%{APPNAME}();
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;
diff --git a/languages/cpp/app_templates/opietoday/exampleplugin.cpp b/languages/cpp/app_templates/opietoday/exampleplugin.cpp
index 12d702b6..3606927f 100644
--- a/languages/cpp/app_templates/opietoday/exampleplugin.cpp
+++ b/languages/cpp/app_templates/opietoday/exampleplugin.cpp
@@ -19,7 +19,7 @@ double %{APPNAME}::versionNumber() const {
// this sets the image that will be shown on the left side of the plugin
TQString %{APPNAME}::pixmapNameWidget() const {
- return TQString::tqfromLatin1("%{APPNAMELC}/%{APPNAMELC}");
+ return TQString::fromLatin1("%{APPNAMELC}/%{APPNAMELC}");
}
TQWidget* %{APPNAME}::widget( TQWidget * wid ) {
diff --git a/languages/cpp/app_templates/prc-tool/palmhello.c b/languages/cpp/app_templates/prc-tool/palmhello.c
index e0317932..0a34b6c4 100644
--- a/languages/cpp/app_templates/prc-tool/palmhello.c
+++ b/languages/cpp/app_templates/prc-tool/palmhello.c
@@ -22,7 +22,7 @@ static Boolean MainFormHandleEvent (EventPtr e)
break;
case menuEvent:
- MenuErasetqStatus(NULL);
+ MenuEraseStatus(NULL);
switch(e->data.menu.itemID) {
}