diff options
author | François Andriot <francois.andriot@free.fr> | 2014-10-03 01:30:56 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-10-03 01:30:56 +0200 |
commit | 9a79f045fc413c4edcfe4635b9f0b44a9b35e153 (patch) | |
tree | 7a2572587c141cf95a89191651b3fb04c2e16b78 /klettres | |
parent | fc067bc74a208ab6ceb451ac0d1c30b03eb9e1f6 (diff) | |
download | tdeedu-9a79f045fc413c4edcfe4635b9f0b44a9b35e153.tar.gz tdeedu-9a79f045fc413c4edcfe4635b9f0b44a9b35e153.zip |
Update for recent TDENewStuff changes
Diffstat (limited to 'klettres')
-rw-r--r-- | klettres/klettres/Makefile.am | 2 | ||||
-rw-r--r-- | klettres/klettres/klettres.cpp | 2 | ||||
-rw-r--r-- | klettres/klettres/klettres.h | 2 | ||||
-rw-r--r-- | klettres/klettres/klettresrc | 4 | ||||
-rw-r--r-- | klettres/klettres/klnewstuff.cpp | 2 | ||||
-rw-r--r-- | klettres/klettres/klnewstuff.h | 4 |
6 files changed, 8 insertions, 8 deletions
diff --git a/klettres/klettres/Makefile.am b/klettres/klettres/Makefile.am index 4bf8aa60..168efc4e 100644 --- a/klettres/klettres/Makefile.am +++ b/klettres/klettres/Makefile.am @@ -4,7 +4,7 @@ bin_PROGRAMS = klettres ## INCLUDES were found outside tdevelop specific part klettres_SOURCES = fontsdlg.ui klettres.cpp klnewstuff.cpp main.cpp klettresview.cpp soundfactory.cpp prefs.kcfgc timerdlg.ui timer.cpp -klettres_LDADD = $(LIB_TDEUI) -lknewstuff +klettres_LDADD = $(LIB_TDEUI) $(LIB_TDENEWSTUFF) SUBDIRS = pics data icons diff --git a/klettres/klettres/klettres.cpp b/klettres/klettres/klettres.cpp index 9c635795..e899be00 100644 --- a/klettres/klettres/klettres.cpp +++ b/klettres/klettres/klettres.cpp @@ -122,7 +122,7 @@ void KLettres::findLanguages() m_languages.sort(); //write the present languages in config so they cannot be downloaded TDEConfig *config=kapp->config(); - config->setGroup("KNewStuffStatus"); + config->setGroup("TDENewStuffStatus"); for (uint i=0; i<m_languages.count(); i++) { TQString tmp = m_languages[i]; diff --git a/klettres/klettres/klettres.h b/klettres/klettres/klettres.h index 6814723f..4102cd88 100644 --- a/klettres/klettres/klettres.h +++ b/klettres/klettres/klettres.h @@ -119,7 +119,7 @@ protected: * @param id The id of the new level */ void updateLevMenu(int id); - ///Create a KNewStuff instance + ///Create a TDENewStuff instance KLNewStuff *mNewStuff; ///Set the correct buttons on the second toolbar according to the language void loadLangToolBar(); diff --git a/klettres/klettres/klettresrc b/klettres/klettres/klettresrc index ac08286b..546ebb05 100644 --- a/klettres/klettres/klettresrc +++ b/klettres/klettres/klettresrc @@ -1,3 +1,3 @@ -[KNewStuff] -ProvidersUrl=http://edu.kde.org/klettres/downloads/providers.xml +[TDENewStuff] +ProvidersUrl=https://www.trinitydesktop.org/ocs/providers.xml diff --git a/klettres/klettres/klnewstuff.cpp b/klettres/klettres/klnewstuff.cpp index fb04be11..5a542418 100644 --- a/klettres/klettres/klnewstuff.cpp +++ b/klettres/klettres/klnewstuff.cpp @@ -26,7 +26,7 @@ #include "prefs.h" KLNewStuff::KLNewStuff( KLettresView *view ) : - KNewStuff( "klettres", view ), + TDENewStuff( "klettres", view ), m_view( view ) { } diff --git a/klettres/klettres/klnewstuff.h b/klettres/klettres/klnewstuff.h index e3c6acbe..3d7e4fb3 100644 --- a/klettres/klettres/klnewstuff.h +++ b/klettres/klettres/klnewstuff.h @@ -19,12 +19,12 @@ #ifndef KLNEWSTUFF_H #define KLNEWSTUFF_H -#include "knewstuff/knewstuff.h" +#include "tdenewstuff/knewstuff.h" #include "klettres.h" class KLettres; -class KLNewStuff : public KNewStuff +class KLNewStuff : public TDENewStuff { public: KLNewStuff( KLettresView * ); |