summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/opietoday/exampleplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/opietoday/exampleplugin.cpp')
-rw-r--r--languages/cpp/app_templates/opietoday/exampleplugin.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/languages/cpp/app_templates/opietoday/exampleplugin.cpp b/languages/cpp/app_templates/opietoday/exampleplugin.cpp
index 3d32b274..c7df8069 100644
--- a/languages/cpp/app_templates/opietoday/exampleplugin.cpp
+++ b/languages/cpp/app_templates/opietoday/exampleplugin.cpp
@@ -9,8 +9,8 @@
delete (%{APPNAME}Widget*)m_widget;
}
-QString %{APPNAME}::pluginName() const {
- return QObject::tr( "%{APPNAME}" );
+TQString %{APPNAME}::pluginName() const {
+ return TQObject::tr( "%{APPNAME}" );
}
double %{APPNAME}::versionNumber() const {
@@ -18,11 +18,11 @@ double %{APPNAME}::versionNumber() const {
}
// this sets the image that will be shown on the left side of the plugin
-QString %{APPNAME}::pixmapNameWidget() const {
- return QString::fromLatin1("%{APPNAMELC}/%{APPNAMELC}");
+TQString %{APPNAME}::pixmapNameWidget() const {
+ return TQString::fromLatin1("%{APPNAMELC}/%{APPNAMELC}");
}
-QWidget* %{APPNAME}::widget( QWidget * wid ) {
+TQWidget* %{APPNAME}::widget( TQWidget * wid ) {
if(!m_widget) {
m_widget = new %{APPNAME}Widget( wid, "%{APPNAME}" );
}
@@ -31,18 +31,18 @@ QWidget* %{APPNAME}::widget( QWidget * wid ) {
// that would be the icon of the config widget in todays config view
-QString %{APPNAME}::pixmapNameConfig() const {
+TQString %{APPNAME}::pixmapNameConfig() const {
return 0l;
}
// No config widget yet, look at the datebook plugin for an example of that
-TodayConfigWidget* %{APPNAME}::configWidget( QWidget* /*parent*/ ) {
+TodayConfigWidget* %{APPNAME}::configWidget( TQWidget* /*parent*/ ) {
return 0l;
}
// add the binary name of the app to launch here
-QString %{APPNAME}::appName() const {
- return QString::null;
+TQString %{APPNAME}::appName() const {
+ return TQString::null;
}
// if the plugin should be excluded form the refresh cycles that can be set in the today app