diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /parts/tipofday/tipofday_part.cpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/tipofday/tipofday_part.cpp')
-rw-r--r-- | parts/tipofday/tipofday_part.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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 <qcheckbox.h> -#include <qpushbutton.h> -#include <qwhatsthis.h> +#include <tqcheckbox.h> +#include <tqpushbutton.h> +#include <tqwhatsthis.h> #include <kaboutdata.h> #include <kaction.h> @@ -24,7 +24,7 @@ static const KDevPluginInfo data("kdevtipofday"); typedef KDevGenericFactory<TipOfDayPart> 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("<b>Tip of the day</b><p>" "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"); |