From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- .../cpp/app_templates/opietoday/exampleplugin.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'languages/cpp/app_templates/opietoday/exampleplugin.cpp') 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 -- cgit v1.2.3