clean up code
This commit is contained in:
parent
a1c80cc562
commit
6a13d6462a
|
@ -50,7 +50,6 @@ CodeCompletionPopup::CodeCompletionPopup(QWidget *parent) :
|
|||
mRecordUsage = false;
|
||||
mSortByScope = true;
|
||||
|
||||
mOnlyGlobals = false;
|
||||
mShowCount = 1000;
|
||||
mShowCodeSnippets = true;
|
||||
|
||||
|
@ -942,16 +941,6 @@ void CodeCompletionPopup::setRecordUsage(bool newRecordUsage)
|
|||
mRecordUsage = newRecordUsage;
|
||||
}
|
||||
|
||||
bool CodeCompletionPopup::onlyGlobals() const
|
||||
{
|
||||
return mOnlyGlobals;
|
||||
}
|
||||
|
||||
void CodeCompletionPopup::setOnlyGlobals(bool newOnlyGlobals)
|
||||
{
|
||||
mOnlyGlobals = newOnlyGlobals;
|
||||
}
|
||||
|
||||
int CodeCompletionPopup::showCount() const
|
||||
{
|
||||
return mShowCount;
|
||||
|
|
|
@ -91,9 +91,6 @@ public:
|
|||
int showCount() const;
|
||||
void setShowCount(int newShowCount);
|
||||
|
||||
bool onlyGlobals() const;
|
||||
void setOnlyGlobals(bool newOnlyGlobals);
|
||||
|
||||
bool recordUsage() const;
|
||||
void setRecordUsage(bool newRecordUsage);
|
||||
|
||||
|
@ -158,7 +155,6 @@ private:
|
|||
PCppParser mParser;
|
||||
PStatement mCurrentStatement;
|
||||
int mShowCount;
|
||||
bool mOnlyGlobals;
|
||||
bool mRecordUsage;
|
||||
bool mShowKeywords;
|
||||
bool mShowCodeSnippets;
|
||||
|
|
Loading…
Reference in New Issue