diff options
| author | 2025-01-16 01:58:22 -0500 | |
|---|---|---|
| committer | 2025-01-16 01:58:22 -0500 | |
| commit | a5ae79be08125b31bb6b8d9703090a98c6fd2e30 (patch) | |
| tree | 569ee612c9de85b2bb423efa485688ef1d43852e /SQLiteStudio3/guiSQLiteStudio/dbtree/dbtreeitem.h | |
| parent | 21966b4f924b0a1933d9662e75ff253bd154fdb7 (diff) | |
| parent | 81a21e6ce040e7740de86340c8ea4dba30e69bc3 (diff) | |
Update upstream source from tag 'upstream/3.4.13+dfsg'
Update to upstream version '3.4.13+dfsg'
with Debian dir bf81ee0219cb8e4562a4751df17d75814772d2d6
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 }; }; |
