+++ /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 "declarativelcdnumber_p.h"
-
-DeclarativeLCDNumber::DeclarativeLCDNumber(QObject *parent)
- : DeclarativeWidgetProxy<QLCDNumber>(parent)
-{
- connectAllSignals(m_proxiedObject, this);
-}
-
-CUSTOM_METAOBJECT(DeclarativeLCDNumber, QLCDNumber)
+++ /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 DECLARATIVELCDNUMBER_P_H
-#define DECLARATIVELCDNUMBER_P_H
-
-#include "declarativewidgetproxy_p.h"
-
-#include <QLCDNumber>
-
-class DeclarativeLCDNumber : public DeclarativeWidgetProxy<QLCDNumber>
-{
- DECLARATIVE_OBJECT
-
- public:
- explicit DeclarativeLCDNumber(QObject *parent = 0);
-};
-
-#endif
#include "declarativehboxlayout_p.h"
#include "declarativeinputdialog_p.h"
#include "declarativeitemviewextension_p.h"
-#include "declarativelcdnumber_p.h"
#include "declarativemainwindowextension_p.h"
#include "declarativemenubarextension_p.h"
#include "declarativemenuextension_p.h"
#include <QDoubleSpinBox>
#include <QGroupBox>
#include <QLabel>
+#include <QLCDNumber>
#include <QListView>
#include <QMainWindow>
#include <QMenuBar>
qmlRegisterType<DeclarativeContextProperty>("QtGui", 1, 0, "DeclarativeContextProperty");
qmlRegisterType<DeclarativeDeclarativeView>("QtGui", 1, 0, "DeclarativeView");
qmlRegisterType<DeclarativeLabel>("QtGui", 1, 0, "Label");
- qmlRegisterType<DeclarativeLCDNumber>("QtGui", 1, 0, "LCDNumber");
qmlRegisterType<DeclarativeProgressBar>("QtGui", 1, 0, "ProgressBar");
qmlRegisterType<DeclarativeStatusBarAttached>();
qmlRegisterType<DeclarativeTabWidgetAttached>();
qmlRegisterExtendedType<DeclarativeInputDialog, DeclarativeWidgetExtension>("QtGui", 1, 0, "InputDialog");
qmlRegisterExtendedType<QLabel, DeclarativeWidgetExtension>("QtGui", 1, 0, "Label");
qmlRegisterExtendedType<QLineEdit, DeclarativeWidgetExtension>("QtGui", 1, 0, "LineEdit");
+ qmlRegisterExtendedType<QLCDNumber, DeclarativeWidgetExtension>("QtGui", 1, 0, "LCDNumber");
qmlRegisterExtendedType<QListView, DeclarativeItemViewExtension>("QtGui", 1, 0, "ListView");
qmlRegisterExtendedType<QMainWindow, DeclarativeMainWindowExtension>("QtGui", 1, 0, "MainWindow");
qmlRegisterExtendedType<Menu, DeclarativeMenuExtension>("QtGui", 1, 0, "Menu");
declarativeitemviewextension_p.h \
declarativelayoutextension.h \
declarativelayoutproxy_p.h \
- declarativelcdnumber_p.h \
declarativemainwindowextension_p.h \
declarativemenubarextension_p.h \
declarativemenuextension_p.h \
declarativeinputdialog.cpp \
declarativeitemviewextension.cpp \
declarativelayoutextension.cpp \
- declarativelcdnumber.cpp \
declarativemainwindowextension.cpp \
declarativemenubarextension.cpp \
declarativemenuextension.cpp \