KDE/kdebase/workspace/libs/plasma

Alex Merry huntedhacker at tiscali.co.uk
Wed Jul 16 19:06:34 CEST 2008


On Tuesday 15 July 2008 07:38:21 Laurent Montel wrote:
> SVN commit 832687 by mlaurent:
>
> Fix export (needs by dataengine/nowplaying)

This needs backporting to the 4.1 branch, so that people can write services.

Can someone do this, please?  I have no 4.1 branch here.

Alex

>
>
>  M  +2 -2      service.h
>  M  +2 -2      servicejob.h
>
>
> --- trunk/KDE/kdebase/workspace/libs/plasma/service.h #832686:832687
> @@ -25,7 +25,7 @@
>  #include <QtCore/QVariant>
>
>  #include <KDE/KConfigGroup>
> -
> +#include <plasma/plasma_export.h>
>  class QIODevice;
>
>  namespace Plasma
> @@ -66,7 +66,7 @@
>   * connect(job, SIGNAL(finished(KJob*)), this, SLOT(jobCompeted()));
>   * @endcode
>   */
> -class Service : public QObject
> +class PLASMA_EXPORT Service : public QObject
>  {
>      Q_OBJECT
>  public:
> --- trunk/KDE/kdebase/workspace/libs/plasma/servicejob.h #832686:832687
> @@ -21,7 +21,7 @@
>  #define PLASMA_SERVICEJOB_H
>
>  #include <QtCore/QVariant>
> -
> +#include <plasma/plasma_export.h>
>  #include <KDE/KJob>
>  #include <KDE/KService>
>
> @@ -33,7 +33,7 @@
>  /**
>   * @brief This class provides jobs for use with Plasma::Service
>   */
> -class ServiceJob : public KJob
> +class PLASMA_EXPORT ServiceJob : public KJob
>  {
>      Q_OBJECT

-- 
KDE: http://www.kde.org
Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org



More information about the Panel-devel mailing list