19 #include <QtCore/qobject.h>
20 #include <QtCore/qmetatype.h>
21 #include <QtCore/qscopedpointer.h>
26 class IrcLagTimerPrivate;
31 Q_PROPERTY(qint64 lag READ lag NOTIFY lagChanged)
32 Q_PROPERTY(
int interval READ interval WRITE setInterval)
33 Q_PROPERTY(
IrcConnection* connection READ connection WRITE setConnection)
45 void setInterval(
int seconds);
48 void lagChanged(qint64 lag);
52 Q_DECLARE_PRIVATE(IrcLagTimer)
53 Q_DISABLE_COPY(IrcLagTimer)
55 Q_PRIVATE_SLOT(d_func(),
void _irc_connected())
56 Q_PRIVATE_SLOT(d_func(),
void _irc_pingServer())
57 Q_PRIVATE_SLOT(d_func(),
void _irc_disconnected())
62 Q_DECLARE_METATYPE(IRC_PREPEND_NAMESPACE(IrcLagTimer*))
64 #endif // IRCLAGTIMER_H
Provides means to establish a connection to an IRC server.
Definition: ircconnection.h:32
Provides a timer for measuring lag.
Definition: irclagtimer.h:28