summaryrefslogtreecommitdiffstats
path: root/parts/documentation/find_documentation.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:51:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:51:01 -0600
commitb9e542d0c805e9adee3a67e44532d5321032e21e (patch)
treee82d85b9035cc2ca322911e8a6e38a3bd8b1d431 /parts/documentation/find_documentation.cpp
parent7a392a04059bd904dab4c78910a6d34aa0b37798 (diff)
downloadtdevelop-b9e542d0c805e9adee3a67e44532d5321032e21e.tar.gz
tdevelop-b9e542d0c805e9adee3a67e44532d5321032e21e.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'parts/documentation/find_documentation.cpp')
-rw-r--r--parts/documentation/find_documentation.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/parts/documentation/find_documentation.cpp b/parts/documentation/find_documentation.cpp
index ac95d878..e5068635 100644
--- a/parts/documentation/find_documentation.cpp
+++ b/parts/documentation/find_documentation.cpp
@@ -48,18 +48,18 @@ FindDocumentation::FindDocumentation(DocumentationWidget* parent, const char* na
{
TQWidget* tmp = TQT_TQWIDGET(TQApplication::desktop());
setGeometry(tmp->width()/2 - width()/2, tmp->height()/2 - height()/2, width(), height());
- proc_man = new KProcess( TQT_TQOBJECT(this) );
- proc_info = new KProcess( TQT_TQOBJECT(this) );
+ proc_man = new TDEProcess( TQT_TQOBJECT(this) );
+ proc_info = new TDEProcess( TQT_TQOBJECT(this) );
- connect( proc_man, TQT_SIGNAL(processExited( KProcess* )),
- this, TQT_SLOT(procManExited( KProcess* )) );
- connect( proc_man, TQT_SIGNAL(receivedStdout( KProcess*, char*, int)),
- this, TQT_SLOT(procManReadStdout( KProcess*, char*, int)) );
+ connect( proc_man, TQT_SIGNAL(processExited( TDEProcess* )),
+ this, TQT_SLOT(procManExited( TDEProcess* )) );
+ connect( proc_man, TQT_SIGNAL(receivedStdout( TDEProcess*, char*, int)),
+ this, TQT_SLOT(procManReadStdout( TDEProcess*, char*, int)) );
- connect( proc_info, TQT_SIGNAL(processExited( KProcess* )),
- this, TQT_SLOT(procInfoExited( KProcess* )) );
- connect( proc_info, TQT_SIGNAL(receivedStdout( KProcess*, char*, int)),
- this, TQT_SLOT(procInfoReadStdout( KProcess*, char*, int)) );
+ connect( proc_info, TQT_SIGNAL(processExited( TDEProcess* )),
+ this, TQT_SLOT(procInfoExited( TDEProcess* )) );
+ connect( proc_info, TQT_SIGNAL(receivedStdout( TDEProcess*, char*, int)),
+ this, TQT_SLOT(procInfoReadStdout( TDEProcess*, char*, int)) );
result_list->header()->hide();
result_list->setSorting(-1);
@@ -102,7 +102,7 @@ void FindDocumentation::clickOnItem( TQListViewItem * item )
m_widget->part()->partController()->showDocument(doc_item->url());
}
-void FindDocumentation::procInfoExited( KProcess* )
+void FindDocumentation::procInfoExited( TDEProcess* )
{
if (proc_info->normalExit() && proc_info->exitStatus() == 0)
{
@@ -125,7 +125,7 @@ void FindDocumentation::procInfoExited( KProcess* )
}
}
-void FindDocumentation::procManExited( KProcess* )
+void FindDocumentation::procManExited( TDEProcess* )
{
if (proc_man->normalExit() && proc_man->exitStatus() == 0)
{
@@ -145,12 +145,12 @@ void FindDocumentation::procManExited( KProcess* )
}
}
-void FindDocumentation::procInfoReadStdout( KProcess*, char* buf, int len)
+void FindDocumentation::procInfoReadStdout( TDEProcess*, char* buf, int len)
{
proc_info_out += TQString::fromLatin1( buf, len );
}
-void FindDocumentation::procManReadStdout( KProcess*, char* buf, int len)
+void FindDocumentation::procManReadStdout( TDEProcess*, char* buf, int len)
{
proc_man_out += TQString::fromLatin1( buf, len );
}
@@ -167,7 +167,7 @@ void FindDocumentation::searchInInfo()
*proc_info << "-w";
*proc_info << search_term->text();
- if ( !proc_info->start( KProcess::NotifyOnExit, KProcess::Stdout ) )
+ if ( !proc_info->start( TDEProcess::NotifyOnExit, TDEProcess::Stdout ) )
{
// error handling
}
@@ -185,7 +185,7 @@ void FindDocumentation::searchInMan()
*proc_man << "-w";
*proc_man << search_term->text();
- if ( !proc_man->start( KProcess::NotifyOnExit, KProcess::Stdout ) )
+ if ( !proc_man->start( TDEProcess::NotifyOnExit, TDEProcess::Stdout ) )
{
// error handling
}