Some namespace cleanup.
This commit is contained in:
+52
-56
@@ -18,75 +18,71 @@
|
||||
* along with gLabels-qt. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef glabels_MergeField_h
|
||||
#define glabels_MergeField_h
|
||||
#ifndef MergeField_h
|
||||
#define MergeField_h
|
||||
|
||||
#include <QString>
|
||||
|
||||
|
||||
namespace glabels
|
||||
///
|
||||
/// Merge Field Structure
|
||||
///
|
||||
struct MergeField
|
||||
{
|
||||
|
||||
///
|
||||
/// Merge Field Structure
|
||||
///
|
||||
struct MergeField
|
||||
{
|
||||
|
||||
/////////////////////////////////
|
||||
// Properties
|
||||
/////////////////////////////////
|
||||
public:
|
||||
//
|
||||
// Key Property
|
||||
//
|
||||
inline const QString key( void ) const;
|
||||
inline void setKey( const QString &value );
|
||||
/////////////////////////////////
|
||||
// Properties
|
||||
/////////////////////////////////
|
||||
public:
|
||||
//
|
||||
// Key Property
|
||||
//
|
||||
inline const QString key( void ) const;
|
||||
inline void setKey( const QString &value );
|
||||
|
||||
|
||||
//
|
||||
// Value Property
|
||||
//
|
||||
inline const QString value( void ) const;
|
||||
inline void setValue( const QString &value );
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// Private data
|
||||
/////////////////////////////////
|
||||
private:
|
||||
QString mKey;
|
||||
QString mValue;
|
||||
|
||||
};
|
||||
//
|
||||
// Value Property
|
||||
//
|
||||
inline const QString value( void ) const;
|
||||
inline void setValue( const QString &value );
|
||||
|
||||
|
||||
/////////////////////////////////
|
||||
// INLINE METHODS
|
||||
// Private data
|
||||
/////////////////////////////////
|
||||
const QString MergeField::key( void ) const
|
||||
{
|
||||
return mKey;
|
||||
}
|
||||
private:
|
||||
QString mKey;
|
||||
QString mValue;
|
||||
|
||||
};
|
||||
|
||||
|
||||
void MergeField::setKey( const QString &value )
|
||||
{
|
||||
mKey = value;
|
||||
}
|
||||
|
||||
|
||||
const QString MergeField::value( void ) const
|
||||
{
|
||||
return mValue;
|
||||
}
|
||||
|
||||
|
||||
void MergeField::setValue( const QString &value )
|
||||
{
|
||||
mValue = value;
|
||||
}
|
||||
|
||||
/////////////////////////////////
|
||||
// INLINE METHODS
|
||||
/////////////////////////////////
|
||||
const QString MergeField::key( void ) const
|
||||
{
|
||||
return mKey;
|
||||
}
|
||||
|
||||
#endif // glabels_MergeField_h
|
||||
|
||||
void MergeField::setKey( const QString &value )
|
||||
{
|
||||
mKey = value;
|
||||
}
|
||||
|
||||
|
||||
const QString MergeField::value( void ) const
|
||||
{
|
||||
return mValue;
|
||||
}
|
||||
|
||||
|
||||
void MergeField::setValue( const QString &value )
|
||||
{
|
||||
mValue = value;
|
||||
}
|
||||
|
||||
|
||||
#endif // MergeField_h
|
||||
|
||||
Reference in New Issue
Block a user