mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-04-25 14:10:55 -05:00
Rename sqlb::Object::ObjectTypes enum to sqlb::Object::Types
The 'Object' parts seemed a little redundant before.
This commit is contained in:
+3
-3
@@ -22,20 +22,20 @@ class DBBrowserObject
|
||||
{
|
||||
public:
|
||||
DBBrowserObject() : name( "" ) { }
|
||||
DBBrowserObject(const QString& wname, const QString& wsql, sqlb::Object::ObjectTypes wtype, const QString& tbl_name)
|
||||
DBBrowserObject(const QString& wname, const QString& wsql, sqlb::Object::Types wtype, const QString& tbl_name)
|
||||
: name( wname), sql( wsql ), type(wtype), table_name(tbl_name)
|
||||
{ }
|
||||
|
||||
QString getname() const { return name; }
|
||||
QString getsql() const { return sql; }
|
||||
sqlb::Object::ObjectTypes gettype() const { return type; }
|
||||
sqlb::Object::Types gettype() const { return type; }
|
||||
QString getTableName() const { return table_name; }
|
||||
|
||||
sqlb::ObjectPtr object;
|
||||
private:
|
||||
QString name;
|
||||
QString sql;
|
||||
sqlb::Object::ObjectTypes type;
|
||||
sqlb::Object::Types type;
|
||||
QString table_name; // The name of the table this object references, interesting for views, triggers and indices
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user