Quassel IRC  Pre-Release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
syncableobject.h File Reference
#include <QDataStream>
#include <QMetaType>
#include <QObject>
#include <QVariantMap>
#include "signalproxy.h"
Include dependency graph for syncableobject.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SyncableObject

Macros

#define SYNCABLE_OBJECT   static const int _classNameOffset__;
#define INIT_SYNCABLE_OBJECT(x)   const int x ::_classNameOffset__ = QByteArray(staticMetaObject.className()).length() + 2;
#define SYNC(...)   sync_call__(SignalProxy::Server, __func__, __VA_ARGS__);
#define REQUEST(...)   sync_call__(SignalProxy::Client, __func__, __VA_ARGS__);
#define SYNC_OTHER(x,...)   sync_call__(SignalProxy::Server, #x, __VA_ARGS__);
#define REQUEST_OTHER(x,...)   sync_call__(SignalProxy::Client, #x, __VA_ARGS__);
#define ARG(x)   const_cast<void *>(reinterpret_cast<const void *>(&x))
#define NO_ARG   0

Macro Definition Documentation

#define SYNCABLE_OBJECT   static const int _classNameOffset__;

Definition at line 31 of file syncableobject.h.

#define INIT_SYNCABLE_OBJECT (   x)    const int x ::_classNameOffset__ = QByteArray(staticMetaObject.className()).length() + 2;

Definition at line 32 of file syncableobject.h.

#define SYNC (   ...)    sync_call__(SignalProxy::Server, __func__, __VA_ARGS__);

Definition at line 38 of file syncableobject.h.

Referenced by AliasManager::addAlias(), BufferViewConfig::addBuffer(), IrcChannel::addChannelMode(), IgnoreListManager::addIgnoreListItem(), Network::addSupport(), IrcUser::addUserModes(), BufferViewManager::deleteBufferViewConfig(), BufferSyncer::markBufferAsRead(), BufferSyncer::mergeBuffersPermanently(), BufferViewConfig::moveBuffer(), IrcUser::quit(), BufferSyncer::removeBuffer(), BufferViewConfig::removeBuffer(), BufferViewConfig::removeBufferPermanently(), IrcChannel::removeChannelMode(), IgnoreListManager::removeIgnoreListItem(), Network::removeSupport(), IrcUser::removeUserModes(), BufferSyncer::renameBuffer(), IrcListHelper::reportError(), IrcListHelper::reportFinishedList(), BufferViewConfig::setAddNewBuffersAutomatically(), Transfer::setAddress(), BufferViewConfig::setAllowedBufferTypes(), Identity::setAutoAwayEnabled(), Identity::setAutoAwayReason(), Identity::setAutoAwayReasonEnabled(), Identity::setAutoAwayTime(), Network::setAutoIdentifyPassword(), Network::setAutoIdentifyService(), Network::setAutoReconnectInterval(), Network::setAutoReconnectRetries(), NetworkConfig::setAutoWhoDelay(), NetworkConfig::setAutoWhoEnabled(), NetworkConfig::setAutoWhoInterval(), NetworkConfig::setAutoWhoNickLimit(), IrcUser::setAway(), IrcUser::setAwayMessage(), Identity::setAwayNick(), Identity::setAwayNickEnabled(), Identity::setAwayReason(), Identity::setAwayReasonEnabled(), BufferViewConfig::setBufferViewName(), Network::setConnected(), Network::setConnectionState(), Network::setCurrentServer(), Identity::setDetachAwayEnabled(), Identity::setDetachAwayReason(), Identity::setDetachAwayReasonEnabled(), Transfer::setDirection(), BufferViewConfig::setDisableDecoration(), IrcChannel::setEncrypted(), IrcUser::setEncrypted(), Transfer::setFileName(), Transfer::setFileSize(), BufferViewConfig::setHideInactiveBuffers(), BufferViewConfig::setHideInactiveNetworks(), IrcUser::setHost(), Identity::setId(), Identity::setIdent(), Network::setIdentity(), Identity::setIdentityName(), IrcUser::setIdleTime(), IrcUser::setIrcOperator(), Identity::setKickReason(), IrcUser::setLastAwayMessage(), BufferSyncer::setLastSeenMsg(), Network::setLatency(), IrcUser::setLoginTime(), BufferSyncer::setMarkerLine(), NetworkConfig::setMaxPingCount(), BufferViewConfig::setMinimumActivity(), Network::setMyNick(), BufferViewConfig::setNetworkId(), Network::setNetworkName(), IrcUser::setNick(), Transfer::setNick(), Identity::setNicks(), Identity::setPartReason(), IrcChannel::setPassword(), Network::setPerform(), NetworkConfig::setPingInterval(), NetworkConfig::setPingTimeoutEnabled(), Transfer::setPort(), Identity::setQuitReason(), Identity::setRealName(), IrcUser::setRealName(), Network::setRejoinChannels(), Network::setSaslAccount(), Network::setSaslPassword(), IrcUser::setServer(), Network::setServerList(), BufferViewConfig::setSortAlphabetically(), NetworkConfig::setStandardCtcp(), Transfer::setState(), IrcUser::setSuserHost(), IrcChannel::setTopic(), Network::setUnlimitedReconnectRetries(), Network::setUseAutoIdentify(), Network::setUseAutoReconnect(), IrcUser::setUser(), Network::setUseRandomServer(), IrcUser::setUserModes(), Network::setUseSasl(), IrcUser::setWhoisServiceReply(), IgnoreListManager::toggleIgnoreRule(), and SyncableObject::update().

