Quassel IRC  Pre-Release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
CoreNetworkConfig Class Reference

#include </tmp/quassel/src/core/corenetworkconfig.h>

Inheritance diagram for CoreNetworkConfig:
Collaboration diagram for CoreNetworkConfig:

Public Slots

virtual void requestSetPingTimeoutEnabled (bool enabled)
virtual void requestSetPingInterval (int interval)
virtual void requestSetMaxPingCount (int count)
virtual void requestSetAutoWhoEnabled (bool enabled)
virtual void requestSetAutoWhoInterval (int interval)
virtual void requestSetAutoWhoNickLimit (int nickLimit)
virtual void requestSetAutoWhoDelay (int delay)
virtual void requestSetStandardCtcp (bool enabled)
bool pingTimeoutEnabled () const
int pingInterval () const
int maxPingCount () const
bool autoWhoEnabled () const
int autoWhoInterval () const
int autoWhoNickLimit () const
int autoWhoDelay () const
bool standardCtcp () const
void setPingTimeoutEnabled (bool)
void setPingInterval (int)
void setMaxPingCount (int)
void setAutoWhoEnabled (bool)
void setAutoWhoInterval (int)
void setAutoWhoNickLimit (int)
void setAutoWhoDelay (int)
void setStandardCtcp (bool)
virtual void setInitialized ()
void requestUpdate (const QVariantMap &properties)
virtual void update (const QVariantMap &properties)

Signals

void pingTimeoutEnabledSet (bool)
void pingIntervalSet (int)
void autoWhoEnabledSet (bool)
void autoWhoIntervalSet (int)
void autoWhoDelaySet (int)
void standardCtcpSet (bool)
void initDone ()
void updatedRemotely ()
void updated ()

Public Member Functions

 CoreNetworkConfig (const QString &objectName, CoreSession *parent)
virtual const QMetaObject * syncMetaObject () const
void save ()
virtual QVariantMap toVariantMap ()
 Stores the object's state into a QVariantMap.
virtual void fromVariantMap (const QVariantMap &properties)
 Initialize the object's state from a given QVariantMap.
virtual bool isInitialized () const
void setAllowClientUpdates (bool allow)
bool allowClientUpdates () const

Protected Member Functions

void sync_call__ (SignalProxy::ProxyMode modeType, const char *funcname,...) const
void renameObject (const QString &newName)

Properties

bool pingTimeoutEnabled
int pingInterval
int maxPingCount
bool autoWhoEnabled
int autoWhoInterval
int autoWhoNickLimit
int autoWhoDelay
bool standardCtcp

Detailed Description

Definition at line 28 of file corenetworkconfig.h.

Constructor & Destructor Documentation

CoreNetworkConfig ( const QString &  objectName,
CoreSession parent 
)

Member Function Documentation

virtual const QMetaObject* syncMetaObject ( ) const
inlinevirtual

Reimplemented from NetworkConfig.

Definition at line 36 of file corenetworkconfig.h.

virtual void requestSetPingTimeoutEnabled ( bool  enabled)
inlinevirtualslot

Definition at line 41 of file corenetworkconfig.h.

References NetworkConfig::setPingTimeoutEnabled().

virtual void requestSetPingInterval ( int  interval)
inlinevirtualslot

Definition at line 42 of file corenetworkconfig.h.

References NetworkConfig::setPingInterval().

virtual void requestSetMaxPingCount ( int  count)
inlinevirtualslot

Definition at line 43 of file corenetworkconfig.h.

References NetworkConfig::setMaxPingCount().

virtual void requestSetAutoWhoEnabled ( bool  enabled)
inlinevirtualslot

Definition at line 44 of file corenetworkconfig.h.

References NetworkConfig::setAutoWhoEnabled().

virtual void requestSetAutoWhoInterval ( int  interval)
inlinevirtualslot

Definition at line 45 of file corenetworkconfig.h.

References NetworkConfig::setAutoWhoInterval().

virtual void requestSetAutoWhoNickLimit ( int  nickLimit)
inlinevirtualslot

Definition at line 46 of file corenetworkconfig.h.

References NetworkConfig::setAutoWhoNickLimit().

virtual void requestSetAutoWhoDelay ( int  delay)
inlinevirtualslot

Definition at line 47 of file corenetworkconfig.h.

References NetworkConfig::setAutoWhoDelay().

virtual void requestSetStandardCtcp ( bool  enabled)
inlinevirtualslot

Definition at line 48 of file corenetworkconfig.h.

References NetworkConfig::setStandardCtcp().

bool pingTimeoutEnabled ( ) const
inlineslotinherited

Definition at line 46 of file networkconfig.h.

References NetworkConfig::_pingTimeoutEnabled.

int pingInterval ( ) const
inlineslotinherited

Definition at line 50 of file networkconfig.h.

References NetworkConfig::_pingInterval.

int maxPingCount ( ) const
inlineslotinherited

Definition at line 54 of file networkconfig.h.

References NetworkConfig::_maxPingCount.

bool autoWhoEnabled ( ) const
inlineslotinherited

Definition at line 58 of file networkconfig.h.

