summaryrefslogtreecommitdiffstats
path: root/parts/tipofday/tipofday_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/tipofday/tipofday_part.cpp')
-rw-r--r--parts/tipofday/tipofday_part.cpp14
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");