Logo Search packages:      
Sourcecode: qstardict version File versions  Download package

void QStarDict::Selection::setScan ( bool  scan  )  [slot]

Set scan mode.

Definition at line 35 of file selection.cpp.

Referenced by QStarDict::PopupWindow::setScan().

{
    if (m_scan == scan)
        return;

    m_scan = scan;
    if (m_scan)
    {
        m_lastState = QApplication::clipboard()->text(QClipboard::Selection);
        m_timerId = startTimer(300);
    }
    else
        killTimer(m_timerId);
}


Generated by  Doxygen 1.6.0   Back to index