Rename KComp to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 84673b3543
commit 895d76e0de

@ -133,7 +133,7 @@ DictApplet::DictApplet(const TQString& configFile, Type type, int actions, TQWid
baseLay->addWidget(matchBtn,0,5); baseLay->addWidget(matchBtn,0,5);
TQToolTip::add(matchBtn,i18n("Find matching definitions")); TQToolTip::add(matchBtn,i18n("Find matching definitions"));
completionObject = new KCompletion(); completionObject = new TDECompletion();
internalCombo = new KHistoryCombo(baseWidget); internalCombo = new KHistoryCombo(baseWidget);
internalCombo->setBackgroundOrigin(AncestorOrigin); internalCombo->setBackgroundOrigin(AncestorOrigin);

@ -88,7 +88,7 @@ protected slots:
private: private:
KHistoryCombo *internalCombo, *externalCombo; KHistoryCombo *internalCombo, *externalCombo;
KCompletion *completionObject; TDECompletion *completionObject;
TQLabel *textLabel, *iconLabel; TQLabel *textLabel, *iconLabel;
TQPushButton *verticalBtn, *clipboardBtn, *defineBtn, *matchBtn; TQPushButton *verticalBtn, *clipboardBtn, *defineBtn, *matchBtn;
TQWidget *baseWidget; TQWidget *baseWidget;

@ -38,9 +38,9 @@ ChatTextEditPart::ChatTextEditPart( Kopete::ChatSession *session, TQWidget *pare
toggleAutoSpellCheck(KopetePrefs::prefs()->spellCheck()); toggleAutoSpellCheck(KopetePrefs::prefs()->spellCheck());
mComplete = new KCompletion(); mComplete = new TDECompletion();
mComplete->setIgnoreCase( true ); mComplete->setIgnoreCase( true );
mComplete->setOrder( KCompletion::Weighted ); mComplete->setOrder( TDECompletion::Weighted );
// set params on the edit widget // set params on the edit widget
edit()->setMinimumSize( TQSize( 75, 20 ) ); edit()->setMinimumSize( TQSize( 75, 20 ) );

@ -24,7 +24,7 @@
class TQTimer; class TQTimer;
class KCompletion; class TDECompletion;
class KDictSpellingHighlighter; class KDictSpellingHighlighter;
namespace Kopete namespace Kopete
@ -197,7 +197,7 @@ private:
TQStringList historyList; TQStringList historyList;
int historyPos; int historyPos;
KCompletion *mComplete; TDECompletion *mComplete;
TQString m_lastMatch; TQString m_lastMatch;
TQTimer *m_typingRepeatTimer; TQTimer *m_typingRepeatTimer;

@ -753,7 +753,7 @@ void IRCAccount::slotJoinChannel()
Kopete::UI::Global::mainWidget() Kopete::UI::Global::mainWidget()
); );
KCompletion comp; TDECompletion comp;
comp.insertItems( chans ); comp.insertItems( chans );
dlg.lineEdit()->setCompletionObject( &comp ); dlg.lineEdit()->setCompletionObject( &comp );

@ -60,7 +60,7 @@ dccNew::dccNew( TQWidget *parent, const char *name, int type, TQString nick )
} }
} }
KCompletion *comp = cbNicks->completionObject(); TDECompletion *comp = cbNicks->completionObject();
TQListBoxItem *i; TQListBoxItem *i;
for(i = nickList->firstItem(); i != 0x0; i = i->next()){ for(i = nickList->firstItem(); i != 0x0; i = i->next()){

Loading…
Cancel
Save