+++ /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 "declarativedoublespinbox_p.h"
-
-DeclarativeDoubleSpinBox::DeclarativeDoubleSpinBox(QObject *parent)
- : DeclarativeWidgetProxy<QDoubleSpinBox>(parent)
-{
- connectAllSignals(m_proxiedObject, this);
-}
-
-CUSTOM_METAOBJECT(DeclarativeDoubleSpinBox, QDoubleSpinBox)
+++ /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 DECLARATIVEDOUBLESPINBOX_P_H
-#define DECLARATIVEDOUBLESPINBOX_P_H
-
-#include "declarativewidgetproxy_p.h"
-
-#include <QDoubleSpinBox>
-
-class DeclarativeDoubleSpinBox : public DeclarativeWidgetProxy<QDoubleSpinBox>
-{
- DECLARATIVE_OBJECT
-
- public:
- explicit DeclarativeDoubleSpinBox(QObject *parent = 0);
-};
-
-#endif
#include "declarativedeclarativecontext_p.h"
#include "declarativedeclarativeview_p.h"
#include "declarativedial_p.h"
-#include "declarativedoublespinbox_p.h"
#include "declarativefiledialog_p.h"
#include "declarativefontdialog_p.h"
#include "declarativeformlayout_p.h"
#include <QDeclarativeContext>
#include <QDeclarativeEngine>
#include <QDialogButtonBox>
+#include <QDoubleSpinBox>
#include <QGroupBox>
#include <QLabel>
#include <QListView>
qmlRegisterType<DeclarativeContextProperty>("QtGui", 1, 0, "DeclarativeContextProperty");
qmlRegisterType<DeclarativeDeclarativeView>("QtGui", 1, 0, "DeclarativeView");
qmlRegisterType<DeclarativeDial>("QtGui", 1, 0, "Dial");
- qmlRegisterType<DeclarativeDoubleSpinBox>("QtGui", 1, 0, "DoubleSpinBox");
qmlRegisterType<DeclarativeLabel>("QtGui", 1, 0, "Label");
qmlRegisterType<DeclarativeLCDNumber>("QtGui", 1, 0, "LCDNumber");
qmlRegisterType<DeclarativeProgressBar>("QtGui", 1, 0, "ProgressBar");
qmlRegisterExtendedType<QCommandLinkButton, DeclarativeWidgetExtension>("QtGui", 1, 0, "CommandLinkButton");
qmlRegisterExtendedType<Dialog, DeclarativeWidgetExtension>("QtGui", 1, 0, "Dialog");
qmlRegisterExtendedType<QDialogButtonBox, DeclarativeWidgetExtension>("QtGui", 1, 0, "DialogButtonBox");
+ qmlRegisterExtendedType<QDoubleSpinBox, DeclarativeWidgetExtension>("QtGui", 1, 0, "DoubleSpinBox");
qmlRegisterExtendedType<DeclarativeFileDialog, DeclarativeWidgetExtension>("QtGui", 1, 0, "FileDialog");
qmlRegisterExtendedType<QFrame, DeclarativeWidgetExtension>("QtGui", 1, 0, "Frame");
qmlRegisterExtendedType<DeclarativeFontDialog, DeclarativeWidgetExtension>("QtGui", 1, 0, "FontDialog");
declarativedeclarativecontext_p.h \
declarativedeclarativeview_p.h \
declarativedial_p.h \
- declarativedoublespinbox_p.h \
declarativefiledialog_p.h \
declarativefontdialog_p.h \
declarativeformlayout_p.h \
declarativedeclarativecontext.cpp \
declarativedeclarativeview.cpp \
declarativedial.cpp \
- declarativedoublespinbox.cpp \
declarativefiledialog.cpp \
declarativefontdialog.cpp \
declarativeformlayout.cpp \