summaryrefslogtreecommitdiffstats
path: root/parts/replace/replace_widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/replace/replace_widget.cpp')
-rw-r--r--parts/replace/replace_widget.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/parts/replace/replace_widget.cpp b/parts/replace/replace_widget.cpp
index b9ac5984..1136e08a 100644
--- a/parts/replace/replace_widget.cpp
+++ b/parts/replace/replace_widget.cpp
@@ -35,7 +35,7 @@
#include <klocale.h>
#include <kstdguiitem.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqpushbutton.h>
#include <tqlineedit.h>
#include <tqradiobutton.h>
@@ -45,7 +45,7 @@
#include <tqdialog.h>
#include <tqfile.h>
#include <tqdir.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqdatastream.h>
#include <sys/types.h>
@@ -65,8 +65,8 @@ ReplaceWidget::ReplaceWidget(ReplacePart *part)
_terminateOperation( false )
{
// setup outputview
- TQVBoxLayout * layout = new TQVBoxLayout( this );
- TQHBoxLayout * buttonlayout = new TQHBoxLayout( layout );
+ TQVBoxLayout * tqlayout = new TQVBoxLayout( this );
+ TQHBoxLayout * buttontqlayout = new TQHBoxLayout( tqlayout );
_cancel = new KPushButton( KStdGuiItem::cancel(), this );
_replace = new KPushButton( KGuiItem(i18n("Replace"),"filefind"), this );
@@ -74,11 +74,11 @@ ReplaceWidget::ReplaceWidget(ReplacePart *part)
_cancel->setEnabled( false );
_replace->setEnabled( false );
- buttonlayout->addWidget( _replace );
- buttonlayout->addWidget( _cancel );
+ buttontqlayout->addWidget( _replace );
+ buttontqlayout->addWidget( _cancel );
_listview = new ReplaceView( this );
- layout->addWidget( _listview );
+ tqlayout->addWidget( _listview );
// setup signals
connect( m_dialog->find_button, TQT_SIGNAL( clicked() ), TQT_SLOT( find() ) );
@@ -235,7 +235,7 @@ bool ReplaceWidget::showReplacements()
}
++it;
- kapp->processEvents( 100 );
+ kapp->tqprocessEvents( 100 );
}
m_part->core()->running( m_part, false );
@@ -330,7 +330,7 @@ bool ReplaceWidget::makeReplacements()
}
fileitem = fileitem->nextSibling();
- kapp->processEvents( 100 );
+ kapp->tqprocessEvents( 100 );
}
// Telling the project about the edited files