By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 2127
Collapse All | Expand All

(-)a/doc/khangman/index.docbook (-3 / +3 lines)
Lines 455-461 Some languages also have hints to help you guess the word. The hint is shown by Link Here
455
<guimenu>Game</guimenu>
455
<guimenu>Game</guimenu>
456
<guimenuitem>Get Words in New Language...</guimenuitem>
456
<guimenuitem>Get Words in New Language...</guimenuitem>
457
</menuchoice></term>
457
</menuchoice></term>
458
<listitem><para><action>Display</action> the KNewStuff dialog which lists all the data available in the different languages. </para></listitem>
458
<listitem><para><action>Display</action> the TDENewStuff dialog which lists all the data available in the different languages. </para></listitem>
459
</varlistentry>
459
</varlistentry>
460
<varlistentry>
460
<varlistentry>
461
<term><menuchoice>
461
<term><menuchoice>
Lines 713-719 install</command>, depending on your installation.</para> Link Here
713
</step>
713
</step>
714
<step><para>Instead of committing your files, please sent them to
714
<step><para>Instead of committing your files, please sent them to
715
&Anne-Marie.Mahfouf; &Anne-Marie.Mahfouf.mail; tarred and gzipped. As there are
715
&Anne-Marie.Mahfouf; &Anne-Marie.Mahfouf.mail; tarred and gzipped. As there are
716
now twenty three languages, a wizard (KNewStuff) is now included in &khangman;
716
now twenty three languages, a wizard (TDENewStuff) is now included in &khangman;
717
to easily download and install new languages that are placed on the website.
717
to easily download and install new languages that are placed on the website.
718
This is done to reduce the size of the tdeedu module and it will also be done in
718
This is done to reduce the size of the tdeedu module and it will also be done in
719
&klettres;, &kstars; and maybe &ktouch;.
719
&klettres;, &kstars; and maybe &ktouch;.
Lines 737-743 The provider name (i.e. the address of the website where to download the new lan Link Here
737
The English language (default) and the user language from his i18n package(s) (if available) are stored in <filename class="directory">$TDEDIR/share/apps/khangman</filename>.
737
The English language (default) and the user language from his i18n package(s) (if available) are stored in <filename class="directory">$TDEDIR/share/apps/khangman</filename>.
738
</para>
738
</para>
739
<para>
739
<para>
740
In the configuration file, stored for each user in his <filename>~/.trinity/share/config/khangmanrc</filename> are saved all the game settings such as the background, last level played, ... plus the files that were downloaded from the KNewStuff dialog.
740
In the configuration file, stored for each user in his <filename>~/.trinity/share/config/khangmanrc</filename> are saved all the game settings such as the background, last level played, ... plus the files that were downloaded from the TDENewStuff dialog.
741
</para>
741
</para>
742
</sect1>
742
</sect1>
743
<sect1 id="planned-features">
743
<sect1 id="planned-features">
(-)a/kanagram/src/kanagram.cpp (-1 / +1 lines)
Lines 743-749 void Kanagram::showSettings() Link Here
743
	configDialog->addPage( new MainSettings( configDialog ), i18n( "General" ), "configure" );
743
	configDialog->addPage( new MainSettings( configDialog ), i18n( "General" ), "configure" );
744
	m_vocabSettings = new VocabSettings( configDialog );
744
	m_vocabSettings = new VocabSettings( configDialog );
745
	configDialog->addPage( m_vocabSettings, i18n("Vocabularies"), "edit" );
745
	configDialog->addPage( m_vocabSettings, i18n("Vocabularies"), "edit" );
746
	configDialog->addPage( new NewStuff( configDialog ), i18n("New Stuff"), "knewstuff" );
746
	configDialog->addPage( new NewStuff( configDialog ), i18n("New Stuff"), "tdenewstuff" );
747
	connect(configDialog, TQT_SIGNAL(settingsChanged()), this, TQT_SLOT(loadSettings()));
747
	connect(configDialog, TQT_SIGNAL(settingsChanged()), this, TQT_SLOT(loadSettings()));
748
	connect(configDialog, TQT_SIGNAL(applyClicked()), this, TQT_SLOT(refreshVocabularies()));
748
	connect(configDialog, TQT_SIGNAL(applyClicked()), this, TQT_SLOT(refreshVocabularies()));
749
	configDialog->exec();
749
	configDialog->exec();
(-)a/kanagram/src/newstuff.cpp (-2 / +2 lines)
Lines 4-11 Link Here
4
#include <tqpushbutton.h>
4
#include <tqpushbutton.h>
5
5
6
#include <kdebug.h>
6
#include <kdebug.h>
7
#include <knewstuff/downloaddialog.h>
7
#include <tdenewstuff/downloaddialog.h>
8
#include <knewstuff/knewstuff.h>
8
#include <tdenewstuff/knewstuff.h>
9
#include <tdelocale.h>
9
#include <tdelocale.h>
10
10
11
#include "kanagramsettings.h"
11
#include "kanagramsettings.h"
(-)a/kanagram/src/newstuffdialog.cpp (-3 / +3 lines)
Lines 1-7 Link Here
1
#include "newstuffdialog.h"
1
#include "newstuffdialog.h"
2
2
3
#include <knewstuff/knewstuff.h>
3
#include <tdenewstuff/knewstuff.h>
4
#include <knewstuff/entry.h>
4
#include <tdenewstuff/entry.h>
5
#include <tdelocale.h>
5
#include <tdelocale.h>
6
#include <tdeio/netaccess.h>
6
#include <tdeio/netaccess.h>
7
#include <kurl.h>
7
#include <kurl.h>
Lines 9-15 Link Here
9
9
10
#include "kanagramsettings.h"
10
#include "kanagramsettings.h"
11
11
12
NewStuffDialog::NewStuffDialog() : KNewStuff("kanagram/vocabulary", "http://kde-edu.org/kanagram/" + KanagramSettings::dataLanguage() + ".xml")
12
NewStuffDialog::NewStuffDialog() : TDENewStuff("kanagram/vocabulary", "http://kde-edu.org/kanagram/" + KanagramSettings::dataLanguage() + ".xml")
13
{
13
{
14
}
14
}
15
15
(-)a/kanagram/src/newstuffdialog.h (-2 / +2 lines)
Lines 1-9 Link Here
1
#ifndef NEWSTUFFDIALOG_H
1
#ifndef NEWSTUFFDIALOG_H
2
#define NEWSTUFFDIALOG_H
2
#define NEWSTUFFDIALOG_H
3
3
4
#include <knewstuff/knewstuff.h>
4
#include <tdenewstuff/knewstuff.h>
5
5
6
class NewStuffDialog : public KNewStuff
6
class NewStuffDialog : public TDENewStuff
7
{
7
{
8
	public:
8
	public:
9
		NewStuffDialog();
9
		NewStuffDialog();
(-)a/keduca/TODO (-1 / +1 lines)
Lines 4-10 KEduca TODOs: Link Here
4
    -> "Explain" feature
4
    -> "Explain" feature
5
5
6
  Things that NEED to be done before KDE 3.4:
6
  Things that NEED to be done before KDE 3.4:
7
    -> Use KNewStuff
7
    -> Use TDENewStuff
8
    -> Go through all reports in b.k.o and fix what can be fixed
8
    -> Go through all reports in b.k.o and fix what can be fixed
9
9
10
  Things that would be nice to have done for KDE 3.4:
10
  Things that would be nice to have done for KDE 3.4:
(-)a/khangman/README.languages (-2 / +2 lines)
Lines 66-76 Note that you must use UTF-8 encoding when editing the files. If your editor can Link Here
66
66
67
     khangman
67
     khangman
68
68
69
7. Instead of committing your files, please sent them to me tarred and gzipped. As there are now twenty two languages, a   wizard (KNewStuff) is now included in KHangMan to easily download and install new languages that are placed on the website. This is done to reduce the size of the tdeedu module and it will also be done in KLettres, KStars and maybe KTouch.
69
7. Instead of committing your files, please sent them to me tarred and gzipped. As there are now twenty two languages, a   wizard (TDENewStuff) is now included in KHangMan to easily download and install new languages that are placed on the website. This is done to reduce the size of the tdeedu module and it will also be done in KLettres, KStars and maybe KTouch.
70
 Please contact me by email (annemarie.mahfouf AT free DOT fr) if you need further information.
70
 Please contact me by email (annemarie.mahfouf AT free DOT fr) if you need further information.
71
 When you send me the files, please don't forget to mention any special characters used in your language (put them in a text file, one per line and add this file in the tarball) and please mention any other specificity.
71
 When you send me the files, please don't forget to mention any special characters used in your language (put them in a text file, one per line and add this file in the tarball) and please mention any other specificity.
72
 Please never commit files in a BRANCH as it might break the game.
72
 Please never commit files in a BRANCH as it might break the game.
73
73
74
Good luck and thanks!
74
Good luck and thanks!
75
75
76
Last update: October 23rd 2004
76
Last update: October 23rd 2004
(-)a/khangman/khangman/Makefile.am (-1 / +1 lines)
Lines 1-7 Link Here
1
####### tdevelop will overwrite this part!!! (begin)##########
1
####### tdevelop will overwrite this part!!! (begin)##########
2
bin_PROGRAMS = khangman
2
bin_PROGRAMS = khangman
3
khangman_SOURCES = khangman.cpp main.cpp khangmanview.cpp prefs.kcfgc khnewstuff.cpp normal.ui advanced.ui timerdlg.ui timer.cpp  fontchecker.cpp 
3
khangman_SOURCES = khangman.cpp main.cpp khangmanview.cpp prefs.kcfgc khnewstuff.cpp normal.ui advanced.ui timerdlg.ui timer.cpp  fontchecker.cpp 
4
khangman_LDADD   =  $(LIB_TDEUI) $(LIB_TDEIO) $(top_builddir)/libtdeedu/tdeeducore/libtdeeducore.la -lknewstuff
4
khangman_LDADD   =  $(LIB_TDEUI) $(LIB_TDEIO) $(top_builddir)/libtdeedu/tdeeducore/libtdeeducore.la -ltdenewstuff
5
5
6
SUBDIRS = data pics sounds icons fonts
6
SUBDIRS = data pics sounds icons fonts
7
7
(-)a/khangman/khangman/khangman.cpp (-2 / +2 lines)
Lines 78-84 void KHangMan::setupActions() Link Here
78
    action->setToolTip(i18n( "Play with a new word" ));
78
    action->setToolTip(i18n( "Play with a new word" ));
79
79
80
    // Game->Get Words in New Language
80
    // Game->Get Words in New Language
81
    new TDEAction( i18n("&Get Words in New Language..."), "knewstuff", CTRL+Key_G, TQT_TQOBJECT(this), TQT_SLOT( slotDownloadNewStuff() ), actionCollection(), "downloadnewstuff" );
81
    new TDEAction( i18n("&Get Words in New Language..."), "tdenewstuff", CTRL+Key_G, TQT_TQOBJECT(this), TQT_SLOT( slotDownloadNewStuff() ), actionCollection(), "downloadnewstuff" );
82
82
83
    KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(slotQuit()), actionCollection());
83
    KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(slotQuit()), actionCollection());
84
    
84
    
Lines 224-230 void KHangMan::setLanguages() Link Here
224
224
225
    // Write the present languages in config so they cannot be downloaded.
225
    // Write the present languages in config so they cannot be downloaded.
226
    TDEConfig *config=kapp->config();
226
    TDEConfig *config=kapp->config();
227
    config->setGroup("KNewStuffStatus");
227
    config->setGroup("TDENewStuffStatus");
228
    for (uint i=0;  i<m_languages.count(); i++) {
228
    for (uint i=0;  i<m_languages.count(); i++) {
229
        TQString tmp = m_languages[i];
229
        TQString tmp = m_languages[i];
230
        if (!config->readEntry(tmp))
230
        if (!config->readEntry(tmp))
(-)a/khangman/khangman/khangman.h (-1 / +1 lines)
Lines 129-135 private slots: Link Here
129
129
130
    ///In Settings menu, Configure KHangMan... menu item
130
    ///In Settings menu, Configure KHangMan... menu item
131
    void optionsPreferences();
131
    void optionsPreferences();
132
    ///access the KNewStuff class to install new data
132
    ///access the TDENewStuff class to install new data
133
    void slotDownloadNewStuff();
133
    void slotDownloadNewStuff();
134
    ///update settings after Settings->Configure KHangMan dialog is closed
134
    ///update settings after Settings->Configure KHangMan dialog is closed
135
    void updateSettings();
135
    void updateSettings();
(-)a/khangman/khangman/khangman.kcfg (-1 / +1 lines)
Lines 93-99 Link Here
93
        </entry>
93
        </entry>
94
    </group>
94
    </group>
95
95
96
    <group name="KNewStuff">
96
    <group name="TDENewStuff">
97
        <entry name="ProvidersUrl" type="Path">
97
        <entry name="ProvidersUrl" type="Path">
98
            <label>The Providers path for KHangMan</label>
98
            <label>The Providers path for KHangMan</label>
99
             <default code="true">"http://edu.kde.org/khangman/downloads/providers.xml"</default>
99
             <default code="true">"http://edu.kde.org/khangman/downloads/providers.xml"</default>
(-)a/khangman/khangman/khangmanrc (-1 / +1 lines)
Lines 1-2 Link Here
1
[KNewStuff]
1
[TDENewStuff]
2
ProvidersUrl=http://edu.kde.org/khangman/downloads/providers.xml
2
ProvidersUrl=http://edu.kde.org/khangman/downloads/providers.xml
(-)a/khangman/khangman/khnewstuff.cpp (-1 / +1 lines)
Lines 33-39 Link Here
33
#include "khnewstuff.h"
33
#include "khnewstuff.h"
34
34
35
KHNewStuff::KHNewStuff( KHangManView *view ) :
35
KHNewStuff::KHNewStuff( KHangManView *view ) :
36
  KNewStuff( "khangman", view ),
36
  TDENewStuff( "khangman", view ),
37
  m_view( view )
37
  m_view( view )
38
{
38
{
39
}
39
}
(-)a/khangman/khangman/khnewstuff.h (-2 / +2 lines)
Lines 24-35 Link Here
24
#ifndef KHNEWSTUFF_H
24
#ifndef KHNEWSTUFF_H
25
#define KHNEWSTUFF_H
25
#define KHNEWSTUFF_H
26
26
27
#include "knewstuff/knewstuff.h"
27
#include "tdenewstuff/knewstuff.h"
28
#include "khangman.h"
28
#include "khangman.h"
29
29
30
class KHangMan;
30
class KHangMan;
31
31
32
class KHNewStuff : public KNewStuff
32
class KHNewStuff : public TDENewStuff
33
{
33
{
34
  public:
34
  public:
35
    KHNewStuff( KHangManView * );
35
    KHNewStuff( KHangManView * );
(-)a/klettres/klettres/Makefile.am (-1 / +1 lines)
Lines 4-10 bin_PROGRAMS = klettres Link Here
4
## INCLUDES were found outside tdevelop specific part
4
## INCLUDES were found outside tdevelop specific part
5
5
6
klettres_SOURCES = fontsdlg.ui klettres.cpp klnewstuff.cpp main.cpp klettresview.cpp soundfactory.cpp prefs.kcfgc timerdlg.ui timer.cpp
6
klettres_SOURCES = fontsdlg.ui klettres.cpp klnewstuff.cpp main.cpp klettresview.cpp soundfactory.cpp prefs.kcfgc timerdlg.ui timer.cpp
7
klettres_LDADD   = $(LIB_TDEUI) -lknewstuff
7
klettres_LDADD   = $(LIB_TDEUI) -ltdenewstuff
8
8
9
SUBDIRS = pics data icons
9
SUBDIRS = pics data icons
10
10
(-)a/klettres/klettres/klettres.cpp (-2 / +2 lines)
Lines 122-128 void KLettres::findLanguages() Link Here
122
    m_languages.sort();
122
    m_languages.sort();
123
    //write the present languages in config so they cannot be downloaded
123
    //write the present languages in config so they cannot be downloaded
124
    TDEConfig *config=kapp->config();
124
    TDEConfig *config=kapp->config();
125
    config->setGroup("KNewStuffStatus");
125
    config->setGroup("TDENewStuffStatus");
126
    for (uint i=0;  i<m_languages.count(); i++)
126
    for (uint i=0;  i<m_languages.count(); i++)
127
    {
127
    {
128
        TQString tmp = m_languages[i];
128
        TQString tmp = m_languages[i];
Lines 198-204 void KLettres::setupActions() Link Here
198
    TDEAction *m_newAction = new TDEAction(i18n("New Sound"), "file_new", CTRL+Key_N, TQT_TQOBJECT(m_view), TQT_SLOT(game()), actionCollection(), "play_new");
198
    TDEAction *m_newAction = new TDEAction(i18n("New Sound"), "file_new", CTRL+Key_N, TQT_TQOBJECT(m_view), TQT_SLOT(game()), actionCollection(), "play_new");
199
    m_newAction->setToolTip(i18n("Play a new sound"));
199
    m_newAction->setToolTip(i18n("Play a new sound"));
200
    m_newAction->setWhatsThis(i18n("You can play a new sound by clicking this button or using the File menu, New Sound.")); 
200
    m_newAction->setWhatsThis(i18n("You can play a new sound by clicking this button or using the File menu, New Sound.")); 
201
    new TDEAction( i18n("Get Alphabet in New Language..."), "knewstuff", 0, TQT_TQOBJECT(this), TQT_SLOT( slotDownloadNewStuff() ), actionCollection(), "downloadnewstuff" );
201
    new TDEAction( i18n("Get Alphabet in New Language..."), "tdenewstuff", 0, TQT_TQOBJECT(this), TQT_SLOT( slotDownloadNewStuff() ), actionCollection(), "downloadnewstuff" );
202
    TDEAction *m_playAgainAction = new TDEAction(i18n("Replay Sound"),"player_play", CTRL+Key_P, TQT_TQOBJECT(m_view), TQT_SLOT(slotPlayAgain()), actionCollection(), "play_again");
202
    TDEAction *m_playAgainAction = new TDEAction(i18n("Replay Sound"),"player_play", CTRL+Key_P, TQT_TQOBJECT(m_view), TQT_SLOT(slotPlayAgain()), actionCollection(), "play_again");
203
    m_playAgainAction->setToolTip(i18n("Play the same sound again"));
203
    m_playAgainAction->setToolTip(i18n("Play the same sound again"));
204
    m_playAgainAction->setWhatsThis(i18n("You can replay the same sound again by clicking this button or using the File menu, Replay Sound."));
204
    m_playAgainAction->setWhatsThis(i18n("You can replay the same sound again by clicking this button or using the File menu, Replay Sound."));
(-)a/klettres/klettres/klettres.h (-1 / +1 lines)
Lines 119-125 protected: Link Here
119
     * @param id The id of the new level
119
     * @param id The id of the new level
120
     */
120
     */
121
    void updateLevMenu(int id);
121
    void updateLevMenu(int id);
122
    ///Create a KNewStuff instance
122
    ///Create a TDENewStuff instance
123
    KLNewStuff *mNewStuff;
123
    KLNewStuff *mNewStuff;
124
    ///Set the correct buttons on the second toolbar according to the language
124
    ///Set the correct buttons on the second toolbar according to the language
125
    void loadLangToolBar();
125
    void loadLangToolBar();
(-)a/klettres/klettres/klettresrc (-1 / +1 lines)
Lines 1-3 Link Here
1
[KNewStuff]
1
[TDENewStuff]
2
ProvidersUrl=http://edu.kde.org/klettres/downloads/providers.xml
2
ProvidersUrl=http://edu.kde.org/klettres/downloads/providers.xml
3
3
(-)a/klettres/klettres/klnewstuff.cpp (-1 / +1 lines)
Lines 26-32 Link Here
26
#include "prefs.h"
26
#include "prefs.h"
27
27
28
KLNewStuff::KLNewStuff( KLettresView *view ) :
28
KLNewStuff::KLNewStuff( KLettresView *view ) :
29
        KNewStuff( "klettres", view ),
29
        TDENewStuff( "klettres", view ),
30
        m_view( view )
30
        m_view( view )
31
{
31
{
32
}
32
}
(-)a/klettres/klettres/klnewstuff.h (-2 / +2 lines)
Lines 19-30 Link Here
19
#ifndef KLNEWSTUFF_H
19
#ifndef KLNEWSTUFF_H
20
#define KLNEWSTUFF_H
20
#define KLNEWSTUFF_H
21
21
22
#include "knewstuff/knewstuff.h"
22
#include "tdenewstuff/knewstuff.h"
23
#include "klettres.h"
23
#include "klettres.h"
24
24
25
class KLettres;
25
class KLettres;
26
26
27
class KLNewStuff : public KNewStuff
27
class KLNewStuff : public TDENewStuff
28
{
28
{
29
public:
29
public:
30
    KLNewStuff( KLettresView * );
30
    KLNewStuff( KLettresView * );
(-)a/kstars/kstars/Makefile.am (-1 / +1 lines)
Lines 28-34 kstars_SOURCES = addcatdialog.cpp addlinkdialog.cpp colorscheme.cpp \ Link Here
28
kde_kcfg_DATA = kstars.kcfg
28
kde_kcfg_DATA = kstars.kcfg
29
kde_conf_DATA = kstarsrc
29
kde_conf_DATA = kstarsrc
30
30
31
kstars_LDADD = indi/liblilxml.a indi/libindicom.a tools/libkstarstools.a $(top_builddir)/libtdeedu/tdeeduplot/libtdeeduplot.la $(top_builddir)/libtdeedu/tdeeduui/libtdeeduui.la $(top_builddir)/libtdeedu/extdate/libextdate.la -ltdeprint -lknewstuff -lm -lz
31
kstars_LDADD = indi/liblilxml.a indi/libindicom.a tools/libkstarstools.a $(top_builddir)/libtdeedu/tdeeduplot/libtdeeduplot.la $(top_builddir)/libtdeedu/tdeeduui/libtdeeduui.la $(top_builddir)/libtdeedu/extdate/libextdate.la -ltdeprint -ltdenewstuff -lm -lz
32
32
33
SUBDIRS = indi tools . data icons 
33
SUBDIRS = indi tools . data icons 
34
34
(-)a/kstars/kstars/ksnewstuff.cpp (-1 / +1 lines)
Lines 38-44 Link Here
38
#include "skymap.h"
38
#include "skymap.h"
39
39
40
KSNewStuff::KSNewStuff( TQWidget *parent ) :
40
KSNewStuff::KSNewStuff( TQWidget *parent ) :
41
  TQObject(), KNewStuff( "kstars", parent ), NGCUpdated( false )
41
  TQObject(), TDENewStuff( "kstars", parent ), NGCUpdated( false )
42
{
42
{
43
	ks = (KStars*)parent;
43
	ks = (KStars*)parent;
44
	kdw = new KDirWatch( this );
44
	kdw = new KDirWatch( this );
(-)a/kstars/kstars/ksnewstuff.h (-5 / +5 lines)
Lines 17-28 Link Here
17
17
18
/**
18
/**
19
	*@class KSNewStuff 
19
	*@class KSNewStuff 
20
	*Subclass of KNewStuff, which provides a GUI for downloading extra 
20
	*Subclass of KzNewStuff, which provides a GUI for downloading extra 
21
	*application data from the internet.  The KStars version is cutomized to 
21
	*application data from the internet.  The KStars version is cutomized to 
22
	*parse the newly downloaded data and incorporate it immediately into 
22
	*parse the newly downloaded data and incorporate it immediately into 
23
	*the program.
23
	*the program.
24
	*@note This class is only compiled if the user has KDE >= 3.2.90, because
24
	*@note This class is only compiled if the user has KDE >= 3.2.90, because
25
	*earlier versions of KDE did not have KNewStuff.
25
	*earlier versions of KDE did not have TDENewStuff.
26
	*@author Jason Harris
26
	*@author Jason Harris
27
	*@version 1.0
27
	*@version 1.0
28
	*/
28
	*/
Lines 36-47 Link Here
36
#include <kdebug.h>
36
#include <kdebug.h>
37
#include <tqobject.h>
37
#include <tqobject.h>
38
38
39
#include <knewstuff/knewstuff.h>
39
#include <tdenewstuff/knewstuff.h>
40
40
41
class KDirWatch;
41
class KDirWatch;
42
class KStars;
42
class KStars;
43
43
44
class KSNewStuff : public TQObject, public KNewStuff
44
class KSNewStuff : public TQObject, public TDENewStuff
45
{
45
{
46
	Q_OBJECT
46
	Q_OBJECT
47
  
47
  
Lines 55-61 class KSNewStuff : public TQObject, public KNewStuff Link Here
55
	/**
55
	/**
56
		*Install new application data
56
		*Install new application data
57
		*@p fileName the name of the file to be installed
57
		*@p fileName the name of the file to be installed
58
		*@note overloaded from KNewStuff
58
		*@note overloaded from TDENewStuff
59
		*/
59
		*/
60
		bool install( const TQString &fileName );
60
		bool install( const TQString &fileName );
61
61
(-)a/kstars/kstars/kstars.h (-1 / +1 lines)
Lines 465-471 class KStars : public TDEMainWindow, virtual public KStarsInterface Link Here
465
		void slotWizard();
465
		void slotWizard();
466
466
467
		/**
467
		/**
468
		 * action slot: open KNewStuff window to download extra data.
468
		 * action slot: open TDENewStuff window to download extra data.
469
		 */
469
		 */
470
		void slotDownload();
470
		void slotDownload();
471
471
(-)a/kstars/kstars/kstarsinit.cpp (-1 / +1 lines)
Lines 52-58 void KStars::initActions() { Link Here
52
			TQT_TQOBJECT(this), TQT_SLOT( newWindow() ), actionCollection(), "new_window");
52
			TQT_TQOBJECT(this), TQT_SLOT( newWindow() ), actionCollection(), "new_window");
53
	new TDEAction(i18n("&Close Window"), "fileclose", TDEShortcut( "Ctrl+W"  ),
53
	new TDEAction(i18n("&Close Window"), "fileclose", TDEShortcut( "Ctrl+W"  ),
54
			TQT_TQOBJECT(this), TQT_SLOT( closeWindow() ), actionCollection(), "close_window");
54
			TQT_TQOBJECT(this), TQT_SLOT( closeWindow() ), actionCollection(), "close_window");
55
	new TDEAction( i18n( "&Download Data..." ), "knewstuff", TDEShortcut( "Ctrl+D" ),
55
	new TDEAction( i18n( "&Download Data..." ), "tdenewstuff", TDEShortcut( "Ctrl+D" ),
56
			TQT_TQOBJECT(this), TQT_SLOT( slotDownload() ), actionCollection(), "get_data" );
56
			TQT_TQOBJECT(this), TQT_SLOT( slotDownload() ), actionCollection(), "get_data" );
57
	new TDEAction( i18n( "Open FITS..."), "fileopen", TDEShortcut( "Ctrl+O"), TQT_TQOBJECT(this), TQT_SLOT( slotOpenFITS()), actionCollection(), "open_file");
57
	new TDEAction( i18n( "Open FITS..."), "fileopen", TDEShortcut( "Ctrl+O"), TQT_TQOBJECT(this), TQT_SLOT( slotOpenFITS()), actionCollection(), "open_file");
58
	new TDEAction( i18n( "&Save Sky Image..." ), "fileexport", TDEShortcut( "Ctrl+I" ),
58
	new TDEAction( i18n( "&Save Sky Image..." ), "fileexport", TDEShortcut( "Ctrl+I" ),
(-)a/kstars/kstars/kstarsrc (-1 / +1 lines)
Lines 1-2 Link Here
1
[KNewStuff]
1
[TDENewStuff]
2
ProvidersUrl=http://edu.kde.org/kstars/downloads/providers.xml
2
ProvidersUrl=http://edu.kde.org/kstars/downloads/providers.xml
(-)a/kturtle/TODO (-2 / +2 lines)
Lines 6-12 for KDE 3.5 Link Here
6
- add the fractals examples from http://www.stber-koenig.de/markus/kturtle/ in the examples folder
6
- add the fractals examples from http://www.stber-koenig.de/markus/kturtle/ in the examples folder
7
-> problem when adding examples for translations
7
-> problem when adding examples for translations
8
8
9
- implement KNewStuff to share logo files via kde-files.org per language with png associated on the website
9
- implement TDENewStuff to share logo files via kde-files.org per language with png associated on the website
10
10
11
11
12
    CHECKLIST FOR KTURTLE IN KDE 3.4:
12
    CHECKLIST FOR KTURTLE IN KDE 3.4:
Lines 180-186 Preview in konqueror: (from IRC discussion about the preview thing a mimetype an Link Here
180
<cies> we could but what is the use of it? will it help to fulfill kturtles objectives?
180
<cies> we could but what is the use of it? will it help to fulfill kturtles objectives?
181
181
182
182
183
Translating data in the knewstuff.xml file: how would the translators access the file which is on the server?
183
Translating data in the tdenewstuff.xml file: how would the translators access the file which is on the server?
184
  - i dunno what's ment by this.. annma?
184
  - i dunno what's ment by this.. annma?
185
185
186
186
(-)a/kvoctrain/kvoctrain/Makefile.am (-1 / +1 lines)
Lines 13-19 spotlight2kvtml_LDADD = $(LIB_TDECORE) Link Here
13
kvoctrain_LDADD = ./docprop-dialogs/libdocpropdlg.la \
13
kvoctrain_LDADD = ./docprop-dialogs/libdocpropdlg.la \
14
	./entry-dialogs/libentrydlg.la ./kvt-core/libkvoctraincore.la ./kvt-core/kvt-xml/libkvtxml.la \
14
	./entry-dialogs/libentrydlg.la ./kvt-core/libkvoctraincore.la ./kvt-core/kvt-xml/libkvtxml.la \
15
	./query-dialogs/libquerydlg.la ./statistik-dialogs/libstatdlg.la ./common-dialogs/libcommondlg.la \
15
	./query-dialogs/libquerydlg.la ./statistik-dialogs/libstatdlg.la ./common-dialogs/libcommondlg.la \
16
	-lknewstuff $(LIB_TDEPRINT)
16
	-ltdenewstuff $(LIB_TDEPRINT)
17
17
18
EXTRA_DIST = kvoctrainui.rc
18
EXTRA_DIST = kvoctrainui.rc
19
19
(-)a/kvoctrain/kvoctrain/common-dialogs/kvoctrain.kcfg (-1 / +1 lines)
Lines 246-252 Link Here
246
      <default param="7">10368000</default>
246
      <default param="7">10368000</default>
247
    </entry>
247
    </entry>
248
  </group>
248
  </group>
249
  <group name="KNewStuff">
249
  <group name="TDENewStuff">
250
    <entry name="ProvidersUrl" type="Path">
250
    <entry name="ProvidersUrl" type="Path">
251
       <label>The Providers path for KVocTrain</label>
251
       <label>The Providers path for KVocTrain</label>
252
         <default>"http://edu.kde.org/kvoctrain/providers.xml"</default>
252
         <default>"http://edu.kde.org/kvoctrain/providers.xml"</default>
(-)a/kvoctrain/kvoctrain/kva_init.cpp (-1 / +1 lines)
Lines 110-116 void kvoctrainApp::initActions() Link Here
110
  fileOpen->setWhatsThis(i18n("Open a vocabulary document"));
110
  fileOpen->setWhatsThis(i18n("Open a vocabulary document"));
111
  fileOpen->setToolTip(fileOpen->whatsThis());
111
  fileOpen->setToolTip(fileOpen->whatsThis());
112
112
113
  fileGHNS = new TDEAction(i18n("&Get New Vocabularies..."), "knewstuff", CTRL+Key_G, TQT_TQOBJECT(this), TQT_SLOT(slotGHNS()), actionCollection(), "file_ghns");
113
  fileGHNS = new TDEAction(i18n("&Get New Vocabularies..."), "tdenewstuff", CTRL+Key_G, TQT_TQOBJECT(this), TQT_SLOT(slotGHNS()), actionCollection(), "file_ghns");
114
  fileGHNS->setWhatsThis(i18n("Downloads new vocabularies"));
114
  fileGHNS->setWhatsThis(i18n("Downloads new vocabularies"));
115
  fileGHNS->setToolTip(fileGHNS->whatsThis());
115
  fileGHNS->setToolTip(fileGHNS->whatsThis());
116
116
(-)a/kvoctrain/kvoctrain/kva_io.cpp (-1 / +1 lines)
Lines 35-41 Link Here
35
#include <tdelocale.h>
35
#include <tdelocale.h>
36
#include <kstandarddirs.h>
36
#include <kstandarddirs.h>
37
#include <kdebug.h>
37
#include <kdebug.h>
38
#include <knewstuff/downloaddialog.h>
38
#include <tdenewstuff/downloaddialog.h>
39
39
40
#include "kvoctrain.h"
40
#include "kvoctrain.h"
41
#include "UsageManager.h"
41
#include "UsageManager.h"
(-)a/kvoctrain/kvoctrain/kvoctrain.h (-1 / +1 lines)
Lines 291-297 private: Link Here
291
  // correct_0_times, we simply reuse random_expr1.
291
  // correct_0_times, we simply reuse random_expr1.
292
  vector<QueryEntryRef> correct_1_times, correct_2_times, correct_3_times;
292
  vector<QueryEntryRef> correct_1_times, correct_2_times, correct_3_times;
293
  QuerySelection queryList;
293
  QuerySelection queryList;
294
  //KNewStuff       *m_GHNS;
294
  //TDENewStuff       *m_GHNS;
295
  TQTimer          *btimer;
295
  TQTimer          *btimer;
296
  int              random_query_nr;
296
  int              random_query_nr;
297
  bool             querymode;
297
  bool             querymode;
(-)a/kvoctrain/kvoctrain/kvoctrainrc (-1 / +1 lines)
Lines 1-2 Link Here
1
[KNewStuff]
1
[TDENewStuff]
2
ProvidersUrl=http://edu.kde.org/contrib/kvtml/providers.xml
2
ProvidersUrl=http://edu.kde.org/contrib/kvtml/providers.xml
(-)a/kvoctrain/kvoctrain/kvtnewstuff.cpp (-3 / +3 lines)
Lines 16-28 Link Here
16
#include <tdelocale.h>
16
#include <tdelocale.h>
17
#include <kstandarddirs.h>
17
#include <kstandarddirs.h>
18
#include <tdemessagebox.h>
18
#include <tdemessagebox.h>
19
#include <knewstuff/entry.h>
19
#include <tdenewstuff/entry.h>
20
20
21
#include "kvoctrain.h"
21
#include "kvoctrain.h"
22
#include "kvtnewstuff.h"
22
#include "kvtnewstuff.h"
23
#include "prefs.h"
23
#include "prefs.h"
24
24
25
KVTNewStuff::KVTNewStuff(TQWidget *parent, const char * /*name*/) : TQObject(), KNewStuff("tdeedu/vocabulary", parent)
25
KVTNewStuff::KVTNewStuff(TQWidget *parent, const char * /*name*/) : TQObject(), TDENewStuff("tdeedu/vocabulary", parent)
26
{
26
{
27
  m_app = (kvoctrainApp*) parent;
27
  m_app = (kvoctrainApp*) parent;
28
}
28
}
Lines 53-59 TQString KVTNewStuff::destinationPath(KNS::Entry * entry) Link Here
53
    TQString file;
53
    TQString file;
54
54
55
    if (path.isEmpty())
55
    if (path.isEmpty())
56
      file = KNewStuff::downloadDestination(entry); //fall back on a temp file, should never happen
56
      file = TDENewStuff::downloadDestination(entry); //fall back on a temp file, should never happen
57
    else
57
    else
58
    {
58
    {
59
      file = TQDir::home().path() + "/" + path + "/";
59
      file = TQDir::home().path() + "/" + path + "/";
(-)a/kvoctrain/kvoctrain/kvtnewstuff.h (-3 / +3 lines)
Lines 12-25 Link Here
12
#ifndef KVTNEWSTUFF_H
12
#ifndef KVTNEWSTUFF_H
13
#define KVTNEWSTUFF_H
13
#define KVTNEWSTUFF_H
14
14
15
#include <knewstuff/knewstuff.h>
15
#include <tdenewstuff/knewstuff.h>
16
16
17
class kvoctrainApp;
17
class kvoctrainApp;
18
18
19
/**
19
/**
20
@author Peter Hedlund
20
@author Peter Hedlund
21
*/
21
*/
22
class KVTNewStuff : public TQObject, public KNewStuff
22
class KVTNewStuff : public TQObject, public TDENewStuff
23
{
23
{
24
Q_OBJECT
24
Q_OBJECT
25
  
25
  
Lines 36-42 public: Link Here
36
36
37
  /**
37
  /**
38
    Creates a file suitable for upload.
38
    Creates a file suitable for upload.
39
    Note that this method always fails, since using KNewStuffGeneric
39
    Note that this method always fails, since using TDENewStuffGeneric
40
    means that the provided file must already be in a usable format.
40
    means that the provided file must already be in a usable format.
41
41
42
    @param fileName the name of the file to upload after its creation
42
    @param fileName the name of the file to upload after its creation
(-)a/kwordquiz/src/Makefile.am (-1 / +1 lines)
Lines 12-18 kwordquiz_SOURCES = kwordquizprefs.cpp kwordquizview.cpp kwordquizdoc.cpp \ Link Here
12
			prefcharacterbase.ui paukerreader.cpp wqlreader.cpp wqlwriter.cpp wqundo.cpp prefs.kcfgc \
12
			prefcharacterbase.ui paukerreader.cpp wqlreader.cpp wqlwriter.cpp wqundo.cpp prefs.kcfgc \
13
		prefcardappearance.cpp prefcardappearancebase.ui kwqnewstuff.cpp kwqnewstuff.h
13
		prefcardappearance.cpp prefcardappearancebase.ui kwqnewstuff.cpp kwqnewstuff.h
14
kwordquiz_LDADD = $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEFILE) \
14
kwordquiz_LDADD = $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEFILE) \
15
	$(LIBSOCKET) $(LIB_TDEPRINT) -lknewstuff
15
	$(LIBSOCKET) $(LIB_TDEPRINT) -ltdenewstuff
16
16
17
17
18
EXTRA_DIST = main.cpp kwordquiz.cpp kwordquiz.h kwordquizdoc.cpp kwordquizdoc.h kwordquizview.cpp kwordquizview.h kwordquizui.rc kwordquizprefs.cpp kwordquizprefs.h
18
EXTRA_DIST = main.cpp kwordquiz.cpp kwordquiz.h kwordquizdoc.cpp kwordquizdoc.h kwordquizview.cpp kwordquizview.h kwordquizui.rc kwordquizprefs.cpp kwordquizprefs.h
(-)a/kwordquiz/src/kwordquiz.cpp (-1 / +1 lines)
Lines 115-121 void KWordQuizApp::initActions() Link Here
115
115
116
  fileOpenRecent = KStdAction::openRecent(TQT_TQOBJECT(this), TQT_SLOT(slotFileOpenRecent(const KURL&)), actionCollection());
116
  fileOpenRecent = KStdAction::openRecent(TQT_TQOBJECT(this), TQT_SLOT(slotFileOpenRecent(const KURL&)), actionCollection());
117
117
118
  fileGHNS = new TDEAction(i18n("&Get New Vocabularies..."), "knewstuff", "CTRL+G", TQT_TQOBJECT(this), TQT_SLOT(slotFileGHNS()), actionCollection(), "file_ghns");
118
  fileGHNS = new TDEAction(i18n("&Get New Vocabularies..."), "tdenewstuff", "CTRL+G", TQT_TQOBJECT(this), TQT_SLOT(slotFileGHNS()), actionCollection(), "file_ghns");
119
  fileGHNS->setWhatsThis(i18n("Downloads new vocabularies"));
119
  fileGHNS->setWhatsThis(i18n("Downloads new vocabularies"));
120
  fileGHNS->setToolTip(fileGHNS->whatsThis());
120
  fileGHNS->setToolTip(fileGHNS->whatsThis());
121
121
(-)a/kwordquiz/src/kwordquiz.kcfg (-2 / +2 lines)
Lines 101-107 Link Here
101
      <default code="true">Qt::blue</default>
101
      <default code="true">Qt::blue</default>
102
    </entry>
102
    </entry>
103
  </group>
103
  </group>
104
  <group name="KNewStuff">
104
  <group name="TDENewStuff">
105
    <entry name="ProvidersUrl" type="Path">
105
    <entry name="ProvidersUrl" type="Path">
106
       <label>The Providers path for KWordQuiz</label>
106
       <label>The Providers path for KWordQuiz</label>
107
         <default code="true">"http://edu.kde.org/kvoctrain/providers.xml"</default>
107
         <default code="true">"http://edu.kde.org/kvoctrain/providers.xml"</default>
Lines 115-118 Link Here
115
       <default>Vocabularies</default>
115
       <default>Vocabularies</default>
116
    </entry>
116
    </entry>
117
  </group>
117
  </group>
118
</kcfg>
118
</kcfg>
(-)a/kwordquiz/src/kwordquizrc (-2 / +2 lines)
Lines 1-2 Link Here
1
[KNewStuff]
1
[TDENewStuff]
2
ProvidersUrl=http://edu.kde.org/contrib/kvtml/providers.xml
2
ProvidersUrl=http://edu.kde.org/contrib/kvtml/providers.xml
(-)a/kwordquiz/src/kwqnewstuff.cpp (-4 / +4 lines)
Lines 1-5 Link Here
1
/***************************************************************************
1
/***************************************************************************
2
                          Implementation of KNewStuff
2
                          Implementation of TDENewStuff
3
                             -------------------
3
                             -------------------
4
    begin                : Thu Jun 02 13:12:30 PDT 2002
4
    begin                : Thu Jun 02 13:12:30 PDT 2002
5
    copyright            : (C) 2005 by Peter Hedlund
5
    copyright            : (C) 2005 by Peter Hedlund
Lines 21-33 Link Here
21
#include <tdelocale.h>
21
#include <tdelocale.h>
22
#include <kstandarddirs.h>
22
#include <kstandarddirs.h>
23
#include <tdemessagebox.h>
23
#include <tdemessagebox.h>
24
#include <knewstuff/entry.h>
24
#include <tdenewstuff/entry.h>
25
25
26
#include "kwordquiz.h"
26
#include "kwordquiz.h"
27
#include "kwqnewstuff.h"
27
#include "kwqnewstuff.h"
28
#include "prefs.h"
28
#include "prefs.h"
29
29
30
KWQNewStuff::KWQNewStuff(TQWidget *parent, const char *name) : TQObject(), KNewStuff("tdeedu/vocabulary", parent)
30
KWQNewStuff::KWQNewStuff(TQWidget *parent, const char *name) : TQObject(), TDENewStuff("tdeedu/vocabulary", parent)
31
{
31
{
32
  m_app = (KWordQuizApp *) parent;
32
  m_app = (KWordQuizApp *) parent;
33
}
33
}
Lines 57-63 TQString KWQNewStuff::destinationPath(KNS::Entry * entry) Link Here
57
    TQString file;
57
    TQString file;
58
58
59
    if (path.isEmpty())
59
    if (path.isEmpty())
60
      file = KNewStuff::downloadDestination(entry); //fall back on a temp file, should never happen
60
      file = TDENewStuff::downloadDestination(entry); //fall back on a temp file, should never happen
61
    else
61
    else
62
    {
62
    {
63
      file = TQDir::home().path() + "/" + path + "/";
63
      file = TQDir::home().path() + "/" + path + "/";
(-)a/kwordquiz/src/kwqnewstuff.h (-4 / +4 lines)
Lines 1-5 Link Here
1
/***************************************************************************
1
/***************************************************************************
2
                          Implementation of KNewStuff
2
                          Implementation of TDENewStuff
3
                             -------------------
3
                             -------------------
4
    begin                : Thu Jun 02 13:12:30 PDT 2002
4
    begin                : Thu Jun 02 13:12:30 PDT 2002
5
    copyright            : (C) 2005 by Peter Hedlund
5
    copyright            : (C) 2005 by Peter Hedlund
Lines 18-31 Link Here
18
#ifndef KWTQNEWSTUFF_H
18
#ifndef KWTQNEWSTUFF_H
19
#define KWTQNEWSTUFF_H
19
#define KWTQNEWSTUFF_H
20
20
21
#include <knewstuff/knewstuff.h>
21
#include <tdenewstuff/knewstuff.h>
22
22
23
class KWordQuizApp;
23
class KWordQuizApp;
24
24
25
/**
25
/**
26
@author Peter Hedlund
26
@author Peter Hedlund
27
*/
27
*/
28
class KWQNewStuff : public TQObject, public KNewStuff
28
class KWQNewStuff : public TQObject, public TDENewStuff
29
{
29
{
30
Q_OBJECT
30
Q_OBJECT
31
  
31
  
Lines 42-48 public: Link Here
42
42
43
  /**
43
  /**
44
    Creates a file suitable for upload.
44
    Creates a file suitable for upload.
45
    Note that this method always fails, since using KNewStuffGeneric
45
    Note that this method always fails, since using TDENewStuffGeneric
46
    means that the provided file must already be in a usable format.
46
    means that the provided file must already be in a usable format.
47
47
48
    @param fileName the name of the file to upload after its creation
48
    @param fileName the name of the file to upload after its creation

Return to bug 2127