From kde-commits Tue Jul 12 07:26:43 2016 From: =?utf-8?q?Jos=C3=A9_Manuel_Santamar=C3=ADa_Lema?= Date: Tue, 12 Jul 2016 07:26:43 +0000 To: kde-commits Subject: [krecipes] src: Add KreIngHeader initial implementation. Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=146830841304775 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 * +* = * +* 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 * +* = * +* 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