summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-07 21:10:36 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-07 21:10:36 -0600
commit496ef854d662079ff8c901e9a3073245eb92ab46 (patch)
tree8e35c8e5f496ffb4f0a768f34f58d133553efde7 /src
parent5c13b6603b1aaacbdcdbb6735dadf0393e1a16d1 (diff)
downloadktechlab-496ef854d662079ff8c901e9a3073245eb92ab46.tar.gz
ktechlab-496ef854d662079ff8c901e9a3073245eb92ab46.zip
Rename additional members for tqt3
Diffstat (limited to 'src')
-rw-r--r--src/katemdi.cpp4
-rw-r--r--src/textdocument.cpp2
-rw-r--r--src/textview.cpp6
3 files changed, 6 insertions, 6 deletions
diff --git a/src/katemdi.cpp b/src/katemdi.cpp
index 4c817ea..460de99 100644
--- a/src/katemdi.cpp
+++ b/src/katemdi.cpp
@@ -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);
}
diff --git a/src/textdocument.cpp b/src/textdocument.cpp
index 53d98e4..d31dc6f 100644
--- a/src/textdocument.cpp
+++ b/src/textdocument.cpp
@@ -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"));
}
diff --git a/src/textview.cpp b/src/textview.cpp
index e5c4648..c8c0b95 100644
--- a/src/textview.cpp
+++ b/src/textview.cpp
@@ -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 ) ) )