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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/parts/tipofday/tipofday_part.cpp b/parts/tipofday/tipofday_part.cpp
index 9172d44b..3668783d 100644
--- a/parts/tipofday/tipofday_part.cpp
+++ b/parts/tipofday/tipofday_part.cpp
@@ -12,7 +12,7 @@
#include <kdevplugininfo.h>
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <ktextbrowser.h>
#include <ktip.h>
@@ -34,19 +34,19 @@ TipOfDayPart::TipOfDayPart(TQObject *parent, const char *name, const TQStringLis
TDEAction *action;
action = new TDEAction(i18n("&Tip of the Day"), "idea", 0,
- this, TQT_SLOT(showTip()), actionCollection(), "help_tipofday");
+ this, TQ_SLOT(showTip()), actionCollection(), "help_tipofday");
action->setToolTip(i18n("A tip how to use TDevelop"));
action->setWhatsThis(i18n("<b>Tip of the day</b><p>"
"Will display another good tip \n"
"contributed by KDevelop users."));
- connect(core(), TQT_SIGNAL(coreInitialized()), this, TQT_SLOT(showOnStart()));
+ connect(core(), TQ_SIGNAL(coreInitialized()), this, TQ_SLOT(showOnStart()));
}
TQString TipOfDayPart::getFilename()
{
- TDEConfig * config = TDEApplication::kApplication()->config();
+ TDEConfig * config = tdeApp->config();
config->setGroup("Tip of day plugin");
return config->readEntry("TipsFile", "kdevtipofday/tips");
}