aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-10-10 14:00:58 +0200
committerMontel Laurent <[email protected]>2017-10-10 14:00:58 +0200
commit7ddb5cc3e79fa7211f2b315f7be9062891fd8cc4 (patch)
tree0cdab699fbaaff453026d563de223cea845a17c5
parenta696d655d02fa39923245f9405ee7035d78de68c (diff)
Add class for creating a abstract address location widget
-rw-r--r--src/contact-editor/editor/addresseditor/abstractaddresslocationwidget.cpp29
-rw-r--r--src/contact-editor/editor/addresseditor/abstractaddresslocationwidget.h37
2 files changed, 66 insertions, 0 deletions
diff --git a/src/contact-editor/editor/addresseditor/abstractaddresslocationwidget.cpp b/src/contact-editor/editor/addresseditor/abstractaddresslocationwidget.cpp
new file mode 100644
index 0000000..aa74f42
--- /dev/null
+++ b/src/contact-editor/editor/addresseditor/abstractaddresslocationwidget.cpp
@@ -0,0 +1,29 @@
+/*
+ This file is part of Contact Editor.
+
+ Copyright (C) 2017 Laurent Montel <[email protected]>
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Library General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or (at your
+ option) any later version.
+
+ This library 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 Library General Public
+ License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to the
+ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+*/
+
+#include "abstractaddresslocationwidget.h"
+
+using namespace ContactEditor;
+AbstractAddressLocationWidget::AbstractAddressLocationWidget(QWidget *parent)
+ : QWidget(parent)
+{
+
+}
diff --git a/src/contact-editor/editor/addresseditor/abstractaddresslocationwidget.h b/src/contact-editor/editor/addresseditor/abstractaddresslocationwidget.h
new file mode 100644
index 0000000..5145fff
--- /dev/null
+++ b/src/contact-editor/editor/addresseditor/abstractaddresslocationwidget.h
@@ -0,0 +1,37 @@
+/*
+ This file is part of Contact Editor.
+
+ Copyright (C) 2017 Laurent Montel <[email protected]>
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Library General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or (at your
+ option) any later version.
+
+ This library 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 Library General Public
+ License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to the
+ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+*/
+
+
+#ifndef ABSTRACTADDRESSLOCATIONWIDGET_H
+#define ABSTRACTADDRESSLOCATIONWIDGET_H
+
+#include <QWidget>
+namespace ContactEditor
+{
+class AbstractAddressLocationWidget : public QWidget
+{
+ Q_OBJECT
+public:
+ explicit AbstractAddressLocationWidget(QWidget *parent = nullptr);
+ ~AbstractAddressLocationWidget();
+};
+}
+#endif // ABSTRACTADDRESSLOCATIONWIDGET_H