[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [krecipes] src: Add KreIngHeader initial implementation.
From:       José_Manuel_Santamaría_Lema <panfaust () gmail ! com>
Date:       2016-07-12 7:26:43
Message-ID: E1bMs5b-0000Ay-Eu () code ! kde ! org
[Download RAW message or body]

Git commit 5c3104d31fffa52dcf383c130a4b1a5dd4e8cbf9 by Jos=C3=A9 Manuel San=
tamar=C3=ADa Lema.
Committed on 12/07/2016 at 06:10.
Pushed by joselema into branch 'master'.

Add KreIngHeader initial implementation.

M  +1    -0    src/CMakeLists.txt
A  +20   -0    src/dtos/kreingheader.cpp     [License: GPL (v2+)]
A  +23   -0    src/dtos/kreingheader.h     [License: GPL (v2+)]

http://commits.kde.org/krecipes/5c3104d31fffa52dcf383c130a4b1a5dd4e8cbf9

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 63a8e2c..b048be8 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -24,6 +24,7 @@ add_definitions (-DQT3_SUPPORT_WARNINGS)
 set(krecipesdtos_SRCS
    dtos/kreelement.cpp
    dtos/kreingredient.cpp
+   dtos/kreingheader.cpp
    )
 =

 ############# backends ###############
diff --git a/src/dtos/kreingheader.cpp b/src/dtos/kreingheader.cpp
new file mode 100644
index 0000000..a3a2c70
--- /dev/null
+++ b/src/dtos/kreingheader.cpp
@@ -0,0 +1,20 @@
+/*************************************************************************=
**
+*   Copyright =C2=A9 2016 Jos=C3=A9 Manuel Santamar=C3=ADa Lema <panfaust@=
gmail.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.                                   =
 *
+**************************************************************************=
**/
+
+#include "kreingheader.h"
+
+KreIngHeader::KreIngHeader():
+	KreElement()
+{
+}
+
+KreIngHeader::KreIngHeader( const QVariant & id, const QString & name ):
+	KreElement( id, name )
+{
+}
diff --git a/src/dtos/kreingheader.h b/src/dtos/kreingheader.h
new file mode 100644
index 0000000..1fb83c8
--- /dev/null
+++ b/src/dtos/kreingheader.h
@@ -0,0 +1,23 @@
+/*************************************************************************=
**
+*   Copyright =C2=A9 2016 Jos=C3=A9 Manuel Santamar=C3=ADa Lema <panfaust@=
gmail.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.                                   =
 *
+**************************************************************************=
**/
+
+#ifndef KREINGHEADER_H
+#define KREINGHEADER_H
+
+#include "kreelement.h"
+
+class KreIngHeader: public KreElement {
+
+public:
+	KreIngHeader();
+	KreIngHeader( const QVariant & id, const QString & name );
+
+};
+
+#endif

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic