Fix compilation with gcc < 4.5

svn path=/trunk/KDE/kdelibs/; revision=1188570
This commit is contained in:
David Faure 2010-10-22 16:55:46 +00:00
parent 4dd1c28b6d
commit a48ae5b0d8
13 changed files with 13 additions and 13 deletions

View File

@ -36,7 +36,7 @@ class CheckBoxPrivate : public ThemedWidgetInterface<CheckBox>
{
public:
CheckBoxPrivate(CheckBox *c)
: ThemedWidgetInterface(c),
: ThemedWidgetInterface<CheckBox>(c),
svg(0)
{
}

View File

@ -40,7 +40,7 @@ class ComboBoxPrivate : public ThemedWidgetInterface<ComboBox>
{
public:
ComboBoxPrivate(ComboBox *comboBox)
: ThemedWidgetInterface(comboBox),
: ThemedWidgetInterface<ComboBox>(comboBox),
background(0),
underMouse(false)
{

View File

@ -40,7 +40,7 @@ class FramePrivate : public ThemedWidgetInterface<Frame>
{
public:
FramePrivate(Frame *parent)
: ThemedWidgetInterface(parent),
: ThemedWidgetInterface<Frame>(parent),
svg(0),
image(0),
pixmap(0)

View File

@ -36,7 +36,7 @@ class GroupBoxPrivate : public ThemedWidgetInterface<GroupBox>
{
public:
GroupBoxPrivate(GroupBox *groupBox)
:ThemedWidgetInterface(groupBox)
:ThemedWidgetInterface<GroupBox>(groupBox)
{
}

View File

@ -100,7 +100,7 @@ void IconHoverAnimation::setAnimation(QPropertyAnimation *animation)
}
IconWidgetPrivate::IconWidgetPrivate(IconWidget *i)
: ActionWidgetInterface(i),
: ActionWidgetInterface<IconWidget>(i),
iconSvg(0),
hoverAnimation(new IconHoverAnimation(q)),
iconSize(48, 48),

View File

@ -42,7 +42,7 @@ class LabelPrivate : public ThemedWidgetInterface<Label>
{
public:
LabelPrivate(Label *label)
: ThemedWidgetInterface(label),
: ThemedWidgetInterface<Label>(label),
svg(0),
textSelectable(false)
{

View File

@ -40,7 +40,7 @@ class LineEditPrivate : public ThemedWidgetInterface<LineEdit>
{
public:
LineEditPrivate(LineEdit *lineEdit)
: ThemedWidgetInterface(lineEdit)
: ThemedWidgetInterface<LineEdit>(lineEdit)
{
}

View File

@ -36,7 +36,7 @@ class RadioButtonPrivate : public ThemedWidgetInterface<RadioButton>
{
public:
RadioButtonPrivate(RadioButton *radio)
: ThemedWidgetInterface(radio),
: ThemedWidgetInterface<RadioButton>(radio),
svg(0)
{
}

View File

@ -40,7 +40,7 @@ class SpinBoxPrivate : public ThemedWidgetInterface<SpinBox>
{
public:
SpinBoxPrivate(SpinBox *spinBox)
: ThemedWidgetInterface(spinBox),
: ThemedWidgetInterface<SpinBox>(spinBox),
focusIndicator(0)
{
}

View File

@ -72,7 +72,7 @@ class TabBarPrivate : public ThemedWidgetInterface<TabBar>
{
public:
TabBarPrivate(TabBar *parent)
: ThemedWidgetInterface(parent),
: ThemedWidgetInterface<TabBar>(parent),
tabProxy(0),
currentIndex(0),
tabWidgetMode(true),

View File

@ -39,7 +39,7 @@ class TextBrowserPrivate : public ThemedWidgetInterface<TextBrowser>
{
public:
TextBrowserPrivate(TextBrowser *browser)
: ThemedWidgetInterface(browser),
: ThemedWidgetInterface<TextBrowser>(browser),
native(0),
savedMinimumHeight(0),
savedMaximumHeight(QWIDGETSIZE_MAX),

View File

@ -40,7 +40,7 @@ class TextEditPrivate : public ThemedWidgetInterface<TextEdit>
{
public:
TextEditPrivate(TextEdit *textEdit)
: ThemedWidgetInterface(textEdit)
: ThemedWidgetInterface<TextEdit>(textEdit)
{
}

View File

@ -44,7 +44,7 @@ class ToolButtonPrivate : public ActionWidgetInterface<ToolButton>
{
public:
ToolButtonPrivate(ToolButton *toolButton)
: ActionWidgetInterface(toolButton),
: ActionWidgetInterface<ToolButton>(toolButton),
background(0),
svg(0),
underMouse(false)