summaryrefslogtreecommitdiffstats
path: root/src/multibuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/multibuffer.cpp')
-rw-r--r--src/multibuffer.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/multibuffer.cpp b/src/multibuffer.cpp
index bd5942fc..4960d870 100644
--- a/src/multibuffer.cpp
+++ b/src/multibuffer.cpp
@@ -45,8 +45,8 @@
#include <ktexteditor/document.h>
#include <ktexteditor/viewcursorinterface.h>
-MultiBuffer::MultiBuffer( TQWidget *parent )
- : TQSplitter( parent, "MultiBuffer" ),
+MultiBuffer::MultiBuffer( TQWidget *tqparent )
+ : TQSplitter( tqparent, "MultiBuffer" ),
m_editorFactory( 0 ),
m_delayActivate( false ),
m_activated( false ),
@@ -84,7 +84,7 @@ KParts::Part *MultiBuffer::activeBuffer( ) const
bool MultiBuffer::hasURL( const KURL &url ) const
{
- return m_buffers.contains( url );
+ return m_buffers.tqcontains( url );
}
int MultiBuffer::numberOfBuffers() const
@@ -124,7 +124,7 @@ KParts::Part* MultiBuffer::openURL( const KURL &url )
bool MultiBuffer::closeURL( const KURL &url )
{
- if ( !m_buffers.contains( url ) )
+ if ( !m_buffers.tqcontains( url ) )
return false;
bool result = false;
@@ -147,7 +147,7 @@ void MultiBuffer::registerURL( const KURL &url, KParts::Part *part )
void MultiBuffer::registerDelayedActivation( KParts::Part *part,
int line, int col )
{
- m_delayedActivation[ part ] = qMakePair( line, col );
+ m_delayedActivation[ part ] = tqMakePair( line, col );
}
KParts::Part* MultiBuffer::createPart( const TQString &mimeType,
@@ -219,7 +219,7 @@ void MultiBuffer::show()
KTextEditor::View *view = document->createView( this );
document->setWidget( view );
- // We're managing the view deletion by being its parent,
+ // We're managing the view deletion by being its tqparent,
// don't let the part self-destruct
disconnect( view, TQT_SIGNAL( destroyed() ),
document, TQT_SLOT( slotWidgetDestroyed() ) );
@@ -256,7 +256,7 @@ void MultiBuffer::setOrientation( Qt::Orientation orientation )
void MultiBuffer::activePartChanged( const KURL &url )
{
- if ( !m_buffers.contains( url ) )
+ if ( !m_buffers.tqcontains( url ) )
return ;
m_activeBuffer = m_buffers[ url ];
@@ -300,4 +300,4 @@ void MultiBuffer::updateUrlForPart(KParts::Part *part, KURL url)
#include "multibuffer.moc"
-// kate: space-indent on; indent-width 4; tab-width 4; replace-tabs on
+// kate: space-indent on; indent-width 4; tab-width 4; tqreplace-tabs on