use the plasma namespace consistently
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=638473
This commit is contained in:
parent
248e733a1f
commit
2bfbce6618
@ -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"
|
||||
|
5
runner.h
5
runner.h
@ -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, \
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user