API reviews:

Plasma::Delegate has a parent argument in the constructor

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800960
This commit is contained in:
Marco Martin 2008-04-25 10:16:49 +00:00
parent d65dbf138d
commit 4e92155f7d
2 changed files with 4 additions and 3 deletions

View File

@ -123,8 +123,9 @@ QRect Delegate::Private::subTitleRect(const QStyleOptionViewItem& option, const
return textRect; return textRect;
} }
Delegate::Delegate() Delegate::Delegate(QObject *parent)
: d(new Private) : QAbstractItemDelegate(parent),
d(new Private)
{ {
} }

View File

@ -55,7 +55,7 @@ public:
SecondaryActionColumn = 2 SecondaryActionColumn = 2
}; };
Delegate(); Delegate(QObject *parent = 0);
~Delegate(); ~Delegate();
/** /**