Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit bc3c69592f)
r14.1.x
Michele Calgaro 1 month ago
parent cc694148ed
commit dd75912cd5
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -20,6 +20,6 @@
#include <kdemacros.h> #include <kdemacros.h>
#define LIBATLANTIC_EXPORT KDE_EXPORT #define LIBATLANTIC_EXPORT TDE_EXPORT
#endif #endif

@ -20,6 +20,6 @@
#include <kdemacros.h> #include <kdemacros.h>
#define LIBATLANTIKUI_EXPORT KDE_EXPORT #define LIBATLANTIKUI_EXPORT TDE_EXPORT
#endif #endif

@ -36,7 +36,7 @@ class KPlayer;
* *
* *
*/ */
class KDE_EXPORT KBgGame : public KGame class TDE_EXPORT KBgGame : public KGame
{ {
TQ_OBJECT TQ_OBJECT

@ -25,7 +25,7 @@
namespace KExtHighscore namespace KExtHighscore
{ {
class KDE_EXPORT ExtManager : public Manager class TDE_EXPORT ExtManager : public Manager
{ {
public: public:
ExtManager(); ExtManager();

@ -21,7 +21,7 @@
namespace KExtHighscore namespace KExtHighscore
{ {
class KDE_EXPORT ExtManager : public Manager class TDE_EXPORT ExtManager : public Manager
{ {
public: public:
ExtManager(); ExtManager();

@ -786,7 +786,7 @@ private:
int ithickness, iwidth, iheight; int ithickness, iwidth, iheight;
}; };
struct KDE_EXPORT CourseInfo struct TDE_EXPORT CourseInfo
{ {
CourseInfo(const TQString &_name, const TQString &_untranslatedName, const TQString &_author, unsigned int _holes, unsigned int _par) { name = _name; untranslatedName = _untranslatedName, author = _author; holes = _holes; par = _par; } CourseInfo(const TQString &_name, const TQString &_untranslatedName, const TQString &_author, unsigned int _holes, unsigned int _par) { name = _name; untranslatedName = _untranslatedName, author = _author; holes = _holes; par = _par; }
CourseInfo(); CourseInfo();
@ -798,7 +798,7 @@ struct KDE_EXPORT CourseInfo
unsigned int par; unsigned int par;
}; };
class KDE_EXPORT KolfGame : public TQCanvasView class TDE_EXPORT KolfGame : public TQCanvasView
{ {
TQ_OBJECT TQ_OBJECT

@ -24,7 +24,7 @@ class Player;
class TQWidget; class TQWidget;
class Editor; class Editor;
class KDE_EXPORT Kolf : public TDEMainWindow class TDE_EXPORT Kolf : public TDEMainWindow
{ {
TQ_OBJECT TQ_OBJECT

@ -27,7 +27,7 @@ static TDECmdLineOptions options[] =
}; };
extern "C" KDE_EXPORT int kdemain(int argc, char **argv) extern "C" TDE_EXPORT int kdemain(int argc, char **argv)
{ {
TDEAboutData aboutData( "kolf", I18N_NOOP("Kolf"), version, description, TDEAboutData::License_GPL, "(c) 2002-2005, Jason Katz-Brown", 0, "http://www.katzbrown.com/kolf/"); TDEAboutData aboutData( "kolf", I18N_NOOP("Kolf"), version, description, TDEAboutData::License_GPL, "(c) 2002-2005, Jason Katz-Brown", 0, "http://www.katzbrown.com/kolf/");

@ -29,7 +29,7 @@
namespace KExtHighscore namespace KExtHighscore
{ {
class KDE_EXPORT ExtManager : public Manager class TDE_EXPORT ExtManager : public Manager
{ {
public: public:
ExtManager(); ExtManager();

@ -12,7 +12,7 @@ class SequenceArray;
class BlockInfo; class BlockInfo;
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
class KDE_EXPORT FixedCanvasView : public TQCanvasView class TDE_EXPORT FixedCanvasView : public TQCanvasView
{ {
TQ_OBJECT TQ_OBJECT
@ -26,7 +26,7 @@ public slots:
}; };
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
class KDE_EXPORT BaseBoard : public FixedCanvasView, public GenericTetris class TDE_EXPORT BaseBoard : public FixedCanvasView, public GenericTetris
{ {
TQ_OBJECT TQ_OBJECT

@ -31,7 +31,7 @@ class TDEAboutData;
#define bfactory BaseFactory::self() #define bfactory BaseFactory::self()
class KDE_EXPORT BaseFactory class TDE_EXPORT BaseFactory
{ {
public: public:
BaseFactory(const MainData &, const BaseBoardInfo &); BaseFactory(const MainData &, const BaseBoardInfo &);

@ -15,7 +15,7 @@ class TQButton;
class GTInitData; class GTInitData;
class KCanvasRootPixmap; class KCanvasRootPixmap;
class KDE_EXPORT BaseField class TDE_EXPORT BaseField
{ {
public: public:
BaseField(TQWidget *widget); BaseField(TQWidget *widget);

@ -107,7 +107,7 @@ struct GTInitData {
uint initLevel; uint initLevel;
}; };
class KDE_EXPORT GenericTetris class TDE_EXPORT GenericTetris
{ {
public: public:
GenericTetris(uint width, uint height, bool withPieces, bool graphic); GenericTetris(uint width, uint height, bool withPieces, bool graphic);

@ -4,7 +4,7 @@
#include <highscore/kexthighscore.h> #include <highscore/kexthighscore.h>
#include <kdemacros.h> #include <kdemacros.h>
class KDE_EXPORT BaseHighscores : public KExtHighscore::Manager class TDE_EXPORT BaseHighscores : public KExtHighscore::Manager
{ {
public: public:
BaseHighscores(); BaseHighscores();

@ -41,7 +41,7 @@ class TDEToggleAction;
* This class also has a "show/hide menubar" action and allows the use * This class also has a "show/hide menubar" action and allows the use
* of a context popup menu (useful to restore the menubar when hidden). * of a context popup menu (useful to restore the menubar when hidden).
*/ */
class KDE_EXPORT KZoomMainWindow : public TDEMainWindow class TDE_EXPORT KZoomMainWindow : public TDEMainWindow
{ {
TQ_OBJECT TQ_OBJECT

@ -10,7 +10,7 @@ class TDEToggleAction;
class KKeyDialog; class KKeyDialog;
class TDEConfigDialog; class TDEConfigDialog;
class KDE_EXPORT BaseMainWindow : public KZoomMainWindow class TDE_EXPORT BaseMainWindow : public KZoomMainWindow
{ {
TQ_OBJECT TQ_OBJECT

@ -25,8 +25,8 @@
#include <kdemacros.h> #include <kdemacros.h>
#endif #endif
#ifdef KDE_EXPORT #ifdef TDE_EXPORT
#define LIBKSIRTET_EXPORT KDE_EXPORT #define LIBKSIRTET_EXPORT TDE_EXPORT
#else #else
#define LIBKSIRTET_EXPORT #define LIBKSIRTET_EXPORT
#endif #endif

@ -6,7 +6,7 @@
#include <kdemacros.h> #include <kdemacros.h>
class KDE_EXPORT MPSimpleBoard : public MPBoard class TDE_EXPORT MPSimpleBoard : public MPBoard
{ {
TQ_OBJECT TQ_OBJECT

@ -40,42 +40,42 @@ extern ManagerPrivate *internal;
/** /**
* Get the current game type. * Get the current game type.
*/ */
KDE_EXPORT uint gameType(); TDE_EXPORT uint gameType();
/** /**
* Set the current game type. * Set the current game type.
*/ */
KDE_EXPORT void setGameType(uint gameType); TDE_EXPORT void setGameType(uint gameType);
/** /**
* Configure the highscores. * Configure the highscores.
* @return true if the configuration has been modified and saved * @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. * 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. * Submit a score. See @ref Manager for usage example.
* *
* @param widget a widget used as parent for error message box. * @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 * @return the last score in the local list of highscores. The worst possible
* score if there are less items than the maximum number. * 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 * @return the first score in the local list of highscores (the worst possible
* score if there is no entry). * score if there is no entry).
*/ */
KDE_EXPORT Score firstScore(); TDE_EXPORT Score firstScore();
/** /**
* This class manages highscores and players entries (several players can * 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 * and the value of the items that you have optionnally added
* with Score::setData() ; player name and date are set automatically. * with Score::setData() ; player name and date are set automatically.
*/ */
class KDE_EXPORT Manager class TDE_EXPORT Manager
{ {
public: public:
/** /**

@ -37,7 +37,7 @@ namespace KExtHighscore
* a highscore element (such as the score, the date, ...) or a player * a highscore element (such as the score, the date, ...) or a player
* info (such as the player name, the best score, ...). * info (such as the player name, the best score, ...).
*/ */
class KDE_EXPORT Item class TDE_EXPORT Item
{ {
public: 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 contains data for a score. You should not inherit from
* this class but reimplement the methods in Highscores. * this class but reimplement the methods in Highscores.
*/ */
class KDE_EXPORT Score class TDE_EXPORT Score
{ {
public: public:
Score(ScoreType type = Won); Score(ScoreType type = Won);
@ -241,8 +241,8 @@ class KDE_EXPORT Score
friend TQDataStream &operator >>(TQDataStream &stream, Score &score); friend TQDataStream &operator >>(TQDataStream &stream, Score &score);
}; };
KDE_EXPORT TQDataStream &operator <<(TQDataStream &stream, const Score &score); TDE_EXPORT TQDataStream &operator <<(TQDataStream &stream, const Score &score);
KDE_EXPORT TQDataStream &operator >>(TQDataStream &stream, Score &score); TDE_EXPORT TQDataStream &operator >>(TQDataStream &stream, Score &score);
/** /**
* This class is used to store and show scores for multiplayer games. * 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); * ms.addScore(1, score);
* </pre> * </pre>
*/ */
class KDE_EXPORT MultiplayerScores class TDE_EXPORT MultiplayerScores
{ {
public: public:
MultiplayerScores(); MultiplayerScores();
@ -309,8 +309,8 @@ class KDE_EXPORT MultiplayerScores
MultiplayerScores &score); MultiplayerScores &score);
}; };
KDE_EXPORT TQDataStream &operator <<(TQDataStream &stream, const MultiplayerScores &score); TDE_EXPORT TQDataStream &operator <<(TQDataStream &stream, const MultiplayerScores &score);
KDE_EXPORT TQDataStream &operator >>(TQDataStream &stream, MultiplayerScores &score); TDE_EXPORT TQDataStream &operator >>(TQDataStream &stream, MultiplayerScores &score);
} // namespace } // namespace

@ -81,7 +81,7 @@ class KHighscorePrivate;
* Easy, what? * Easy, what?
* @author Andreas Beckermann <b_mann@gmx.de> * @author Andreas Beckermann <b_mann@gmx.de>
**/ **/
class KDE_EXPORT KHighscore : public TQObject class TDE_EXPORT KHighscore : public TQObject
{ {
TQ_OBJECT TQ_OBJECT

@ -37,7 +37,7 @@ class TQWidgetStack;
/** /**
* A simple high score dialog. * A simple high score dialog.
*/ */
class KDE_EXPORT KScoreDialog : public KDialogBase { class TDE_EXPORT KScoreDialog : public KDialogBase {
TQ_OBJECT TQ_OBJECT

@ -37,7 +37,7 @@ class TQCanvasView;
* <li>other views of the canvas will have the same background pixmap.</li> * <li>other views of the canvas will have the same background pixmap.</li>
* </ul> * </ul>
*/ */
class KDE_EXPORT KCanvasRootPixmap : public KRootPixmap class TDE_EXPORT KCanvasRootPixmap : public KRootPixmap
{ {
TQ_OBJECT TQ_OBJECT

@ -87,7 +87,7 @@ class KCardDialogPrivate;
* @author Martin Heni <martin@heni-online.de> * @author Martin Heni <martin@heni-online.de>
* @version $Id$ * @version $Id$
*/ */
class KDE_EXPORT KCardDialog : public KDialogBase class TDE_EXPORT KCardDialog : public KDialogBase
{ {
TQ_OBJECT TQ_OBJECT

@ -33,7 +33,7 @@ class KChatPrivate;
* *
* @author Andreas Beckermann <b_mann@gmx.de> * @author Andreas Beckermann <b_mann@gmx.de>
**/ **/
class KDE_EXPORT KChat : public KChatBase class TDE_EXPORT KChat : public KChatBase
{ {
TQ_OBJECT TQ_OBJECT

@ -181,7 +181,7 @@ class KChatBasePrivate;
* *
* @author Andreas Beckermann <b_mann@gmx.de> * @author Andreas Beckermann <b_mann@gmx.de>
**/ **/
class KDE_EXPORT KChatBase : public TQFrame class TDE_EXPORT KChatBase : public TQFrame
{ {
TQ_OBJECT TQ_OBJECT

@ -27,7 +27,7 @@ class KChatBase;
class KChatDialogPrivate; class KChatDialogPrivate;
class KDE_EXPORT KChatDialog : public KDialogBase class TDE_EXPORT KChatDialog : public KDialogBase
{ {
TQ_OBJECT TQ_OBJECT

@ -31,7 +31,7 @@ class KGamePropertyBase;
class KGameDebugDialogPrivate; class KGameDebugDialogPrivate;
class KDE_EXPORT KGameDebugDialog : public KDialogBase class TDE_EXPORT KGameDebugDialog : public KDialogBase
{ {
TQ_OBJECT TQ_OBJECT

@ -71,7 +71,7 @@ class KGameDialogPrivate;
* @short Main configuration dialog for KGame * @short Main configuration dialog for KGame
* @author Andreas Beckermann <b_mann@gmx.de> * @author Andreas Beckermann <b_mann@gmx.de>
**/ **/
class KDE_EXPORT KGameDialog : public KDialogBase class TDE_EXPORT KGameDialog : public KDialogBase
{ {
TQ_OBJECT TQ_OBJECT

@ -48,7 +48,7 @@ class KGameDialogConfigPrivate;
* @short Base class for configuration widgets * @short Base class for configuration widgets
* @author Andreas Beckermann <b_mann@gmx.de> * @author Andreas Beckermann <b_mann@gmx.de>
**/ **/
class KDE_EXPORT KGameDialogConfig : public TQWidget class TDE_EXPORT KGameDialogConfig : public TQWidget
{ {
TQ_OBJECT TQ_OBJECT
@ -210,7 +210,7 @@ private:
}; };
class KGameDialogNetworkConfigPrivate; class KGameDialogNetworkConfigPrivate;
class KDE_EXPORT KGameDialogNetworkConfig : public KGameDialogConfig class TDE_EXPORT KGameDialogNetworkConfig : public KGameDialogConfig
{ {
TQ_OBJECT TQ_OBJECT

@ -59,7 +59,7 @@ class KGamePrivate;
* @author Martin Heni <martin@heni-online.de> * @author Martin Heni <martin@heni-online.de>
* *
*/ */
class KDE_EXPORT KGame : public KGameNetwork class TDE_EXPORT KGame : public KGameNetwork
{ {
TQ_OBJECT TQ_OBJECT

@ -40,7 +40,7 @@ class KGameChatPrivate;
* *
* @author Andreas Beckermann <b_mann@gmx.de> * @author Andreas Beckermann <b_mann@gmx.de>
**/ **/
class KDE_EXPORT KGameChat : public KChatBase class TDE_EXPORT KGameChat : public KChatBase
{ {
TQ_OBJECT TQ_OBJECT

@ -52,7 +52,7 @@ class TDEProcess;
* *
* @author Martin Heni <martin@heni-online.de> * @author Martin Heni <martin@heni-online.de>
*/ */
class KDE_EXPORT KGameIO : public TQObject class TDE_EXPORT KGameIO : public TQObject
{ {
TQ_OBJECT TQ_OBJECT
@ -175,7 +175,7 @@ private:
* from a widget and create moves for the player it belongs to. * from a widget and create moves for the player it belongs to.
* @author Martin Heni <martin@heni-online.de> * @author Martin Heni <martin@heni-online.de>
*/ */
class KDE_EXPORT KGameKeyIO : public KGameIO class TDE_EXPORT KGameKeyIO : public KGameIO
{ {
TQ_OBJECT TQ_OBJECT
@ -247,7 +247,7 @@ protected:
* from a widget and create moves for the player it belongs to. * from a widget and create moves for the player it belongs to.
* @author Martin Heni <martin@heni-online.de> * @author Martin Heni <martin@heni-online.de>
*/ */
class KDE_EXPORT KGameMouseIO : public KGameIO class TDE_EXPORT KGameMouseIO : public KGameIO
{ {
TQ_OBJECT TQ_OBJECT
@ -323,7 +323,7 @@ protected:
* for the definition of the computer player. * for the definition of the computer player.
* @author Martin Heni <martin@heni-online.de> * @author Martin Heni <martin@heni-online.de>
*/ */
class KDE_EXPORT KGameProcessIO : public KGameIO class TDE_EXPORT KGameProcessIO : public KGameIO
{ {
TQ_OBJECT TQ_OBJECT
@ -478,7 +478,7 @@ private:
* *
* @author <b_mann@gmx.de> * @author <b_mann@gmx.de>
*/ */
class KDE_EXPORT KGameComputerIO : public KGameIO class TDE_EXPORT KGameComputerIO : public KGameIO
{ {
TQ_OBJECT TQ_OBJECT

@ -26,7 +26,7 @@
#include <tqdatastream.h> #include <tqdatastream.h>
#include <kdemacros.h> #include <kdemacros.h>
class KDE_EXPORT KGameMessage class TDE_EXPORT KGameMessage
{ {
public: public:
/** /**

@ -43,7 +43,7 @@ class KGameNetworkPrivate;
* @author Martin Heni <martin@heni-online.de> * @author Martin Heni <martin@heni-online.de>
* @version $Id$ * @version $Id$
*/ */
class KDE_EXPORT KGameNetwork : public TQObject class TDE_EXPORT KGameNetwork : public TQObject
{ {
TQ_OBJECT TQ_OBJECT

@ -39,7 +39,7 @@ class KMessageFilePipe;
* Using these two classes will give fully transparent communication * Using these two classes will give fully transparent communication
* via TQDataStreams. * via TQDataStreams.
*/ */
class KDE_EXPORT KGameProcess: public TQObject class TDE_EXPORT KGameProcess: public TQObject
{ {
TQ_OBJECT TQ_OBJECT

@ -39,7 +39,7 @@ using namespace std;
* *
* @author Andreas Beckermann <b_mann@gmx.de> * @author Andreas Beckermann <b_mann@gmx.de>
**/ **/
class KDE_EXPORT KGamePropertyBase class TDE_EXPORT KGamePropertyBase
{ {
public: public:
enum PropertyDataIds { // these belong to KPlayer/KGame! enum PropertyDataIds { // these belong to KPlayer/KGame!

@ -69,7 +69,7 @@ class KGamePropertyHandlerPrivate; // wow - what a name ;-)
* multiplied. * multiplied.
* *
**/ **/
class KDE_EXPORT KGamePropertyHandler : public TQObject class TDE_EXPORT KGamePropertyHandler : public TQObject
{ {
TQ_OBJECT TQ_OBJECT

@ -66,7 +66,7 @@ class KPlayerPrivate;
* functions which are shared by all of your KGameIOs. * functions which are shared by all of your KGameIOs.
* *
*/ */
class KDE_EXPORT KPlayer : public TQObject class TDE_EXPORT KPlayer : public TQObject
{ {
TQ_OBJECT TQ_OBJECT

@ -39,7 +39,7 @@ class TQTimer;
* *
* @since 3.2 * @since 3.2
*/ */
class KDE_EXPORT KGameLCD : public TQLCDNumber class TDE_EXPORT KGameLCD : public TQLCDNumber
{ {
TQ_OBJECT TQ_OBJECT
@ -124,7 +124,7 @@ private:
* *
* @since 3.2 * @since 3.2
*/ */
class KDE_EXPORT KGameLCDClock : public KGameLCD class TDE_EXPORT KGameLCDClock : public KGameLCD
{ {
TQ_OBJECT TQ_OBJECT
@ -189,7 +189,7 @@ private:
* *
* @since 3.2 * @since 3.2
*/ */
class KDE_EXPORT KGameLCDList : public TQWidget class TDE_EXPORT KGameLCDList : public TQWidget
{ {
TQ_OBJECT TQ_OBJECT

@ -30,7 +30,7 @@ class KGameMiscPrivate;
* a class for. If you know a class for any of these member s please drop one of * a class for. If you know a class for any of these member s please drop one of
* the above copyright holders a mail (or just kde-games-devel@kde.org) * the above copyright holders a mail (or just kde-games-devel@kde.org)
**/ **/
class KDE_EXPORT KGameMisc class TDE_EXPORT KGameMisc
{ {
public: public:
KGameMisc(); KGameMisc();

@ -47,7 +47,7 @@
* @author Martynas Kunigelis * @author Martynas Kunigelis
* @version $Id$ * @version $Id$
*/ */
class KDE_EXPORT KGameProgress : public TQFrame, public TQRangeControl class TDE_EXPORT KGameProgress : public TQFrame, public TQRangeControl
{ {
TQ_OBJECT TQ_OBJECT

@ -45,7 +45,7 @@ class TDESelectAction;
* @author Andreas Beckermann <b_mann@gmx.de> * @author Andreas Beckermann <b_mann@gmx.de>
*/ */
// #### KDE4: transform in namespace // #### KDE4: transform in namespace
class KDE_EXPORT KStdGameAction class TDE_EXPORT KStdGameAction
{ {
public: public:
/** /**

@ -35,7 +35,7 @@ class KPlayer;
* It supports a user defined chat and the setting of the * It supports a user defined chat and the setting of the
* owner player * owner player
**/ **/
class KDE_EXPORT ChatDlg : public KDialogBase class TDE_EXPORT ChatDlg : public KDialogBase
{ {
TQ_OBJECT TQ_OBJECT

Loading…
Cancel
Save