Rename additional members for tqt3

pull/1/head
Timothy Pearson 13 years ago
parent 5c13b6603b
commit 496ef854d6

@ -181,8 +181,8 @@ bool ToolView::visible () const
void ToolView::childEvent ( TQChildEvent *ev )
{
// set the widget to be focus proxy if possible
if (ev->inserted() && ev->child() && TQT_TQOBJECT(ev->child())->qt_cast(TQWIDGET_OBJECT_NAME_STRING))
setFocusProxy ((TQWidget *)(TQT_TQOBJECT(ev->child())->qt_cast(TQWIDGET_OBJECT_NAME_STRING)));
if (ev->inserted() && ev->child() && TQT_TQOBJECT(ev->child())->tqt_cast(TQWIDGET_OBJECT_NAME_STRING))
setFocusProxy ((TQWidget *)(TQT_TQOBJECT(ev->child())->tqt_cast(TQWIDGET_OBJECT_NAME_STRING)));
TQVBox::childEvent (ev);
}

@ -145,7 +145,7 @@ View * TextDocument::createView( ViewContainer *viewContainer, uint viewAreaId,
Kate::View* TextDocument::createKateView( TQWidget *parent, const char *name )
{
return static_cast<Kate::View*>((m_doc->createView( parent, name ))->qt_cast("Kate::View"));
return static_cast<Kate::View*>((m_doc->createView( parent, name ))->tqt_cast("Kate::View"));
}

@ -321,7 +321,7 @@ void TextView::slotWordHoveredOver( const TQString & word, int line, int col )
}
// Find out if the word that we are hovering over is the operand data
KTextEditor::EditInterface * e = (KTextEditor::EditInterface*)textDocument()->kateDocument()->qt_cast("KTextEditor::EditInterface");
KTextEditor::EditInterface * e = (KTextEditor::EditInterface*)textDocument()->kateDocument()->tqt_cast("KTextEditor::EditInterface");
InstructionParts parts( e->textLine( unsigned(line) ) );
if ( !parts.operandData().contains( word ) )
return;
@ -373,7 +373,7 @@ TextViewEventFilter::TextViewEventFilter( TextView * textView )
m_pTextView = textView;
m_lastLine = m_lastCol = -1;
((KTextEditor::TextHintInterface*)textView->kateView()->qt_cast("KTextEditor::TextHintInterface"))->enableTextHints(0);
((KTextEditor::TextHintInterface*)textView->kateView()->tqt_cast("KTextEditor::TextHintInterface"))->enableTextHints(0);
connect( textView->kateView(), TQT_SIGNAL(needTextHint(int, int, TQString &)), this, TQT_SLOT(slotNeedTextHint( int, int, TQString& )) );
m_pHoverTimer = new TQTimer( this );
@ -465,7 +465,7 @@ void TextViewEventFilter::slotNeedTextHint( int line, int col, TQString & )
{
m_pNoWordTimer->stop();
KTextEditor::EditInterface * e = (KTextEditor::EditInterface*)m_pTextView->textDocument()->kateDocument()->qt_cast("KTextEditor::EditInterface");
KTextEditor::EditInterface * e = (KTextEditor::EditInterface*)m_pTextView->textDocument()->kateDocument()->tqt_cast("KTextEditor::EditInterface");
// Return if we aren't currently in a word
if ( !isWordLetter( e->text( line, col, line, col+1 ) ) )

Loading…
Cancel
Save