Ref T240, style/minor fixes

* Q_DECLARE_METATYPE was wrong
* missing/unused include
* suppress CPP check warning
This commit is contained in:
Klaus Basan
2018-02-02 23:48:56 +01:00
parent 686f8067d1
commit 5b87b60682
5 changed files with 20 additions and 21 deletions

View File

@@ -12,12 +12,11 @@
#ifndef BLACKMISC_NETWORK_RAWFSDMESSAGE_H
#define BLACKMISC_NETWORK_RAWFSDMESSAGE_H
#include "blackmisc/blackmiscexport.h"
#include "blackmisc/metaclass.h"
#include "blackmisc/statusmessagelist.h"
#include "blackmisc/propertyindex.h"
#include "blackmisc/valueobject.h"
#include "blackmisc/variant.h"
#include "blackmisc/metaclass.h"
#include "blackmisc/propertyindex.h"
#include "blackmisc/blackmiscexport.h"
#include <QDateTime>
#include <QMetaType>
@@ -34,7 +33,7 @@ namespace BlackMisc
//! Properties by index
enum ColumnIndex
{
IndexReceptionTime = BlackMisc::CPropertyIndex::GlobalIndexCRawFsdMessage,
IndexReceptionTime = CPropertyIndex::GlobalIndexCRawFsdMessage,
IndexRawMessage
};
@@ -63,10 +62,10 @@ namespace BlackMisc
static const QStringList &getAllPacketTypes ();
//! \copydoc BlackMisc::Mixin::Index::propertyByIndex
CVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
CVariant propertyByIndex(const CPropertyIndex &index) const;
//! \copydoc BlackMisc::Mixin::Index::setPropertyByIndex
void setPropertyByIndex(const BlackMisc::CPropertyIndex &index, const CVariant &variant);
void setPropertyByIndex(const CPropertyIndex &index, const CVariant &variant);
//! \copydoc BlackMisc::Mixin::String::toQString()
QString convertToQString(bool i18n = false) const;