summaryrefslogtreecommitdiffstats
path: root/kopete
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-07 17:57:54 -0600
committerTimothy Pearson <[email protected]>2013-02-07 17:57:54 -0600
commit895d76e0de9e13d6014992f49e51c7928b59ca77 (patch)
tree4d02c27abda6089d2022c0a5d62cee5c0d079843 /kopete
parent84673b354321cc022a8d8ec46dba6aa1dd6f95ef (diff)
downloadtdenetwork-895d76e0de9e13d6014992f49e51c7928b59ca77.tar.gz
tdenetwork-895d76e0de9e13d6014992f49e51c7928b59ca77.zip
Rename KComp to avoid conflicts with KDE4
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 );