projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup
[quassel.git]
/
src
/
client
/
bufferviewoverlay.h
diff --git
a/src/client/bufferviewoverlay.h
b/src/client/bufferviewoverlay.h
index
70fb927
..
96f6323
100644
(file)
--- a/
src/client/bufferviewoverlay.h
+++ b/
src/client/bufferviewoverlay.h
@@
-34,6
+34,7
@@
class BufferViewOverlay : public QObject {
public:
BufferViewOverlay(QObject *parent = 0);
public:
BufferViewOverlay(QObject *parent = 0);
+ inline const QSet<int> &bufferViewIds() { return _bufferViewIds; }
bool allNetworks();
const QSet<NetworkId> &networkIds();
bool allNetworks();
const QSet<NetworkId> &networkIds();
@@
-46,6
+47,8
@@
public:
int allowedBufferTypes();
int minimumActivity();
int allowedBufferTypes();
int minimumActivity();
+ inline bool isInitialized() { return _uninitializedViewCount == 0; }
+
public slots:
void addView(int viewId);
void removeView(int viewId);
public slots:
void addView(int viewId);
void removeView(int viewId);
@@
-55,6
+58,7
@@
public slots:
signals:
void hasChanged();
signals:
void hasChanged();
+ void initDone();
protected:
virtual void customEvent(QEvent *event);
protected:
virtual void customEvent(QEvent *event);
@@
-68,6
+72,7
@@
private:
bool _aboutToUpdate;
QSet<int> _bufferViewIds;
bool _aboutToUpdate;
QSet<int> _bufferViewIds;
+ int _uninitializedViewCount;
QSet<NetworkId> _networkIds;
QSet<NetworkId> _networkIds;