From 895d76e0de9e13d6014992f49e51c7928b59ca77 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 7 Feb 2013 17:57:54 -0600 Subject: Rename KComp to avoid conflicts with KDE4 --- kopete/kopete/chatwindow/chattexteditpart.cpp | 4 ++-- kopete/kopete/chatwindow/chattexteditpart.h | 4 ++-- kopete/protocols/irc/ircaccount.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kopete') 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 ); -- cgit v1.2.1