mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
inline some QTimer methods
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
694e59bcbd
commit
a57d5b3982
1 changed files with 3 additions and 5 deletions
|
@ -53,12 +53,12 @@ public:
|
|||
~QTimer();
|
||||
|
||||
inline bool isActive() const { return id >= 0; }
|
||||
int timerId() const { return id; }
|
||||
inline int timerId() const { return id; }
|
||||
|
||||
void setInterval(const int msec);
|
||||
int interval() const { return inter; }
|
||||
inline int interval() const { return inter; }
|
||||
|
||||
inline void setSingleShot(bool singleShot);
|
||||
inline void setSingleShot(bool singleShot) { single = singleShot; }
|
||||
inline bool isSingleShot() const { return single; }
|
||||
|
||||
static void singleShot(const int msec, QObject *receiver, const char *member);
|
||||
|
@ -86,8 +86,6 @@ private:
|
|||
bool single;
|
||||
};
|
||||
|
||||
inline void QTimer::setSingleShot(bool asingleShot) { single = asingleShot; }
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
QT_END_HEADER
|
||||
|
|
Loading…
Add table
Reference in a new issue