fix export's
svn path=/trunk/kdebase/ksysguard/; revision=363751
This commit is contained in:
parent
fb5fde89a2
commit
42c0e144c1
6 changed files with 10 additions and 8 deletions
|
@ -233,7 +233,7 @@ static const KCmdLineOptions options[] =
|
||||||
};
|
};
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
int kdemain( int argc, char* argv[] )
|
KDE_EXPORT int kdemain( int argc, char* argv[] )
|
||||||
{
|
{
|
||||||
KLocale::setMainCatalogue( "kcmkwinrules" );
|
KLocale::setMainCatalogue( "kcmkwinrules" );
|
||||||
KCmdLineArgs::init( argc, argv, "kwin_rules_dialog", I18N_NOOP( "KWin" ),
|
KCmdLineArgs::init( argc, argv, "kwin_rules_dialog", I18N_NOOP( "KWin" ),
|
||||||
|
|
|
@ -37,12 +37,14 @@ class KDecorationBridge;
|
||||||
class KDecorationPrivate;
|
class KDecorationPrivate;
|
||||||
class KDecorationFactory;
|
class KDecorationFactory;
|
||||||
|
|
||||||
|
#define KWIN_EXPORT KDE_EXPORT
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class provides a namespace for all decoration related classes.
|
* This class provides a namespace for all decoration related classes.
|
||||||
* All shared types are defined here.
|
* All shared types are defined here.
|
||||||
* @since 3.2
|
* @since 3.2
|
||||||
*/
|
*/
|
||||||
class KDecorationDefines
|
class KWIN_EXPORT KDecorationDefines
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
|
@ -180,7 +182,7 @@ class KDecorationProvides
|
||||||
* or KDecorationFactory::options().
|
* or KDecorationFactory::options().
|
||||||
* @since 3.2
|
* @since 3.2
|
||||||
*/
|
*/
|
||||||
class KDecorationOptions : public KDecorationDefines
|
class KWIN_EXPORT KDecorationOptions : public KDecorationDefines
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
KDecorationOptions();
|
KDecorationOptions();
|
||||||
|
@ -303,7 +305,7 @@ protected:
|
||||||
* every decoration should implement.
|
* every decoration should implement.
|
||||||
* @since 3.2
|
* @since 3.2
|
||||||
*/
|
*/
|
||||||
class KDecoration
|
class KWIN_EXPORT KDecoration
|
||||||
: public QObject, public KDecorationDefines
|
: public QObject, public KDecorationDefines
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
|
@ -35,7 +35,7 @@ DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
class KConfig;
|
class KConfig;
|
||||||
|
|
||||||
class KDecorationOptionsPrivate : public KDecorationDefines
|
class KWIN_EXPORT KDecorationOptionsPrivate : public KDecorationDefines
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
KDecorationOptionsPrivate();
|
KDecorationOptionsPrivate();
|
||||||
|
|
|
@ -42,7 +42,7 @@ class KDecoration;
|
||||||
class KDecorationBridge;
|
class KDecorationBridge;
|
||||||
class KDecorationFactory;
|
class KDecorationFactory;
|
||||||
|
|
||||||
class KDecorationPlugins
|
class KWIN_EXPORT KDecorationPlugins
|
||||||
: public KDecorationProvides
|
: public KDecorationProvides
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -31,7 +31,7 @@ class KDecoration;
|
||||||
class KDecorationBridge;
|
class KDecorationBridge;
|
||||||
class KDecorationFactoryPrivate;
|
class KDecorationFactoryPrivate;
|
||||||
|
|
||||||
class KDecorationFactory
|
class KWIN_EXPORT KDecorationFactory
|
||||||
: public KDecorationDefines
|
: public KDecorationDefines
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
2
main.cpp
2
main.cpp
|
@ -174,7 +174,7 @@ static KCmdLineOptions args[] =
|
||||||
};
|
};
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
int kdemain( int argc, char * argv[] )
|
KDE_EXPORT int kdemain( int argc, char * argv[] )
|
||||||
{
|
{
|
||||||
bool restored = false;
|
bool restored = false;
|
||||||
for (int arg = 1; arg < argc; arg++)
|
for (int arg = 1; arg < argc; arg++)
|
||||||
|
|
Loading…
Reference in a new issue