QCodeEdit small changes
This commit is contained in:
@@ -56,13 +56,13 @@ public:
|
|||||||
};
|
};
|
||||||
struct QAD_WIDGETS_EXPORT ACEntry {
|
struct QAD_WIDGETS_EXPORT ACEntry {
|
||||||
ACEntry(const QString & t = QString(), const QString & n = QString(), const QString & h = QString()):
|
ACEntry(const QString & t = QString(), const QString & n = QString(), const QString & h = QString()):
|
||||||
type(t), name(n), hint(h) {declaration_pos = -1; custom_data = 0;}
|
type(t), name(n), hint(h) {declaration_pos = -1;}
|
||||||
bool isNull() const {return type.isEmpty() && name.isEmpty();}
|
bool isNull() const {return type.isEmpty() && name.isEmpty();}
|
||||||
QString type;
|
QString type;
|
||||||
QString name;
|
QString name;
|
||||||
QString hint;
|
QString hint;
|
||||||
int declaration_pos;
|
int declaration_pos;
|
||||||
void * custom_data;
|
QVariant custom_data;
|
||||||
};
|
};
|
||||||
|
|
||||||
QTextCursor textCursor() const;
|
QTextCursor textCursor() const;
|
||||||
|
|||||||
Reference in New Issue
Block a user