diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:14 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:57:14 -0600 |
| commit | c1ef065782051db96cdfd32cf55be6408c2a9d22 (patch) | |
| tree | 0bc3705b597f8c98b2b9992d22ab9620df50b877 /src/textview.cpp | |
| parent | bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f (diff) | |
| download | ktechlab-c1ef065782051db96cdfd32cf55be6408c2a9d22.tar.gz ktechlab-c1ef065782051db96cdfd32cf55be6408c2a9d22.zip | |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f.
Diffstat (limited to 'src/textview.cpp')
| -rw-r--r-- | src/textview.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/textview.cpp b/src/textview.cpp index e5c4648..fd456bc 100644 --- a/src/textview.cpp +++ b/src/textview.cpp @@ -262,7 +262,7 @@ void TextView::slotCursorPositionChanged() uint line, column; m_view->cursorPosition( &line, &column ); - m_statusBar->changeItem( i18n(" Line: %1 Col: %2 ").arg(TQString::number(line+1)).arg(TQString::number(column+1)), ViewStatusBar::LineCol ); + m_statusBar->changeItem( i18n(" Line: %1 Col: %2 ").tqarg(TQString::number(line+1)).tqarg(TQString::number(column+1)), ViewStatusBar::LineCol ); slotUpdateMarksInfo(); } @@ -369,7 +369,7 @@ void TextView::slotWordUnhovered() //BEGIN class TextViewEventFilter TextViewEventFilter::TextViewEventFilter( TextView * textView ) { - m_hoverStatus = Sleeping; + m_hovertqStatus = 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_hoverStatus = Active; + m_hovertqStatus = Active; emit wordHoveredOver( m_lastWord, m_lastLine, m_lastCol ); } void TextViewEventFilter::gotoSleep() { - m_hoverStatus = Sleeping; + m_hovertqStatus = 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_hoverStatus == Active ) - m_hoverStatus = Hidden; + if ( m_hovertqStatus == Active ) + m_hovertqStatus = Hidden; emit wordUnhovered(); if ( !m_pSleepTimer->isActive() ) @@ -451,7 +451,7 @@ void TextViewEventFilter::updateHovering( const TQString & currentWord, int line return; } - if ( m_hoverStatus != Sleeping ) + if ( m_hovertqStatus != Sleeping ) emit wordHoveredOver( currentWord, line, col ); else m_pHoverTimer->start( 700, true ); |
