diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:13:30 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:13:30 -0600 |
commit | abb8cd68f820cfe0c96965136890a6bdd1093db5 (patch) | |
tree | 0ccc113047cebed06b5bd61adeadab4330b7d4a0 /src/textview.cpp | |
parent | c1ef065782051db96cdfd32cf55be6408c2a9d22 (diff) | |
download | ktechlab-abb8cd68f820cfe0c96965136890a6bdd1093db5.tar.gz ktechlab-abb8cd68f820cfe0c96965136890a6bdd1093db5.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/textview.cpp')
-rw-r--r-- | src/textview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/textview.cpp b/src/textview.cpp index fd456bc..0d7f639 100644 --- a/src/textview.cpp +++ b/src/textview.cpp @@ -369,7 +369,7 @@ void TextView::slotWordUnhovered() //BEGIN class TextViewEventFilter TextViewEventFilter::TextViewEventFilter( TextView * textView ) { - m_hovertqStatus = Sleeping; + m_hoverStatus = Sleeping; m_pTextView = textView; m_lastLine = m_lastCol = -1; @@ -410,14 +410,14 @@ bool TextViewEventFilter::eventFilter( TQObject *, TQEvent * e ) void TextViewEventFilter::hoverTimeout() { m_pSleepTimer->stop(); - m_hovertqStatus = Active; + m_hoverStatus = Active; emit wordHoveredOver( m_lastWord, m_lastLine, m_lastCol ); } void TextViewEventFilter::gotoSleep() { - m_hovertqStatus = Sleeping; + m_hoverStatus = Sleeping; m_lastWord = TQString(); emit wordUnhovered(); m_pHoverTimer->stop(); @@ -441,8 +441,8 @@ void TextViewEventFilter::updateHovering( const TQString & currentWord, int line if ( currentWord.isEmpty() ) { - if ( m_hovertqStatus == Active ) - m_hovertqStatus = Hidden; + if ( m_hoverStatus == Active ) + m_hoverStatus = Hidden; emit wordUnhovered(); if ( !m_pSleepTimer->isActive() ) @@ -451,7 +451,7 @@ void TextViewEventFilter::updateHovering( const TQString & currentWord, int line return; } - if ( m_hovertqStatus != Sleeping ) + if ( m_hoverStatus != Sleeping ) emit wordHoveredOver( currentWord, line, col ); else m_pHoverTimer->start( 700, true ); |