+++ /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 "declarativeslider_p.h"
-
-DeclarativeSlider::DeclarativeSlider(QObject *parent)
- : DeclarativeWidgetProxy<QSlider>(parent)
-{
- connectAllSignals(m_proxiedObject, this);
-}
-
-CUSTOM_METAOBJECT(DeclarativeSlider, QSlider)
+++ /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 DECLARATIVESLIDER_P_H
-#define DECLARATIVESLIDER_P_H
-
-#include "declarativewidgetproxy_p.h"
-
-#include <QSlider>
-
-class DeclarativeSlider : public DeclarativeWidgetProxy<QSlider>
-{
- DECLARATIVE_OBJECT
-
- public:
- explicit DeclarativeSlider(QObject *parent = 0);
-};
-
-#endif
#include "declarativescrollarea_p.h"
#include "declarativescrollbar_p.h"
#include "declarativeseparator_p.h"
-#include "declarativeslider_p.h"
#include "declarativespinbox_p.h"
#include "declarativestackedlayout_p.h"
#include "declarativestackedwidget_p.h"
qmlRegisterType<DeclarativeProgressBar>("QtGui", 1, 0, "ProgressBar");
qmlRegisterType<DeclarativeScrollArea>("QtGui", 1, 0, "ScrollArea");
qmlRegisterType<DeclarativeScrollBar>("QtGui", 1, 0, "ScrollBar");
- qmlRegisterType<DeclarativeSlider>("QtGui", 1, 0, "Slider");
qmlRegisterType<DeclarativeSpinBox>("QtGui", 1, 0, "SpinBox");
qmlRegisterType<DeclarativeStackedWidget>("QtGui", 1, 0, "StackedWidget");
qmlRegisterType<DeclarativeStatusBarAttached>();
qmlRegisterExtendedType<DeclarativeMessageBox, DeclarativeWidgetExtension>("QtGui", 1, 0, "MessageBox");
qmlRegisterExtendedType<QPushButton, DeclarativeWidgetExtension>("QtGui", 1, 0, "PushButton");
qmlRegisterExtendedType<QRadioButton, DeclarativeWidgetExtension>("QtGui", 1, 0, "RadioButton");
+ qmlRegisterExtendedType<QSlider, DeclarativeWidgetExtension>("QtGui", 1, 0, "Slider");
qmlRegisterExtendedType<DeclarativeStatusBar, DeclarativeStatusBarExtension>("QtGui", 1, 0, "StatusBar");
qmlRegisterExtendedType<QTableView, DeclarativeItemViewExtension>("QtGui", 1, 0, "TableView");
qmlRegisterExtendedType<DeclarativeTabWidget, DeclarativeTabWidgetExtension>("QtGui", 1, 0, "TabWidget");
declarativescrollarea_p.h \
declarativescrollbar_p.h \
declarativeseparator_p.h \
- declarativeslider_p.h \
declarativespinbox_p.h \
declarativestackedlayout_p.h \
declarativestackedwidget_p.h \
declarativescrollarea.cpp \
declarativescrollbar.cpp \
declarativeseparator.cpp \
- declarativeslider.cpp \
declarativespinbox.cpp \
declarativestackedlayout.cpp \
declarativestackedwidget.cpp \