summaryrefslogtreecommitdiffstats
path: root/kanagram
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2014-10-03 01:30:56 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-10-03 01:30:56 +0200
commit9a79f045fc413c4edcfe4635b9f0b44a9b35e153 (patch)
tree7a2572587c141cf95a89191651b3fb04c2e16b78 /kanagram
parentfc067bc74a208ab6ceb451ac0d1c30b03eb9e1f6 (diff)
downloadtdeedu-9a79f045fc413c4edcfe4635b9f0b44a9b35e153.tar.gz
tdeedu-9a79f045fc413c4edcfe4635b9f0b44a9b35e153.zip
Update for recent TDENewStuff changes
Diffstat (limited to 'kanagram')
-rw-r--r--kanagram/src/newstuff.cpp4
-rw-r--r--kanagram/src/newstuffdialog.cpp6
-rw-r--r--kanagram/src/newstuffdialog.h4
3 files changed, 7 insertions, 7 deletions
diff --git a/kanagram/src/newstuff.cpp b/kanagram/src/newstuff.cpp
index 84a0743d..7293775d 100644
--- a/kanagram/src/newstuff.cpp
+++ b/kanagram/src/newstuff.cpp
@@ -4,8 +4,8 @@
#include <tqpushbutton.h>
#include <kdebug.h>
-#include <knewstuff/downloaddialog.h>
-#include <knewstuff/knewstuff.h>
+#include <tdenewstuff/downloaddialog.h>
+#include <tdenewstuff/knewstuff.h>
#include <tdelocale.h>
#include "kanagramsettings.h"
diff --git a/kanagram/src/newstuffdialog.cpp b/kanagram/src/newstuffdialog.cpp
index 572ec03b..ac8d1d70 100644
--- a/kanagram/src/newstuffdialog.cpp
+++ b/kanagram/src/newstuffdialog.cpp
@@ -1,7 +1,7 @@
#include "newstuffdialog.h"
-#include <knewstuff/knewstuff.h>
-#include <knewstuff/entry.h>
+#include <tdenewstuff/knewstuff.h>
+#include <tdenewstuff/entry.h>
#include <tdelocale.h>
#include <tdeio/netaccess.h>
#include <kurl.h>
@@ -9,7 +9,7 @@
#include "kanagramsettings.h"
-NewStuffDialog::NewStuffDialog() : KNewStuff("kanagram/vocabulary", "http://kde-edu.org/kanagram/" + KanagramSettings::dataLanguage() + ".xml")
+NewStuffDialog::NewStuffDialog() : TDENewStuff("kanagram", "https://www.trinitydesktop.org/ocs/providers.xml")
{
}
diff --git a/kanagram/src/newstuffdialog.h b/kanagram/src/newstuffdialog.h
index 7c61f12e..07d727eb 100644
--- a/kanagram/src/newstuffdialog.h
+++ b/kanagram/src/newstuffdialog.h
@@ -1,9 +1,9 @@
#ifndef NEWSTUFFDIALOG_H
#define NEWSTUFFDIALOG_H
-#include <knewstuff/knewstuff.h>
+#include <tdenewstuff/knewstuff.h>
-class NewStuffDialog : public KNewStuff
+class NewStuffDialog : public TDENewStuff
{
public:
NewStuffDialog();