33 #include <QtCore/qobject.h>
34 #include <QtCore/qmetatype.h>
35 #include <QtCore/qscopedpointer.h>
40 class IrcLagTimerPrivate;
45 Q_PROPERTY(qint64 lag READ lag NOTIFY lagChanged)
46 Q_PROPERTY(
int interval READ interval WRITE setInterval)
47 Q_PROPERTY(
IrcConnection* connection READ connection WRITE setConnection)
59 void setInterval(
int seconds);
62 void lagChanged(qint64 lag);
66 Q_DECLARE_PRIVATE(IrcLagTimer)
67 Q_DISABLE_COPY(IrcLagTimer)
69 Q_PRIVATE_SLOT(d_func(),
void _irc_connected())
70 Q_PRIVATE_SLOT(d_func(),
void _irc_pingServer())
71 Q_PRIVATE_SLOT(d_func(),
void _irc_disconnected())
76 Q_DECLARE_METATYPE(IRC_PREPEND_NAMESPACE(IrcLagTimer*))
78 #endif // IRCLAGTIMER_H
Provides means to establish a connection to an IRC server.
Definition: ircconnection.h:48
Provides a timer for measuring lag.
Definition: irclagtimer.h:42