--compileWarnings;

svn path=/trunk/KDE/kdelibs/; revision=1083237
This commit is contained in:
Aaron J. Seigo 2010-01-31 21:44:11 +00:00
parent 989df58b2b
commit 1e6e5e7469
2 changed files with 7 additions and 3 deletions

View File

@ -21,7 +21,9 @@
#include <QDebug> #include <QDebug>
StackedLayout::StackedLayout(QGraphicsLayoutItem *parent) StackedLayout::StackedLayout(QGraphicsLayoutItem *parent)
: QObject(0), m_currentWidgetIndex(-1), QGraphicsLayout(parent) : QObject(0),
QGraphicsLayout(parent),
m_currentWidgetIndex(-1)
{ {
} }

View File

@ -24,8 +24,10 @@
class StackedLayout : public QObject, public QGraphicsLayout class StackedLayout : public QObject, public QGraphicsLayout
{ {
Q_OBJECT Q_OBJECT
public: Q_INTERFACES(QGraphicsLayout)
public:
explicit StackedLayout(QGraphicsLayoutItem *parent = 0); explicit StackedLayout(QGraphicsLayoutItem *parent = 0);
~StackedLayout(); ~StackedLayout();