summaryrefslogtreecommitdiffstats
path: root/kopete
diff options
context:
space:
mode:
Diffstat (limited to 'kopete')
-rw-r--r--kopete/kopete/chatwindow/chattexteditpart.cpp4
-rw-r--r--kopete/kopete/chatwindow/chattexteditpart.h4
-rw-r--r--kopete/protocols/irc/ircaccount.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/kopete/kopete/chatwindow/chattexteditpart.cpp b/kopete/kopete/chatwindow/chattexteditpart.cpp
index 191e7b01..50f02328 100644
--- a/kopete/kopete/chatwindow/chattexteditpart.cpp
+++ b/kopete/kopete/chatwindow/chattexteditpart.cpp
@@ -38,9 +38,9 @@ ChatTextEditPart::ChatTextEditPart( Kopete::ChatSession *session, TQWidget *pare
toggleAutoSpellCheck(KopetePrefs::prefs()->spellCheck());
- mComplete = new KCompletion();
+ mComplete = new TDECompletion();
mComplete->setIgnoreCase( true );
- mComplete->setOrder( KCompletion::Weighted );
+ mComplete->setOrder( TDECompletion::Weighted );
// set params on the edit widget
edit()->setMinimumSize( TQSize( 75, 20 ) );
diff --git a/kopete/kopete/chatwindow/chattexteditpart.h b/kopete/kopete/chatwindow/chattexteditpart.h
index f5741042..bacf2a7f 100644
--- a/kopete/kopete/chatwindow/chattexteditpart.h
+++ b/kopete/kopete/chatwindow/chattexteditpart.h
@@ -24,7 +24,7 @@
class TQTimer;
-class KCompletion;
+class TDECompletion;
class KDictSpellingHighlighter;
namespace Kopete
@@ -197,7 +197,7 @@ private:
TQStringList historyList;
int historyPos;
- KCompletion *mComplete;
+ TDECompletion *mComplete;
TQString m_lastMatch;
TQTimer *m_typingRepeatTimer;
diff --git a/kopete/protocols/irc/ircaccount.cpp b/kopete/protocols/irc/ircaccount.cpp
index 9a316854..1f1be5a7 100644
--- a/kopete/protocols/irc/ircaccount.cpp
+++ b/kopete/protocols/irc/ircaccount.cpp
@@ -753,7 +753,7 @@ void IRCAccount::slotJoinChannel()
Kopete::UI::Global::mainWidget()
);
- KCompletion comp;
+ TDECompletion comp;
comp.insertItems( chans );
dlg.lineEdit()->setCompletionObject( &comp );