Some namespace cleanup.

This commit is contained in:
Jim Evins
2016-03-27 00:14:38 -04:00
parent 5b7e031c52
commit 7559544b06
156 changed files with 9732 additions and 10126 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
/* Category.cpp
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -21,7 +21,7 @@
#include "Category.h"
namespace libglabels
namespace glabels
{
Category::Category( const QString &id, const QString &name )
+5 -5
View File
@@ -1,6 +1,6 @@
/* Category.h
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -18,14 +18,14 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_Category_h
#define libglabels_Category_h
#ifndef glabels_Category_h
#define glabels_Category_h
#include <QString>
namespace libglabels
namespace glabels
{
class Category
@@ -50,4 +50,4 @@ namespace libglabels
#include "Category.inl"
#endif // libglabels_Category_h
#endif // glabels_Category_h
+2 -2
View File
@@ -1,6 +1,6 @@
/* Category.inl
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -19,7 +19,7 @@
*/
namespace libglabels
namespace glabels
{
inline const QString& Category::id() const
+5 -5
View File
@@ -1,6 +1,6 @@
/* Config.h
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -18,11 +18,11 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_Config_h
#define libglabels_Config_h
#ifndef glabels_Config_h
#define glabels_Config_h
namespace libglabels
namespace glabels
{
namespace Config
@@ -33,4 +33,4 @@ namespace libglabels
}
#endif // libglabels_Config_h
#endif // glabels_Config_h
+4 -4
View File
@@ -18,11 +18,11 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_Constants_h
#define libglabels_Constants_h
#ifndef glabels_Constants_h
#define glabels_Constants_h
namespace libglabels
namespace glabels
{
const double PTS_PER_PT = 1.0;
@@ -33,4 +33,4 @@ namespace libglabels
}
#endif // libglabels_Constants_h
#endif // glabels_Constants_h
+3 -3
View File
@@ -33,14 +33,14 @@
namespace
{
bool partNameLessThan( const libglabels::Template *a, const libglabels::Template *b )
bool partNameLessThan( const glabels::Template *a, const glabels::Template *b )
{
return libglabels::StrUtil::comparePartNames( a->name(), b->name() ) < 0;
return glabels::StrUtil::comparePartNames( a->name(), b->name() ) < 0;
}
}
namespace libglabels
namespace glabels
{
QList<Paper*> Db::mPapers;
+5 -5
View File
@@ -1,6 +1,6 @@
/* Db.h
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -18,8 +18,8 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_Db_h
#define libglabels_Db_h
#ifndef glabels_Db_h
#define glabels_Db_h
#include <QCoreApplication>
@@ -33,7 +33,7 @@
#include "Template.h"
namespace libglabels
namespace glabels
{
class Db
@@ -140,4 +140,4 @@ namespace libglabels
#include "Db.inl"
#endif // libglabels_Db_h
#endif // glabels_Db_h
+2 -2
View File
@@ -1,6 +1,6 @@
/* Db.inl
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -19,7 +19,7 @@
*/
namespace libglabels
namespace glabels
{
inline const QList<Paper*>& Db::papers()
+1 -1
View File
@@ -24,7 +24,7 @@
#include <QtDebug>
namespace libglabels
namespace glabels
{
QString Distance::toId( Units units )
+4 -4
View File
@@ -18,8 +18,8 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_Distance_h
#define libglabels_Distance_h
#ifndef glabels_Distance_h
#define glabels_Distance_h
#include <QCoreApplication>
@@ -27,7 +27,7 @@
#include "Constants.h"
namespace libglabels
namespace glabels
{
@@ -104,4 +104,4 @@ namespace libglabels
#include "Distance.inl"
#endif // libglabels_Distance_h
#endif // glabels_Distance_h
+1 -1
View File
@@ -22,7 +22,7 @@
#include <cmath>
namespace libglabels
namespace glabels
{
inline Distance::Distance() : mDPts(0)
+2 -2
View File
@@ -1,6 +1,6 @@
/* Frame.cpp
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -23,7 +23,7 @@
#include "Markup.h"
namespace libglabels
namespace glabels
{
Frame::Frame( const QString& id )
+5 -5
View File
@@ -1,6 +1,6 @@
/* Frame.h
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -18,8 +18,8 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_Frame_h
#define libglabels_Frame_h
#ifndef glabels_Frame_h
#define glabels_Frame_h
#include <QCoreApplication>
#include <QString>
@@ -32,7 +32,7 @@
#include "Layout.h"
namespace libglabels
namespace glabels
{
class Markup; // Forward reference
@@ -84,4 +84,4 @@ namespace libglabels
#include "Frame.inl"
#endif // libglabels_Frame_h
#endif // glabels_Frame_h
+2 -2
View File
@@ -1,6 +1,6 @@
/* Frame.inl
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -19,7 +19,7 @@
*/
namespace libglabels
namespace glabels
{
inline const QString& Frame::id() const
+1 -1
View File
@@ -27,7 +27,7 @@
#include <QtDebug>
namespace libglabels
namespace glabels
{
FrameCd::FrameCd( const Distance& r1,
+4 -4
View File
@@ -18,13 +18,13 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_FrameCd_h
#define libglabels_FrameCd_h
#ifndef glabels_FrameCd_h
#define glabels_FrameCd_h
#include "Frame.h"
namespace libglabels
namespace glabels
{
class FrameCd : public Frame
@@ -72,4 +72,4 @@ namespace libglabels
#include "FrameCd.inl"
#endif // libglabels_FrameCd_h
#endif // glabels_FrameCd_h
+1 -1
View File
@@ -19,7 +19,7 @@
*/
namespace libglabels
namespace glabels
{
inline Distance FrameCd::r1() const
+1 -1
View File
@@ -26,7 +26,7 @@
#include "privateConstants.h"
namespace libglabels
namespace glabels
{
FrameEllipse::FrameEllipse( const Distance& w,
+4 -4
View File
@@ -18,13 +18,13 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_FrameEllipse_h
#define libglabels_FrameEllipse_h
#ifndef glabels_FrameEllipse_h
#define glabels_FrameEllipse_h
#include "Frame.h"
namespace libglabels
namespace glabels
{
class FrameEllipse : public Frame
@@ -67,4 +67,4 @@ namespace libglabels
#include "FrameEllipse.inl"
#endif // libglabels_FrameEllipse_h
#endif // glabels_FrameEllipse_h
+1 -1
View File
@@ -19,7 +19,7 @@
*/
namespace libglabels
namespace glabels
{
inline Distance FrameEllipse::waste() const
+1 -1
View File
@@ -26,7 +26,7 @@
#include "privateConstants.h"
namespace libglabels
namespace glabels
{
FrameRect::FrameRect( const Distance& w,
+5 -5
View File
@@ -1,6 +1,6 @@
/* FrameRect.h
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -18,13 +18,13 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_FrameRect_h
#define libglabels_FrameRect_h
#ifndef glabels_FrameRect_h
#define glabels_FrameRect_h
#include "Frame.h"
namespace libglabels
namespace glabels
{
class FrameRect : public Frame
@@ -73,4 +73,4 @@ namespace libglabels
#include "FrameRect.inl"
#endif // libglabels_FrameRect_h
#endif // glabels_FrameRect_h
+1 -1
View File
@@ -19,7 +19,7 @@
*/
namespace libglabels
namespace glabels
{
inline Distance FrameRect::r() const
+1 -1
View File
@@ -26,7 +26,7 @@
#include "privateConstants.h"
namespace libglabels
namespace glabels
{
FrameRound::FrameRound( const Distance& r,
+4 -4
View File
@@ -18,13 +18,13 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_FrameRound_h
#define libglabels_FrameRound_h
#ifndef glabels_FrameRound_h
#define glabels_FrameRound_h
#include "Frame.h"
namespace libglabels
namespace glabels
{
class FrameRound : public Frame
@@ -66,4 +66,4 @@ namespace libglabels
#include "FrameRound.inl"
#endif // libglabels_FrameRound_h
#endif // glabels_FrameRound_h
+1 -1
View File
@@ -19,7 +19,7 @@
*/
namespace libglabels
namespace glabels
{
inline Distance FrameRound::r() const
+1 -1
View File
@@ -25,7 +25,7 @@
#include "privateConstants.h"
namespace libglabels
namespace glabels
{
Layout::Layout( int nx,
+4 -4
View File
@@ -18,13 +18,13 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_Layout_h
#define libglabels_Layout_h
#ifndef glabels_Layout_h
#define glabels_Layout_h
#include "Distance.h"
namespace libglabels
namespace glabels
{
class Layout
@@ -70,4 +70,4 @@ namespace libglabels
#include "Layout.inl"
#endif // libglabels_Layout_h
#endif // glabels_Layout_h
+1 -1
View File
@@ -19,7 +19,7 @@
*/
namespace libglabels
namespace glabels
{
inline int Layout::nx() const
+1 -1
View File
@@ -21,7 +21,7 @@
#include "Markup.h"
namespace libglabels
namespace glabels
{
const QPainterPath& Markup::path() const
+4 -4
View File
@@ -18,15 +18,15 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_Markup_h
#define libglabels_Markup_h
#ifndef glabels_Markup_h
#define glabels_Markup_h
#include <QPainterPath>
#include "Frame.h"
namespace libglabels
namespace glabels
{
class Markup
@@ -155,4 +155,4 @@ namespace libglabels
#include "Markup.inl"
#endif // libglabels_Markup_h
#endif // glabels_Markup_h
+1 -1
View File
@@ -19,7 +19,7 @@
*/
namespace libglabels
namespace glabels
{
inline Distance MarkupMargin::size() const { return mSize; }
+1 -1
View File
@@ -35,7 +35,7 @@ namespace
}
namespace libglabels
namespace glabels
{
MiniPreviewPixmap::MiniPreviewPixmap()
+4 -4
View File
@@ -18,8 +18,8 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_MiniPreviewPixmap_h
#define libglabels_MiniPreviewPixmap_h
#ifndef glabels_MiniPreviewPixmap_h
#define glabels_MiniPreviewPixmap_h
#include <QPixmap>
@@ -27,7 +27,7 @@
#include "Point.h"
namespace libglabels
namespace glabels
{
class Template; // Forward reference
class Frame; // Forward reference
@@ -52,4 +52,4 @@ namespace libglabels
}
#endif // libglabels_MiniPreviewPixmap_h
#endif // glabels_MiniPreviewPixmap_h
+1 -1
View File
@@ -21,7 +21,7 @@
#include "Paper.h"
namespace libglabels
namespace glabels
{
Paper::Paper( const QString& id,
+4 -4
View File
@@ -18,15 +18,15 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_Paper_h
#define libglabels_Paper_h
#ifndef glabels_Paper_h
#define glabels_Paper_h
#include <QString>
#include "Distance.h"
namespace libglabels
namespace glabels
{
class Paper
@@ -67,4 +67,4 @@ namespace libglabels
#include "Paper.inl"
#endif // libglabels_Paper_h
#endif // glabels_Paper_h
+2 -2
View File
@@ -1,6 +1,6 @@
/* Paper.inl
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -19,7 +19,7 @@
*/
namespace libglabels
namespace glabels
{
inline const QString& Paper::id() const { return mId; }
+2 -2
View File
@@ -1,6 +1,6 @@
/* Point.cpp
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -21,7 +21,7 @@
#include "Point.h"
namespace libglabels
namespace glabels
{
Point::Point() : mX(Distance(0)), mY(Distance(0))
+4 -4
View File
@@ -18,13 +18,13 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_Point_h
#define libglabels_Point_h
#ifndef glabels_Point_h
#define glabels_Point_h
#include "Distance.h"
namespace libglabels
namespace glabels
{
class Point
@@ -51,4 +51,4 @@ namespace libglabels
#include "Point.inl"
#endif // libglabels_Point_h
#endif // glabels_Point_h
+1 -1
View File
@@ -19,7 +19,7 @@
*/
namespace libglabels
namespace glabels
{
inline Distance Point::x() const
+2 -2
View File
@@ -1,6 +1,6 @@
/* StrUtil.cpp
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -35,7 +35,7 @@ namespace
}
namespace libglabels
namespace glabels
{
namespace StrUtil
+5 -5
View File
@@ -1,6 +1,6 @@
/* StrUtil.h
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -18,13 +18,13 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_StrUtil_h
#define libglabels_StrUtil_h
#ifndef glabels_StrUtil_h
#define glabels_StrUtil_h
#include <QString>
namespace libglabels
namespace glabels
{
namespace StrUtil
@@ -38,4 +38,4 @@ namespace libglabels
}
#endif // libglabels_StrUtil_h
#endif // glabels_StrUtil_h
+1 -1
View File
@@ -25,7 +25,7 @@
#include "Db.h"
namespace libglabels
namespace glabels
{
Template::Template( const QString& brand,
+4 -4
View File
@@ -18,8 +18,8 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_Template_h
#define libglabels_Template_h
#ifndef glabels_Template_h
#define glabels_Template_h
#include <QCoreApplication>
#include <QString>
@@ -34,7 +34,7 @@
#include "MiniPreviewPixmap.h"
namespace libglabels
namespace glabels
{
const int TEMPLATE_PREVIEW_SIZE = 80;
@@ -127,4 +127,4 @@ namespace libglabels
#include "Template.inl"
#endif // libglabels_Template_h
#endif // glabels_Template_h
+1 -1
View File
@@ -19,7 +19,7 @@
*/
namespace libglabels
namespace glabels
{
inline const QString& Template::brand() const { return mBrand; }
+2 -2
View File
@@ -1,6 +1,6 @@
/* Vendor.cpp
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -21,7 +21,7 @@
#include "Vendor.h"
namespace libglabels
namespace glabels
{
Vendor::Vendor( const QString &name, const QString &url ) : mName(name), mUrl(url)
+5 -5
View File
@@ -1,6 +1,6 @@
/* Vendor.h
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -18,14 +18,14 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_Vendor_h
#define libglabels_Vendor_h
#ifndef glabels_Vendor_h
#define glabels_Vendor_h
#include <QString>
namespace libglabels
namespace glabels
{
class Vendor
@@ -47,4 +47,4 @@ namespace libglabels
#include "Vendor.inl"
#endif // libglabels_Vendor_h
#endif // glabels_Vendor_h
+2 -2
View File
@@ -1,6 +1,6 @@
/* Vendor.inl
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -19,7 +19,7 @@
*/
namespace libglabels
namespace glabels
{
inline const QString& Vendor::name() const { return mName; }
+2 -2
View File
@@ -1,6 +1,6 @@
/* XmlCategoryParser.cpp
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -30,7 +30,7 @@
#include "Db.h"
namespace libglabels
namespace glabels
{
bool XmlCategoryParser::readFile( const QString &fileName )
+5 -5
View File
@@ -1,6 +1,6 @@
/* XmlCategoryParser.h
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -18,15 +18,15 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_XmlCategoryParser_h
#define libglabels_XmlCategoryParser_h
#ifndef glabels_XmlCategoryParser_h
#define glabels_XmlCategoryParser_h
#include <QString>
#include <QDomElement>
namespace libglabels
namespace glabels
{
class XmlCategoryParser
@@ -43,4 +43,4 @@ namespace libglabels
}
#endif // libglabels_XmlCategoryParser_h
#endif // glabels_XmlCategoryParser_h
+2 -2
View File
@@ -1,6 +1,6 @@
/* XmlPaperParser.cpp
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -30,7 +30,7 @@
#include "Db.h"
namespace libglabels
namespace glabels
{
bool XmlPaperParser::readFile( const QString &fileName )
+5 -5
View File
@@ -1,6 +1,6 @@
/* XmlPaperParser.h
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -18,15 +18,15 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_XmlPaperParser_h
#define libglabels_XmlPaperParser_h
#ifndef glabels_XmlPaperParser_h
#define glabels_XmlPaperParser_h
#include <QString>
#include <QDomElement>
namespace libglabels
namespace glabels
{
class XmlPaperParser
@@ -43,4 +43,4 @@ namespace libglabels
}
#endif // libglabels_XmlPaperParser_h
#endif // glabels_XmlPaperParser_h
+1 -1
View File
@@ -30,7 +30,7 @@
#include "Db.h"
namespace libglabels
namespace glabels
{
bool XmlTemplateCreator::writeTemplates( const QList<const Template*> tmplates, const QString &fileName )
+5 -5
View File
@@ -1,6 +1,6 @@
/* XmlTemplateCreator.h
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -18,8 +18,8 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_XmlTemplateCreator_h
#define libglabels_XmlTemplateCreator_h
#ifndef glabels_XmlTemplateCreator_h
#define glabels_XmlTemplateCreator_h
#include <QString>
@@ -34,7 +34,7 @@
#include "Markup.h"
namespace libglabels
namespace glabels
{
class XmlTemplateCreator
@@ -65,4 +65,4 @@ namespace libglabels
}
#endif // libglabels_XmlTemplateCreator_h
#endif // glabels_XmlTemplateCreator_h
+1 -1
View File
@@ -36,7 +36,7 @@
#include "Markup.h"
namespace libglabels
namespace glabels
{
bool XmlTemplateParser::readFile( const QString &fileName )
+4 -4
View File
@@ -18,8 +18,8 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_XmlTemplateParser_h
#define libglabels_XmlTemplateParser_h
#ifndef glabels_XmlTemplateParser_h
#define glabels_XmlTemplateParser_h
#include <QString>
@@ -28,7 +28,7 @@
#include "Template.h"
namespace libglabels
namespace glabels
{
class XmlTemplateParser
@@ -58,4 +58,4 @@ namespace libglabels
}
#endif // libglabels_XmlTemplateParser_h
#endif // glabels_XmlTemplateParser_h
+1 -1
View File
@@ -24,7 +24,7 @@
#include <QtDebug>
namespace libglabels
namespace glabels
{
Distance::Units XmlUtil::mUnits;
+4 -4
View File
@@ -18,8 +18,8 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_XmlUtil_h
#define libglabels_XmlUtil_h
#ifndef glabels_XmlUtil_h
#define glabels_XmlUtil_h
#include <QString>
#include <QDomElement>
@@ -28,7 +28,7 @@
#include "Distance.h"
namespace libglabels
namespace glabels
{
class XmlUtil
@@ -103,4 +103,4 @@ namespace libglabels
}
#endif // libglabels_XmlUtil_h
#endif // glabels_XmlUtil_h
+2 -2
View File
@@ -1,6 +1,6 @@
/* XmlVendorParser.cpp
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -30,7 +30,7 @@
#include "Db.h"
namespace libglabels
namespace glabels
{
bool XmlVendorParser::readFile( const QString &fileName )
+5 -5
View File
@@ -1,6 +1,6 @@
/* XmlVendorParser.h
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -18,15 +18,15 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_XmlVendorParser_h
#define libglabels_XmlVendorParser_h
#ifndef glabels_XmlVendorParser_h
#define glabels_XmlVendorParser_h
#include <QString>
#include <QDomElement>
namespace libglabels
namespace glabels
{
class XmlVendorParser
@@ -43,4 +43,4 @@ namespace libglabels
}
#endif // libglabels_XmlVendorParser_h
#endif // glabels_XmlVendorParser_h
+5 -5
View File
@@ -1,6 +1,6 @@
/* privateConstants.h
*
* Copyright (C) 2013 Jim Evins <evins@snaught.com>
* Copyright (C) 2013-2016 Jim Evins <evins@snaught.com>
*
* This file is part of gLabels-qt.
*
@@ -18,14 +18,14 @@
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef libglabels_privateConstants_h
#define libglabels_privateConstants_h
#ifndef glabels_privateConstants_h
#define glabels_privateConstants_h
#include "Distance.h"
namespace libglabels
namespace glabels
{
namespace Constants
@@ -37,4 +37,4 @@ namespace libglabels
}
#endif // libglabels_privateConstants_h
#endif // glabels_privateConstants_h