Rename KComp to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent d8f44d1f46
commit 51779cd3cb

@ -28,7 +28,7 @@ using Cervisia::LogMessageEdit;
LogMessageEdit::LogMessageEdit(TQWidget* parent)
: KTextEdit(parent)
, KCompletionBase()
, TDECompletionBase()
, m_completing(false)
, m_completionStartPos(0)
{
@ -180,7 +180,7 @@ void LogMessageEdit::tryCompletion()
void LogMessageEdit::rotateMatches(KeyBindingType type)
{
KCompletion* completionObj = compObj();
TDECompletion* completionObj = compObj();
if( completionObj && m_completing &&
(type == PrevCompletionMatch || type == NextCompletionMatch) )
{

@ -30,7 +30,7 @@ namespace Cervisia
{
class LogMessageEdit : public KTextEdit, public KCompletionBase
class LogMessageEdit : public KTextEdit, public TDECompletionBase
{
Q_OBJECT

@ -36,7 +36,7 @@
#include <kdialogbase.h>
class KCompletion;
class TDECompletion;
class MarkPatternWidget;
@ -70,7 +70,7 @@ class MarkPatternDialog : public KDialogBase
TQStringList patternList;
KCompletion * comboCompletion;
TDECompletion * comboCompletion;
};
#endif // MARKPATTERNDIALOG_H

@ -61,7 +61,7 @@ PackageSelectDialog::PackageSelectDialog(TQWidget *parent,const char *name) :
connect( mRecentList, TQT_SIGNAL( doubleClicked( TQListViewItem * ) ),
TQT_SLOT( slotOk() ) );
mCompletion = new KCompletion;
mCompletion = new TDECompletion;
mCompletion->setCompletionMode( TDEGlobalSettings::CompletionAuto );
mCompleteList = new PackageListView( topSplitter );

@ -7,7 +7,7 @@
#include "package.h"
class KCompletion;
class TDECompletion;
class KLineEdit;
class PackageListView : public TQListView
@ -59,7 +59,7 @@ class PackageSelectDialog : public KDialogBase
TQListView *mRecentList;
PackageListView *mCompleteList;
KLineEdit *mPackageEdit;
KCompletion *mCompletion;
TDECompletion *mCompletion;
TQDict<TQListViewItem> mCompletionDict;
};

Loading…
Cancel
Save