+++ /dev/null
-/*
- Copyright (C) 2012 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com
- Author: Kevin Krammer, krake@kdab.com
- Author: Tobias Koenig, tokoe@kdab.com
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#include "declarativescrollbar_p.h"
-
-DeclarativeScrollBar::DeclarativeScrollBar(QObject *parent)
- : DeclarativeWidgetProxy<QScrollBar>(parent)
-{
- connectAllSignals(m_proxiedObject, this);
-}
-
-CUSTOM_METAOBJECT(DeclarativeScrollBar, QScrollBar)
+++ /dev/null
-/*
- Copyright (C) 2012 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com
- Author: Kevin Krammer, krake@kdab.com
- Author: Tobias Koenig, tokoe@kdab.com
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-*/
-
-#ifndef DECLARATIVESCROLLBAR_P_H
-#define DECLARATIVESCROLLBAR_P_H
-
-#include "declarativewidgetproxy_p.h"
-
-#include <QScrollBar>
-
-class DeclarativeScrollBar : public DeclarativeWidgetProxy<QScrollBar>
-{
- DECLARATIVE_OBJECT
-
- public:
- explicit DeclarativeScrollBar(QObject *parent = 0);
-};
-
-#endif
#include "declarativemessagebox_p.h"
#include "declarativeprogressbar_p.h"
#include "declarativescrollareaextension_p.h"
-#include "declarativescrollbar_p.h"
#include "declarativeseparator_p.h"
#include "declarativestackedlayout_p.h"
#include "declarativestackedwidgetextension_p.h"
#include <QMenuBar>
#include <QPlainTextEdit>
#include <QRadioButton>
+#include <QScrollBar>
#include <QStackedWidget>
#include <QTableView>
#include <QToolBar>
qmlRegisterType<DeclarativeLabel>("QtGui", 1, 0, "Label");
qmlRegisterType<DeclarativeLCDNumber>("QtGui", 1, 0, "LCDNumber");
qmlRegisterType<DeclarativeProgressBar>("QtGui", 1, 0, "ProgressBar");
- qmlRegisterType<DeclarativeScrollBar>("QtGui", 1, 0, "ScrollBar");
qmlRegisterType<DeclarativeStatusBarAttached>();
qmlRegisterType<DeclarativeTabWidgetAttached>();
qmlRegisterType<DeclarativeTextBrowser>("QtGui", 1, 0, "TextBrowser");
qmlRegisterExtendedType<QPushButton, DeclarativeWidgetExtension>("QtGui", 1, 0, "PushButton");
qmlRegisterExtendedType<QRadioButton, DeclarativeWidgetExtension>("QtGui", 1, 0, "RadioButton");
qmlRegisterExtendedType<QScrollArea, DeclarativeScrollAreaExtension>("QtGui", 1, 0, "ScrollArea");
+ qmlRegisterExtendedType<QScrollBar, DeclarativeWidgetExtension>("QtGui", 1, 0, "ScrollBar");
qmlRegisterExtendedType<QSlider, DeclarativeWidgetExtension>("QtGui", 1, 0, "Slider");
qmlRegisterExtendedType<QStackedWidget, DeclarativeStackedWidgetExtension>("QtGui", 1, 0, "StackedWidget");
qmlRegisterExtendedType<QSpinBox, DeclarativeWidgetExtension>("QtGui", 1, 0, "SpinBox");
declarativeobjectproxy_p.h \
declarativeprogressbar_p.h \
declarativescrollareaextension_p.h \
- declarativescrollbar_p.h \
declarativeseparator_p.h \
declarativestackedlayout_p.h \
declarativestackedwidgetextension_p.h \
declarativeobjectextension.cpp \
declarativeprogressbar.cpp \
declarativescrollareaextension.cpp \
- declarativescrollbar.cpp \
declarativeseparator.cpp \
declarativestackedlayout.cpp \
declarativestackedwidgetextension.cpp \