#define REQUEST (   ...)    sync_call__(SignalProxy::Client, __func__, __VA_ARGS__);
#define REQUEST_OTHER (   x,
  ... 
)    sync_call__(SignalProxy::Client, #x, __VA_ARGS__);

Definition at line 43 of file syncableobject.h.

Referenced by ClientTransfer::accept(), and ClientTransfer::reject().

#define ARG (   x)    const_cast<void *>(reinterpret_cast<const void *>(&x))

Definition at line 45 of file syncableobject.h.

Referenced by ClientTransfer::accept(), AliasManager::addAlias(), BufferViewConfig::addBuffer(), BufferViewManager::addBufferViewConfig(), IrcChannel::addChannelMode(), IgnoreListManager::addIgnoreListItem(), Network::addSupport(), TransferManager::addTransfer(), IrcChannel::addUserMode(), IrcUser::addUserModes(), BufferViewManager::deleteBufferViewConfig(), IrcChannel::joinIrcUsers(), BufferSyncer::markBufferAsRead(), BufferSyncer::mergeBuffersPermanently(), BufferViewConfig::moveBuffer(), Network::newIrcChannel(), Network::newIrcUser(), IrcUser::partChannel(), ClientTransfer::reject(), CoreTransfer::relayData(), BufferSyncer::removeBuffer(), BufferViewConfig::removeBuffer(), BufferViewConfig::removeBufferPermanently(), IrcChannel::removeChannelMode(), IgnoreListManager::removeIgnoreListItem(), Network::removeSupport(), IrcChannel::removeUserMode(), IrcUser::removeUserModes(), BufferSyncer::renameBuffer(), IrcListHelper::reportError(), IrcListHelper::reportFinishedList(), BufferViewConfig::requestAddBuffer(), IgnoreListManager::requestAddIgnoreListItem(), BacklogManager::requestBacklog(), BacklogManager::requestBacklogAll(), IrcListHelper::requestChannelList(), BufferViewManager::requestCreateBufferView(), BufferViewManager::requestCreateBufferViews(), BufferViewManager::requestDeleteBufferView(), BufferViewManager::requestDeleteBufferViews(), BufferSyncer::requestMarkBufferAsRead(), BufferSyncer::requestMergeBuffersPermanently(), BufferViewConfig::requestMoveBuffer(), BufferSyncer::requestRemoveBuffer(), BufferViewConfig::requestRemoveBuffer(), BufferViewConfig::requestRemoveBufferPermanently(), IgnoreListManager::requestRemoveIgnoreListItem(), BufferSyncer::requestRenameBuffer(), NetworkConfig::requestSetAutoWhoDelay(), NetworkConfig::requestSetAutoWhoEnabled(), NetworkConfig::requestSetAutoWhoInterval(), NetworkConfig::requestSetAutoWhoNickLimit(), BufferViewConfig::requestSetBufferViewName(), BufferSyncer::requestSetLastSeenMsg(), BufferSyncer::requestSetMarkerLine(), NetworkConfig::requestSetMaxPingCount(), Network::requestSetNetworkInfo(), NetworkConfig::requestSetPingInterval(), NetworkConfig::requestSetPingTimeoutEnabled(), NetworkConfig::requestSetStandardCtcp(), IgnoreListManager::requestToggleIgnoreRule(), SyncableObject::requestUpdate(), BufferViewConfig::setAddNewBuffersAutomatically(), Transfer::setAddress(), BufferViewConfig::setAllowedBufferTypes(), Identity::setAutoAwayEnabled(), Identity::setAutoAwayReason(), Identity::setAutoAwayReasonEnabled(), Identity::setAutoAwayTime(), Network::setAutoIdentifyPassword(), Network::setAutoIdentifyService(), Network::setAutoReconnectInterval(), Network::setAutoReconnectRetries(), NetworkConfig::setAutoWhoDelay(), NetworkConfig::setAutoWhoEnabled(), NetworkConfig::setAutoWhoInterval(), NetworkConfig::setAutoWhoNickLimit(), IrcUser::setAway(), IrcUser::setAwayMessage(), Identity::setAwayNick(), Identity::setAwayNickEnabled(), Identity::setAwayReason(), Identity::setAwayReasonEnabled(), BufferViewConfig::setBufferViewName(), Network::setCodecForDecoding(), Network::setCodecForEncoding(), Network::setCodecForServer(), Network::setConnected(), Network::setConnectionState(), Network::setCurrentServer(), Identity::setDetachAwayEnabled(), Identity::setDetachAwayReason(), Identity::setDetachAwayReasonEnabled(), Transfer::setDirection(), BufferViewConfig::setDisableDecoration(), IrcChannel::setEncrypted(), IrcUser::setEncrypted(), Transfer::setFileName(), Transfer::setFileSize(), BufferViewConfig::setHideInactiveBuffers(), BufferViewConfig::setHideInactiveNetworks(), IrcUser::setHost(), Identity::setId(), Identity::setIdent(), Network::setIdentity(), Identity::setIdentityName(), IrcUser::setIdleTime(), IrcUser::setIrcOperator(), Identity::setKickReason(), IrcUser::setLastAwayMessage(), BufferSyncer::setLastSeenMsg(), Network::setLatency(), IrcUser::setLoginTime(), BufferSyncer::setMarkerLine(), NetworkConfig::setMaxPingCount(), BufferViewConfig::setMinimumActivity(), Network::setMyNick(), BufferViewConfig::setNetworkId(), Network::setNetworkName(), IrcUser::setNick(), Transfer::setNick(), Identity::setNicks(), Identity::setPartReason(), IrcChannel::setPassword(), Network::setPerform(), NetworkConfig::setPingInterval(), NetworkConfig::setPingTimeoutEnabled(), Transfer::setPort(), Identity::setQuitReason(), Identity::setRealName(), IrcUser::setRealName(), Network::setRejoinChannels(), Network::setSaslAccount(), Network::setSaslPassword(), IrcUser::setServer(), Network::setServerList(), BufferViewConfig::setSortAlphabetically(), NetworkConfig::setStandardCtcp(), Transfer::setState(), IrcUser::setSuserHost(), IrcChannel::setTopic(), Network::setUnlimitedReconnectRetries(), Network::setUseAutoIdentify(), Network::setUseAutoReconnect(), IrcUser::setUser(), Network::setUseRandomServer(), IrcChannel::setUserModes(), IrcUser::setUserModes(), Network::setUseSasl(), IrcUser::setWhoisServiceReply(), IgnoreListManager::toggleIgnoreRule(), and SyncableObject::update().