summaryrefslogtreecommitdiffstats
path: root/tdeui/tdespell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tdespell.cpp')
-rw-r--r--tdeui/tdespell.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/tdeui/tdespell.cpp b/tdeui/tdespell.cpp
index d2326412b..0e47a172c 100644
--- a/tdeui/tdespell.cpp
+++ b/tdeui/tdespell.cpp
@@ -44,7 +44,7 @@
#include "tdespell.h"
#include "tdespelldlg.h"
#include <twin.h>
-#include <kprocio.h>
+#include <tdeprocio.h>
#define MAXLINELENGTH 10000
#undef IGNORE //fix possible conflict
@@ -96,11 +96,11 @@ public:
*/
-// Connects a slot to KProcIO's output signal
-#define OUTPUT(x) (connect (proc, TQ_SIGNAL (readReady(KProcIO *)), this, TQ_SLOT (x(KProcIO *))))
+// Connects a slot to TDEProcIO's output signal
+#define OUTPUT(x) (connect (proc, TQ_SIGNAL (readReady(TDEProcIO *)), this, TQ_SLOT (x(TDEProcIO *))))
// Disconnect a slot from...
-#define NOOUTPUT(x) (disconnect (proc, TQ_SIGNAL (readReady(KProcIO *)), this, TQ_SLOT (x(KProcIO *))))
+#define NOOUTPUT(x) (disconnect (proc, TQ_SIGNAL (readReady(TDEProcIO *)), this, TQ_SLOT (x(TDEProcIO *))))
@@ -319,7 +319,7 @@ KSpell::ispellErrors( TDEProcess *, char *buffer, int buflen )
// kdDebug(750) << "ispellErrors [" << buffer << "]\n" << endl;
}
-void KSpell::KSpell2( KProcIO * )
+void KSpell::KSpell2( TDEProcIO * )
{
TQString line;
@@ -555,7 +555,7 @@ bool KSpell::checkWord( const TQString & buffer, bool _usedialog, bool suggest )
return true;
}
-void KSpell::checkWord2( KProcIO* )
+void KSpell::checkWord2( TDEProcIO* )
{
TQString word;
TQString line;
@@ -608,7 +608,7 @@ void KSpell::checkNext()
}
}
-void KSpell::suggestWord( KProcIO * )
+void KSpell::suggestWord( TDEProcIO * )
{
TQString word;
TQString line;
@@ -800,14 +800,14 @@ bool KSpell::checkList (TQStringList *_wordlist, bool _usedialog)
lastpos = -1;
checkList2();
- // when checked, KProcIO calls checkList3a
+ // when checked, TDEProcIO calls checkList3a
OUTPUT(checkList3a);
return true;
}
void KSpell::checkList2 ()
- // send one word from the list to KProcIO
+ // send one word from the list to TDEProcIO
// invoked first time by checkList, later by checkListReplaceCurrent and checkList4
{
// send next word
@@ -837,8 +837,8 @@ void KSpell::checkList2 ()
}
}
-void KSpell::checkList3a (KProcIO *)
- // invoked by KProcIO, when data from ispell are read
+void KSpell::checkList3a (TDEProcIO *)
+ // invoked by TDEProcIO, when data from ispell are read
{
//kdDebug(750) << "start of checkList3a" << endl;
@@ -961,7 +961,7 @@ void KSpell::checkList4 ()
//proc->disconnect();
//proc->kill();
//delete proc;
- //proc = new KProcIO( codec );
+ //proc = new TDEProcIO( codec );
//startIspell();
return;
};
@@ -1006,7 +1006,7 @@ bool KSpell::check( const TQString &_buffer, bool _usedialog )
newbuffer = origbuffer;
- // KProcIO calls check2 when read from ispell
+ // TDEProcIO calls check2 when read from ispell
OUTPUT( check2 );
proc->writeStdin(TQString("!"));
@@ -1033,8 +1033,8 @@ bool KSpell::check( const TQString &_buffer, bool _usedialog )
}
-void KSpell::check2( KProcIO * )
- // invoked by KProcIO when read from ispell
+void KSpell::check2( TDEProcIO * )
+ // invoked by TDEProcIO when read from ispell
{
int e, tempe;
TQString word;
@@ -1564,7 +1564,7 @@ void KSpell::initialize( TQWidget *_parent, const TQString &_caption,
// Hack for modal spell checking
connect( this, TQ_SIGNAL(ready(KSpell *)), this, TQ_SLOT(slotModalReady()) );
- proc = new KProcIO( codec );
+ proc = new TDEProcIO( codec );
startIspell();
}