use the plasma namespace consistently

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638473
This commit is contained in:
Aaron J. Seigo 2007-03-02 05:27:33 +00:00
parent 248e733a1f
commit 2bfbce6618
6 changed files with 33 additions and 2 deletions

View File

@ -22,6 +22,9 @@
#include "runner.h"
namespace Plasma
{
class Runner::Private
{
public:
@ -113,4 +116,6 @@ Runner::List Runner::loadRunners( QWidget* parent )
return runners;
}
} // Plasma namespace
#include "runner.moc"

View File

@ -26,6 +26,9 @@
class KActionCollection;
namespace Plasma
{
class KDE_EXPORT Runner : public QObject
{
Q_OBJECT
@ -111,6 +114,8 @@ class KDE_EXPORT Runner : public QObject
void runExactMatch();
};
} // Plasma namespace
#define K_EXPORT_KRUNNER_RUNNER( libname, classname ) \
K_EXPORT_COMPONENT_FACTORY( \
krunner_##libname, \

View File

@ -26,7 +26,9 @@
#include <kdebug.h>
#include "lineedit.h"
#include "lineedit.moc"
namespace Plasma
{
class LineEdit::Private
{
@ -125,7 +127,6 @@ void LineEdit::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
if(hasFocus() && d->m_cursorVisible)
d->m_textLayout.drawCursor(painter, topLeft, d->m_cursorPos);
}
void LineEdit::mousePressEvent(QGraphicsSceneMouseEvent *event)
@ -244,3 +245,7 @@ QString LineEdit::getStringValue() const
return d->m_text;
}
#include "lineedit.moc"
} // Plasma namespace

View File

@ -29,6 +29,9 @@
#include <applet.h>
#include "widget.h"
namespace Plasma
{
class KDE_EXPORT LineEdit : public QObject, public Widget
{
Q_OBJECT
@ -59,4 +62,6 @@ class KDE_EXPORT LineEdit : public QObject, public Widget
Private *const d;
};
} // Plasma namespace
#endif

View File

@ -18,6 +18,9 @@
#include "widget.h"
namespace Plasma
{
Widget::Widget(QGraphicsItem *parent, QRectF size)
: QGraphicsItem(parent),
m_boundingBox(size)
@ -32,3 +35,6 @@ QRectF Widget::boundingRect() const
{
return m_boundingBox;
}
} // Plasma namespace

View File

@ -23,6 +23,9 @@
#include <kdemacros.h>
namespace Plasma
{
class KDE_EXPORT Widget : public QGraphicsItem
{
public:
@ -35,4 +38,6 @@ class KDE_EXPORT Widget : public QGraphicsItem
QRectF m_boundingBox;
};
} // Plasma namespace
#endif