References NetworkConfig::_autoWhoEnabled.

int autoWhoInterval ( ) const
inlineslotinherited

Definition at line 62 of file networkconfig.h.

References NetworkConfig::_autoWhoInterval.

int autoWhoNickLimit ( ) const
inlineslotinherited

Definition at line 66 of file networkconfig.h.

References NetworkConfig::_autoWhoNickLimit.

int autoWhoDelay ( ) const
inlineslotinherited

Definition at line 70 of file networkconfig.h.

References NetworkConfig::_autoWhoDelay.

bool standardCtcp ( ) const
inlineslotinherited

Definition at line 74 of file networkconfig.h.

References NetworkConfig::_standardCtcp.

void setPingTimeoutEnabled ( bool  enabled)
slotinherited
void setPingInterval ( int  interval)
slotinherited
void setMaxPingCount ( int  count)
slotinherited

Definition at line 60 of file networkconfig.cpp.

References NetworkConfig::_maxPingCount, ARG, and SYNC.

Referenced by requestSetMaxPingCount().

void setAutoWhoEnabled ( bool  enabled)
slotinherited
void setAutoWhoInterval ( int  interval)
slotinherited
void setAutoWhoNickLimit ( int  nickLimit)
slotinherited

Definition at line 92 of file networkconfig.cpp.

References NetworkConfig::_autoWhoNickLimit, ARG, and SYNC.

Referenced by requestSetAutoWhoNickLimit().

void setAutoWhoDelay ( int  delay)
slotinherited
void setStandardCtcp ( bool  enabled)
slotinherited
void pingTimeoutEnabledSet ( bool  )
signalinherited
void pingIntervalSet ( int  )
signalinherited
void autoWhoEnabledSet ( bool  )
signalinherited
void autoWhoIntervalSet ( int  )
signalinherited
void autoWhoDelaySet ( int  )
signalinherited
void standardCtcpSet ( bool  )
signalinherited
QVariantMap toVariantMap ( )
virtualinherited

Stores the object's state into a QVariantMap.

The default implementation takes dynamic properties as well as getters that have names starting with "init" and stores them in a QVariantMap. Override this method in derived classes in order to store the object state in a custom form.

Note
This is used by SignalProxy to transmit the state of the object to clients that request the initial object state. Later updates use a different mechanism and assume that the state is completely covered by properties and init* getters. DO NOT OVERRIDE THIS unless you know exactly what you do!
Returns
The object's state in a QVariantMap

Definition at line 91 of file syncableobject.cpp.

References SignalProxy::ExtendedMetaObject::methodBaseName(), and SignalProxy::ExtendedMetaObject::methodName().

Referenced by BufferViewSettingsPage::cloneConfig(), AliasesModel::commit(), IgnoreListModel::commit(), ClientBufferViewConfig::ensureDecoration(), IrcConnectionWizard::finishClicked(), SignalProxy::initData(), save(), BufferViewSettingsPage::save(), and ClientBufferViewManager::setInitialized().

void fromVariantMap ( const QVariantMap &  properties)
virtualinherited

Initialize the object's state from a given QVariantMap.

See Also
toVariantMap() for important information concerning this method.

Definition at line 135 of file syncableobject.cpp.

References SyncableObject::setInitValue().

Referenced by BufferViewConfig::BufferViewConfig(), BufferViewSettingsPage::cloneConfig(), Network::newIrcChannel(), Network::newIrcUser(), SignalProxy::setInitData(), and SyncableObject::update().

void setAllowClientUpdates ( bool  allow)
inlineinherited
bool allowClientUpdates ( ) const
inlineinherited

Definition at line 82 of file syncableobject.h.

References SyncableObject::_allowClientUpdates.

Referenced by SyncableObject::requestUpdate().

void update ( const QVariantMap &  properties)
virtualslotinherited
void sync_call__ ( SignalProxy::ProxyMode  modeType,
const char *  funcname,
  ... 
) const
protectedinherited
void renameObject ( const QString &  newName)
protectedinherited
void initDone ( )
signalinherited
void updatedRemotely ( )
signalinherited
void updated ( )
signalinherited

Property Documentation

bool pingTimeoutEnabled
readwriteinherited

Definition at line 31 of file networkconfig.h.

Referenced by ConnectionSettingsPage::loadAutoWidgetValue().

int pingInterval
readwriteinherited

Definition at line 32 of file networkconfig.h.

Referenced by ConnectionSettingsPage::loadAutoWidgetValue().

int maxPingCount
readwriteinherited

Definition at line 33 of file networkconfig.h.

Referenced by ConnectionSettingsPage::loadAutoWidgetValue().

bool autoWhoEnabled
readwriteinherited
int autoWhoInterval
readwriteinherited

Definition at line 35 of file networkconfig.h.

Referenced by ConnectionSettingsPage::loadAutoWidgetValue().

int autoWhoNickLimit
readwriteinherited
int autoWhoDelay
readwriteinherited

Definition at line 37 of file networkconfig.h.

Referenced by ConnectionSettingsPage::loadAutoWidgetValue().

bool standardCtcp
readwriteinherited

The documentation for this class was generated from the following files: