summaryrefslogtreecommitdiffstats
path: root/parts/tipofday
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /parts/tipofday
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-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')
-rw-r--r--parts/tipofday/tipofday_part.cpp14
-rw-r--r--parts/tipofday/tipofday_part.h4
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();
};