Logo Search packages:      
Sourcecode: kbiff version File versions

void KBiffMonitor::setPollInterval ( const int  interval  )  [slot]

Set the interval between mailbox reads. This is in seconds.

Definition at line 205 of file kbiffmonitor.cpp.

References signal_checkMail().

{
    poll = interval;

    // Kill any old timers that may be running
    if (oldTimer > 0)
    {
        killTimer(oldTimer);

        // Start a new timer will the specified time
        if (started)
        {
            oldTimer = startTimer(interval * 1000);

            emit(signal_checkMail());
        }
    }
}


Generated by  Doxygen 1.6.0   Back to index