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);
TQToolTip::add(matchBtn,i18n("Find matching definitions"));
completionObject = new KCompletion();
completionObject = new TDECompletion();
internalCombo = new KHistoryCombo(baseWidget);
internalCombo->setBackgroundOrigin(AncestorOrigin);

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

@ -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 ) );

@ -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;

@ -753,7 +753,7 @@ void IRCAccount::slotJoinChannel()
Kopete::UI::Global::mainWidget()
);
KCompletion comp;
TDECompletion comp;
comp.insertItems( chans );
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;
for(i = nickList->firstItem(); i != 0x0; i = i->next()){

Loading…
Cancel
Save