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 --- parts/tipofday/tipofday_part.cpp | 14 +++++++------- parts/tipofday/tipofday_part.h | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'parts/tipofday') diff --git a/parts/tipofday/tipofday_part.cpp b/parts/tipofday/tipofday_part.cpp index fefdcd39..e1de784a 100644 --- a/parts/tipofday/tipofday_part.cpp +++ b/parts/tipofday/tipofday_part.cpp @@ -1,8 +1,8 @@ #include "tipofday_part.h" -#include -#include -#include +#include +#include +#include #include #include @@ -24,7 +24,7 @@ static const KDevPluginInfo data("kdevtipofday"); typedef KDevGenericFactory TipOfDayFactory; K_EXPORT_COMPONENT_FACTORY( libkdevtipofday, TipOfDayFactory( data ) ) -TipOfDayPart::TipOfDayPart(QObject *parent, const char *name, const QStringList &) +TipOfDayPart::TipOfDayPart(TQObject *parent, const char *name, const TQStringList &) : KDevPlugin(&data, parent, name ? name : "TipOfDayPart") { setInstance(TipOfDayFactory::instance()); @@ -34,17 +34,17 @@ TipOfDayPart::TipOfDayPart(QObject *parent, const char *name, const QStringList KAction *action; action = new KAction(i18n("&Tip of the Day"), "idea", 0, - this, SLOT(showTip()), actionCollection(), "help_tipofday"); + this, TQT_SLOT(showTip()), actionCollection(), "help_tipofday"); action->setToolTip(i18n("A tip how to use KDevelop")); action->setWhatsThis(i18n("Tip of the day

" "Will display another good tip \n" "contributed by KDevelop users.")); - connect(core(), SIGNAL(coreInitialized()), this, SLOT(showOnStart())); + connect(core(), TQT_SIGNAL(coreInitialized()), this, TQT_SLOT(showOnStart())); } -QString TipOfDayPart::getFilename() +TQString TipOfDayPart::getFilename() { KConfig * config = KApplication::kApplication()->config(); config->setGroup("Tip of day plugin"); diff --git a/parts/tipofday/tipofday_part.h b/parts/tipofday/tipofday_part.h index 50eedadd..a60856e8 100644 --- a/parts/tipofday/tipofday_part.h +++ b/parts/tipofday/tipofday_part.h @@ -16,7 +16,7 @@ class TipOfDayPart : public KDevPlugin public: - TipOfDayPart(QObject *parent, const char *name, const QStringList &); + TipOfDayPart(TQObject *parent, const char *name, const TQStringList &); public slots: @@ -25,7 +25,7 @@ public slots: void showOnStart(); private: - QString getFilename(); + TQString getFilename(); }; -- cgit v1.2.1