diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-05 17:48:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-05 17:48:20 +0900 |
commit | bc3c69592f7fbc99121d1eb1e27603e1415afecc (patch) | |
tree | c6c33c28f9fecad61b2b7c5d21b10c34812f2c59 /libtdegames/highscore | |
parent | 667bb584114e3bfdb8e0ecabc75fd328f3f8e4f2 (diff) | |
download | tdegames-bc3c69592f7fbc99121d1eb1e27603e1415afecc.tar.gz tdegames-bc3c69592f7fbc99121d1eb1e27603e1415afecc.zip |
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libtdegames/highscore')
-rw-r--r-- | libtdegames/highscore/kexthighscore.h | 16 | ||||
-rw-r--r-- | libtdegames/highscore/kexthighscore_item.h | 14 | ||||
-rw-r--r-- | libtdegames/highscore/khighscore.h | 2 | ||||
-rw-r--r-- | libtdegames/highscore/kscoredialog.h | 2 |
4 files changed, 17 insertions, 17 deletions
diff --git a/libtdegames/highscore/kexthighscore.h b/libtdegames/highscore/kexthighscore.h index e4412fe6..d76df4e1 100644 --- a/libtdegames/highscore/kexthighscore.h +++ b/libtdegames/highscore/kexthighscore.h @@ -40,42 +40,42 @@ extern ManagerPrivate *internal; /** * Get the current game type. */ -KDE_EXPORT uint gameType(); +TDE_EXPORT uint gameType(); /** * Set the current game type. */ -KDE_EXPORT void setGameType(uint gameType); +TDE_EXPORT void setGameType(uint gameType); /** * Configure the highscores. * @return true if the configuration has been modified and saved */ -KDE_EXPORT bool configure(TQWidget *parent); +TDE_EXPORT bool configure(TQWidget *parent); /** * Show the highscores lists. */ -KDE_EXPORT void show(TQWidget *parent); +TDE_EXPORT void show(TQWidget *parent); /** * Submit a score. See @ref Manager for usage example. * * @param widget a widget used as parent for error message box. */ -KDE_EXPORT void submitScore(const Score &score, TQWidget *widget); +TDE_EXPORT void submitScore(const Score &score, TQWidget *widget); /** * @return the last score in the local list of highscores. The worst possible * score if there are less items than the maximum number. */ -KDE_EXPORT Score lastScore(); +TDE_EXPORT Score lastScore(); /** * @return the first score in the local list of highscores (the worst possible * score if there is no entry). */ -KDE_EXPORT Score firstScore(); +TDE_EXPORT Score firstScore(); /** * This class manages highscores and players entries (several players can @@ -136,7 +136,7 @@ KDE_EXPORT Score firstScore(); * and the value of the items that you have optionnally added * with Score::setData() ; player name and date are set automatically. */ -class KDE_EXPORT Manager +class TDE_EXPORT Manager { public: /** diff --git a/libtdegames/highscore/kexthighscore_item.h b/libtdegames/highscore/kexthighscore_item.h index ac24ef83..72a5911b 100644 --- a/libtdegames/highscore/kexthighscore_item.h +++ b/libtdegames/highscore/kexthighscore_item.h @@ -37,7 +37,7 @@ namespace KExtHighscore * a highscore element (such as the score, the date, ...) or a player * info (such as the player name, the best score, ...). */ -class KDE_EXPORT Item +class TDE_EXPORT Item { public: /** @@ -172,7 +172,7 @@ enum ScoreType { Won = 0, Lost = -1, Draw = -2 }; * This class contains data for a score. You should not inherit from * this class but reimplement the methods in Highscores. */ -class KDE_EXPORT Score +class TDE_EXPORT Score { public: Score(ScoreType type = Won); @@ -241,8 +241,8 @@ class KDE_EXPORT Score friend TQDataStream &operator >>(TQDataStream &stream, Score &score); }; -KDE_EXPORT TQDataStream &operator <<(TQDataStream &stream, const Score &score); -KDE_EXPORT TQDataStream &operator >>(TQDataStream &stream, Score &score); +TDE_EXPORT TQDataStream &operator <<(TQDataStream &stream, const Score &score); +TDE_EXPORT TQDataStream &operator >>(TQDataStream &stream, Score &score); /** * This class is used to store and show scores for multiplayer games. @@ -264,7 +264,7 @@ KDE_EXPORT TQDataStream &operator >>(TQDataStream &stream, Score &score); * ms.addScore(1, score); * </pre> */ -class KDE_EXPORT MultiplayerScores +class TDE_EXPORT MultiplayerScores { public: MultiplayerScores(); @@ -309,8 +309,8 @@ class KDE_EXPORT MultiplayerScores MultiplayerScores &score); }; -KDE_EXPORT TQDataStream &operator <<(TQDataStream &stream, const MultiplayerScores &score); -KDE_EXPORT TQDataStream &operator >>(TQDataStream &stream, MultiplayerScores &score); +TDE_EXPORT TQDataStream &operator <<(TQDataStream &stream, const MultiplayerScores &score); +TDE_EXPORT TQDataStream &operator >>(TQDataStream &stream, MultiplayerScores &score); } // namespace diff --git a/libtdegames/highscore/khighscore.h b/libtdegames/highscore/khighscore.h index ebdaebf5..62451fc8 100644 --- a/libtdegames/highscore/khighscore.h +++ b/libtdegames/highscore/khighscore.h @@ -81,7 +81,7 @@ class KHighscorePrivate; * Easy, what? * @author Andreas Beckermann <b_mann@gmx.de> **/ -class KDE_EXPORT KHighscore : public TQObject +class TDE_EXPORT KHighscore : public TQObject { TQ_OBJECT diff --git a/libtdegames/highscore/kscoredialog.h b/libtdegames/highscore/kscoredialog.h index 535d4be2..6789654c 100644 --- a/libtdegames/highscore/kscoredialog.h +++ b/libtdegames/highscore/kscoredialog.h @@ -37,7 +37,7 @@ class TQWidgetStack; /** * A simple high score dialog. */ -class KDE_EXPORT KScoreDialog : public KDialogBase { +class TDE_EXPORT KScoreDialog : public KDialogBase { TQ_OBJECT |