diff --git a/src/fromlibkdegames/cardcache.h b/src/fromlibkdegames/cardcache.h index cf997f9bcf60b4963250e3620ade7c00d9636422..8d5f99e7c0983bd7da510b4c2e0e16d60df67cd6 100644 --- a/src/fromlibkdegames/cardcache.h +++ b/src/fromlibkdegames/cardcache.h @@ -31,7 +31,7 @@ class QSizeF; /** * \class KCardInfo cardcache.h */ -class KDEGAMES_EXPORT KCardInfo +class KCardInfo { public: enum Suit { None, Diamond, Heart, Club, Spade }; @@ -79,7 +79,7 @@ private: * * */ -class KDEGAMES_EXPORT KCardCache +class KCardCache { public: diff --git a/src/fromlibkdegames/carddeckinfo.h b/src/fromlibkdegames/carddeckinfo.h index d944ae464369db718fe2c1beb0782acc0ec47744..57cd7b530e7192e9b016539b83098e491437da2d 100644 --- a/src/fromlibkdegames/carddeckinfo.h +++ b/src/fromlibkdegames/carddeckinfo.h @@ -21,7 +21,6 @@ #include #include -#include class KConfigGroup; @@ -38,7 +37,7 @@ namespace CardDeckInfo * @param name The untranslated name of the back deck. * @return The file name and path to the SVG file or QString() if not available. */ - KDEGAMES_EXPORT QString backSVGFilePath(const QString& name); + QString backSVGFilePath(const QString& name); /** Retrieve the SVG file belonging to the given card set (front side). * The SVG IDs used for the card back is '1_club' for Ace of clubs, '10_spade' for @@ -47,27 +46,27 @@ namespace CardDeckInfo * @param name The untranslated name of the card set. * @return The file name and path to the SVG file or QString() if not available. */ - KDEGAMES_EXPORT QString svgFilePath(const QString& name); + QString svgFilePath(const QString& name); /** Retrieve the untranslated name of the default card set (front side). * @return The default card set name. */ - KDEGAMES_EXPORT QString defaultDeckName(); + QString defaultDeckName(); /** Retrieve the untranslated name of the default card deck (back side). * @return The default card deck name. */ - KDEGAMES_EXPORT QString defaultBackName(); + QString defaultBackName(); /** Retrieve a untranslated name random card set (front side). * @return A radnom card set name. */ - KDEGAMES_EXPORT QString randomDeckName(); + QString randomDeckName(); /** Retrieve a untranslated name random card deck (back side). * @return A radnom card deck name. */ - KDEGAMES_EXPORT QString randomBackName(); + QString randomBackName(); /** * Retrieve the filename of the card back side. @@ -75,21 +74,21 @@ namespace CardDeckInfo * @param name The untranslated name of the card deck. * @return The filename. */ - KDEGAMES_EXPORT QString backFilename(const QString& name); + QString backFilename(const QString& name); /** * retrieve a list of the untranslated names of all installed backsides * @returns a list of backside names, which can be * used as input to the other functions. */ - KDEGAMES_EXPORT QStringList backNames(); + QStringList backNames(); /** * retrieve a list of the untranslated names of all installed frontsides * @return a list of frontside names, which can be * used as input to the other functions. */ - KDEGAMES_EXPORT QStringList deckNames(); + QStringList deckNames(); /** * retrieve the configured front side untranslated theme name @@ -98,7 +97,7 @@ namespace CardDeckInfo * @param default the default theme to return if the config group has no setting for this * @returns the name of the front side theme name */ - KDEGAMES_EXPORT QString deckName( const KConfigGroup& group, const QString& defaultTheme = defaultDeckName() ); + QString deckName( const KConfigGroup& group, const QString& defaultTheme = defaultDeckName() ); /** * retrieve the configured back side untranslated theme name @@ -107,7 +106,7 @@ namespace CardDeckInfo * @param default the default theme to return if the config group has no setting for this * @returns the name of the back side theme name */ - KDEGAMES_EXPORT QString backTheme( const KConfigGroup& group, const QString& defaultTheme = defaultBackName() ); + QString backTheme( const KConfigGroup& group, const QString& defaultTheme = defaultBackName() ); /** * retrieve the current value for the lock front-to-backside @@ -116,28 +115,28 @@ namespace CardDeckInfo * @param lockDefault the default value in case the group has no setting * @returns true when front and backside theme are locked together, else false */ - KDEGAMES_EXPORT bool lockFrontToBackside( const KConfigGroup& group, bool lockDefault = true ); + bool lockFrontToBackside( const KConfigGroup& group, bool lockDefault = true ); /** * store the given frontside @p theme name in the @p group * @param group the KConfigGroup to write to from * @param theme the theme untranslated name to store */ - KDEGAMES_EXPORT void writeDeckName( KConfigGroup& group, const QString& theme ); + void writeDeckName( KConfigGroup& group, const QString& theme ); /** * store the given backside @p theme name in the @p group * @param group the KConfigGroup to write to from * @param theme the theme untranslated name to store */ - KDEGAMES_EXPORT void writeBackTheme( KConfigGroup& group, const QString& theme ); + void writeBackTheme( KConfigGroup& group, const QString& theme ); /** * store the whether front and backside theme selection is locked to the @p group * @param group the KConfigGroup to write to from * @param allowFixedSize whether front and backside theme selection is locked */ - KDEGAMES_EXPORT void writeLockFrontToBackside( KConfigGroup& group, bool lock ); + void writeLockFrontToBackside( KConfigGroup& group, bool lock ); } #endif diff --git a/src/fromlibkdegames/kcarddialog.h b/src/fromlibkdegames/kcarddialog.h index 05b8a17470734642942a3eff1a74316bb0cefd06..040fd9d8a59f22890207b6a1b64778edc663d8e0 100644 --- a/src/fromlibkdegames/kcarddialog.h +++ b/src/fromlibkdegames/kcarddialog.h @@ -23,8 +23,6 @@ #include #include -#include - class QListWidgetItem; class KCardWidgetPrivate; class KCardWidget; @@ -52,7 +50,7 @@ class KCardWidget; * \endcode * */ -class KDEGAMES_EXPORT KCardDialog : public KDialog +class KCardDialog : public KDialog { Q_OBJECT public: @@ -80,7 +78,7 @@ public: * For an example usage see @ref KCardDialog. * */ -class KDEGAMES_EXPORT KCardWidget : public QWidget +class KCardWidget : public QWidget { Q_OBJECT