summaryrefslogtreecommitdiffstats
path: root/kexi/main/keximainwindowimpl.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2014-09-27 19:20:57 +0200
committerSlávek Banko <[email protected]>2014-09-27 19:20:57 +0200
commit38518d610d1106fbca41bed7b3df4605958dc45d (patch)
tree2c4b0ff28f4ba8ccaac393ace70015305d9821dd /kexi/main/keximainwindowimpl.cpp
parent973ba55e2621b4db4644352bb699db2435ab5b29 (diff)
downloadkoffice-38518d610d1106fbca41bed7b3df4605958dc45d.tar.gz
koffice-38518d610d1106fbca41bed7b3df4605958dc45d.zip
Update for recent TDENewStuff changes
Diffstat (limited to 'kexi/main/keximainwindowimpl.cpp')
-rw-r--r--kexi/main/keximainwindowimpl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/main/keximainwindowimpl.cpp b/kexi/main/keximainwindowimpl.cpp
index d6b2cc16..69ac854b 100644
--- a/kexi/main/keximainwindowimpl.cpp
+++ b/kexi/main/keximainwindowimpl.cpp
@@ -118,8 +118,8 @@
#include <kexicontexthelp.h>
#endif
-#ifdef HAVE_KNEWSTUFF
-#include <knewstuff/downloaddialog.h>
+#ifdef HAVE_TDENEWSTUFF
+#include <tdenewstuff/downloaddialog.h>
#include "kexinewstuff.h"
#endif
@@ -533,7 +533,7 @@ void KexiMainWindowImpl::initActions()
action->setToolTip(i18n("Open an existing project"));
action->setWhatsThis(i18n("Opens an existing project. Currently opened project is not affected."));
-#ifdef HAVE_KNEWSTUFF
+#ifdef HAVE_TDENEWSTUFF
action = new TDEAction(i18n("&Download Example Databases..."), "kget", TDEShortcut(0),
TQT_TQOBJECT(this), TQT_SLOT(slotGetNewStuff()), actionCollection(), "project_download_examples");
action->setToolTip(i18n("Download example databases from the Internet"));
@@ -4612,7 +4612,7 @@ void KexiMainWindowImpl::addWindow( KMdiChildView* pView, int flags )
/// TMP (until there's true template support)
void KexiMainWindowImpl::slotGetNewStuff()
{
-#ifdef HAVE_KNEWSTUFF
+#ifdef HAVE_TDENEWSTUFF
if(!d->newStuff)
d->newStuff = new KexiNewStuff(this);
d->newStuff->download();