From efb77cef33e29cff8d89abcd6f15fee312e4d783 Mon Sep 17 00:00:00 2001 From: Kevin Krammer Date: Wed, 9 Jan 2013 10:46:04 +0100 Subject: [PATCH] Don't need DeclarativeCheckBox any more Works with normal widget extension --- lib/declarativecheckbox.cpp | 29 ----------------------------- lib/declarativecheckbox_p.h | 36 ------------------------------------ lib/lib.pro | 2 -- 3 files changed, 0 insertions(+), 67 deletions(-) delete mode 100644 lib/declarativecheckbox.cpp delete mode 100644 lib/declarativecheckbox_p.h diff --git a/lib/declarativecheckbox.cpp b/lib/declarativecheckbox.cpp deleted file mode 100644 index 663385b..0000000 --- a/lib/declarativecheckbox.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/* - 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 "declarativecheckbox_p.h" - -DeclarativeCheckBox::DeclarativeCheckBox(QObject *parent) - : DeclarativeWidgetProxy(parent) -{ - connectAllSignals(m_proxiedObject, this); -} - -CUSTOM_METAOBJECT(DeclarativeCheckBox, QCheckBox) diff --git a/lib/declarativecheckbox_p.h b/lib/declarativecheckbox_p.h deleted file mode 100644 index 209baf6..0000000 --- a/lib/declarativecheckbox_p.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - 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 DECLARATIVECHECKBOX_P_H -#define DECLARATIVECHECKBOX_P_H - -#include "declarativewidgetproxy_p.h" - -#include - -class DeclarativeCheckBox : public DeclarativeWidgetProxy -{ - DECLARATIVE_OBJECT - - public: - explicit DeclarativeCheckBox(QObject *parent = 0); -}; - -#endif diff --git a/lib/lib.pro b/lib/lib.pro index 0ebdd05..e32cd97 100644 --- a/lib/lib.pro +++ b/lib/lib.pro @@ -11,7 +11,6 @@ HEADERS = \ declarativeboxlayout_p.h \ declarativebuttongroup_p.h \ declarativecalendarwidget_p.h \ - declarativecheckbox_p.h \ declarativecolordialog_p.h \ declarativecolumnview_p.h \ declarativecommandlinkbutton_p.h \ @@ -78,7 +77,6 @@ SOURCES = \ declarativeboxlayout.cpp \ declarativebuttongroup.cpp \ declarativecalendarwidget.cpp \ - declarativecheckbox.cpp \ declarativecolordialog.cpp \ declarativecolumnview.cpp \ declarativecommandlinkbutton.cpp \ -- 1.7.2.5