diff options
Diffstat (limited to 'parts/tipofday')
-rw-r--r-- | parts/tipofday/tipofday_part.cpp | 14 | ||||
-rw-r--r-- | parts/tipofday/tipofday_part.h | 4 |
2 files changed, 9 insertions, 9 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"); 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(); }; |