diff options
| author | 2025-01-16 01:57:37 -0500 | |
|---|---|---|
| committer | 2025-01-16 01:57:37 -0500 | |
| commit | 81a21e6ce040e7740de86340c8ea4dba30e69bc3 (patch) | |
| tree | 95fc1741b907d5ba6d029a42d80092cb7c056c5e /SQLiteStudio3/guiSQLiteStudio/dbtree/dbtreeitem.h | |
| parent | 3565aad630864ecdbe53fdaa501ea708555b3c7c (diff) | |
New upstream version 3.4.13+dfsg.upstream/3.4.13+dfsgupstream
Diffstat (limited to 'SQLiteStudio3/guiSQLiteStudio/dbtree/dbtreeitem.h')
| -rw-r--r-- | SQLiteStudio3/guiSQLiteStudio/dbtree/dbtreeitem.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/SQLiteStudio3/guiSQLiteStudio/dbtree/dbtreeitem.h b/SQLiteStudio3/guiSQLiteStudio/dbtree/dbtreeitem.h index ba230f2..7cce7a2 100644 --- a/SQLiteStudio3/guiSQLiteStudio/dbtree/dbtreeitem.h +++ b/SQLiteStudio3/guiSQLiteStudio/dbtree/dbtreeitem.h @@ -38,6 +38,7 @@ class GUI_API_EXPORT DbTreeItem : public QObject, public QStandardItem int type() const; DbTreeItem* findItem(Type type, const QString& name); + DbTreeItem* findFirstItem(Type type); QStandardItem* clone() const; QList<QStandardItem*> childs() const; QStringList childNames() const; @@ -75,6 +76,8 @@ class GUI_API_EXPORT DbTreeItem : public QObject, public QStandardItem void setHidden(bool hidden); bool isHidden() const; void setIcon(const Icon& icon); + bool isSchemaReady() const; + void setSchemaReady(bool ready); private: struct DataRole // not 'enum class' because we need autocasting to int for this one @@ -84,7 +87,8 @@ class GUI_API_EXPORT DbTreeItem : public QObject, public QStandardItem TYPE = 1001, DB = 1002, ICON_PTR = 1003, - HIDDEN = 1004 + HIDDEN = 1004, + SCHEMA_READY = 1005 }; }; |
