Rename KComp to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent a22a60a643
commit 085dbbf76e

@ -57,7 +57,7 @@ IRCInput::IRCInput(TQWidget* parent) : KTextEdit(parent)
lineNum=0; lineNum=0;
// reset completion mode // reset completion mode
setCompletionMode('\0'); setCompletionMode('\0');
completionBox = new KCompletionBox(this); completionBox = new TDECompletionBox(this);
connect(completionBox, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(insertCompletion(const TQString&))); connect(completionBox, TQT_SIGNAL(activated(const TQString&)), this, TQT_SLOT(insertCompletion(const TQString&)));
// widget may not be resized vertically // widget may not be resized vertically

@ -20,7 +20,7 @@
#include <ktextedit.h> #include <ktextedit.h>
class KCompletionBox; class TDECompletionBox;
class TQMouseEvent; class TQMouseEvent;
class IRCInput : public KTextEdit class IRCInput : public KTextEdit
@ -80,7 +80,7 @@ class IRCInput : public KTextEdit
unsigned int lineNum; unsigned int lineNum;
unsigned int oldPos; unsigned int oldPos;
char completionMode; char completionMode;
KCompletionBox* completionBox; TDECompletionBox* completionBox;
TQString m_lastCompletion; TQString m_lastCompletion;
bool m_useSelection; bool m_useSelection;
bool m_multiRow; bool m_multiRow;

Loading…
Cancel
Save