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"
|
||||
int kdemain( int argc, char* argv[] )
|
||||
KDE_EXPORT int kdemain( int argc, char* argv[] )
|
||||
{
|
||||
KLocale::setMainCatalogue( "kcmkwinrules" );
|
||||
KCmdLineArgs::init( argc, argv, "kwin_rules_dialog", I18N_NOOP( "KWin" ),
|
||||
|
|
|
@ -37,12 +37,14 @@ class KDecorationBridge;
|
|||
class KDecorationPrivate;
|
||||
class KDecorationFactory;
|
||||
|
||||
#define KWIN_EXPORT KDE_EXPORT
|
||||
|
||||
/**
|
||||
* This class provides a namespace for all decoration related classes.
|
||||
* All shared types are defined here.
|
||||
* @since 3.2
|
||||
*/
|
||||
class KDecorationDefines
|
||||
class KWIN_EXPORT KDecorationDefines
|
||||
{
|
||||
public:
|
||||
/**
|
||||
|
@ -180,7 +182,7 @@ class KDecorationProvides
|
|||
* or KDecorationFactory::options().
|
||||
* @since 3.2
|
||||
*/
|
||||
class KDecorationOptions : public KDecorationDefines
|
||||
class KWIN_EXPORT KDecorationOptions : public KDecorationDefines
|
||||
{
|
||||
public:
|
||||
KDecorationOptions();
|
||||
|
@ -303,7 +305,7 @@ protected:
|
|||
* every decoration should implement.
|
||||
* @since 3.2
|
||||
*/
|
||||
class KDecoration
|
||||
class KWIN_EXPORT KDecoration
|
||||
: public QObject, public KDecorationDefines
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
|
@ -35,7 +35,7 @@ DEALINGS IN THE SOFTWARE.
|
|||
|
||||
class KConfig;
|
||||
|
||||
class KDecorationOptionsPrivate : public KDecorationDefines
|
||||
class KWIN_EXPORT KDecorationOptionsPrivate : public KDecorationDefines
|
||||
{
|
||||
public:
|
||||
KDecorationOptionsPrivate();
|
||||
|
|
|
@ -42,7 +42,7 @@ class KDecoration;
|
|||
class KDecorationBridge;
|
||||
class KDecorationFactory;
|
||||
|
||||
class KDecorationPlugins
|
||||
class KWIN_EXPORT KDecorationPlugins
|
||||
: public KDecorationProvides
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -31,7 +31,7 @@ class KDecoration;
|
|||
class KDecorationBridge;
|
||||
class KDecorationFactoryPrivate;
|
||||
|
||||
class KDecorationFactory
|
||||
class KWIN_EXPORT KDecorationFactory
|
||||
: public KDecorationDefines
|
||||
{
|
||||
public:
|
||||
|
|
2
main.cpp
2
main.cpp
|
@ -174,7 +174,7 @@ static KCmdLineOptions args[] =
|
|||
};
|
||||
|
||||
extern "C"
|
||||
int kdemain( int argc, char * argv[] )
|
||||
KDE_EXPORT int kdemain( int argc, char * argv[] )
|
||||
{
|
||||
bool restored = false;
|
||||
for (int arg = 1; arg < argc; arg++)
|
||||
|
|
Loading…
Reference in a new issue