29 #ifndef IRCCOMMANDQUEUE_H 30 #define IRCCOMMANDQUEUE_H 33 #include <QtCore/qobject.h> 34 #include <QtCore/qmetatype.h> 35 #include <QtCore/qscopedpointer.h> 40 class IrcCommandQueuePrivate;
45 Q_PROPERTY(
int batch READ batch WRITE setBatch)
46 Q_PROPERTY(
int interval READ interval WRITE setInterval)
47 Q_PROPERTY(
int size READ size NOTIFY sizeChanged)
48 Q_PROPERTY(
IrcConnection* connection READ connection WRITE setConnection)
55 void setBatch(
int batch);
58 void setInterval(
int seconds);
70 void sizeChanged(
int size);
74 Q_DECLARE_PRIVATE(IrcCommandQueue)
75 Q_DISABLE_COPY(IrcCommandQueue)
77 Q_PRIVATE_SLOT(d_func(),
void _irc_updateTimer())
78 Q_PRIVATE_SLOT(d_func(),
void _irc_sendBatch())
83 Q_DECLARE_METATYPE(IRC_PREPEND_NAMESPACE(IrcCommandQueue*))
85 #endif // IRCCOMMANDQUEUE_H Provides a flood protection queue for commands.
Definition: irccommandqueue.h:42
Provides means to establish a connection to an IRC server.
Definition: ircconnection.h:48