projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cmake: avoid de-duplication of user's CXXFLAGS
[quassel.git]
/
src
/
common
/
coreinfo.h
diff --git
a/src/common/coreinfo.h
b/src/common/coreinfo.h
index
284336c
..
a85205b
100644
(file)
--- a/
src/common/coreinfo.h
+++ b/
src/common/coreinfo.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-20
18
by the Quassel Project *
+ * Copyright (C) 2005-20
22
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-20,13
+20,15
@@
#pragma once
#pragma once
+#include "common-export.h"
+
#include "syncableobject.h"
/*
* gather various information about the core.
*/
#include "syncableobject.h"
/*
* gather various information about the core.
*/
-class CoreInfo : public SyncableObject
+class C
OMMON_EXPORT C
oreInfo : public SyncableObject
{
Q_OBJECT
SYNCABLE_OBJECT
{
Q_OBJECT
SYNCABLE_OBJECT
@@
-34,8
+36,8
@@
class CoreInfo : public SyncableObject
Q_PROPERTY(QVariantMap coreData READ coreData WRITE setCoreData)
public:
Q_PROPERTY(QVariantMap coreData READ coreData WRITE setCoreData)
public:
- explicit CoreInfo(QObject
*
parent = nullptr);
- inline QVariant
&at(const QString &
key) { return _coreData[key]; }
+ explicit CoreInfo(QObject
*
parent = nullptr);
+ inline QVariant
& at(const QString&
key) { return _coreData[key]; }
void setConnectedClientData(int, QVariantList);
void setConnectedClientData(int, QVariantList);
@@
-52,7
+54,7
@@
signals:
public slots:
QVariantMap coreData() const;
public slots:
QVariantMap coreData() const;
- void setCoreData(const QVariantMap
&);
+ void setCoreData(const QVariantMap&);
private:
QVariantMap _coreData;
private:
QVariantMap _coreData;