Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/scripting/kexidb/kexidbdriver.h
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Line(s) | 65 | public Q_SLOTS: | |||
---|---|---|---|---|---|
66 | 66 | | |||
67 | /** Returns true if this driver is valid else false is returned. */ | 67 | /** Returns true if this driver is valid else false is returned. */ | ||
68 | bool isValid(); | 68 | bool isValid(); | ||
69 | /** Driver-specific SQL string escaping. For example the " or ' char may | 69 | /** Driver-specific SQL string escaping. For example the " or ' char may | ||
70 | need to be escaped for values used within SQL-statements. */ | 70 | need to be escaped for values used within SQL-statements. */ | ||
71 | QString escapeString(const QString& s); | 71 | QString escapeString(const QString& s); | ||
72 | /** Returns true if this driver is file-based. */ | 72 | /** Returns true if this driver is file-based. */ | ||
73 | bool isFileDriver(); | 73 | bool isFileDriver(); | ||
74 | /** Return a name of MIME type of files handled by this driver if it is a | 74 | /** Return a list of MIME types of files handled by this driver if it is a | ||
75 | file-based database's driver otherwise returns null string. */ | 75 | file-based database's driver otherwise returns an empty list */ | ||
76 | QString fileDBDriverMimeType(); | 76 | QStringList fileDBDriverMimeTypes(); | ||
77 | /** Returns true if the passed string is a system object's name, eg. name | 77 | /** Returns true if the passed string is a system object's name, eg. name | ||
78 | of build-in system table that cannot be used or created by a user. */ | 78 | of build-in system table that cannot be used or creataned by a user. */ | ||
79 | bool isSystemObjectName(const QString& name); | 79 | bool isSystemObjectName(const QString& name); | ||
80 | /** Returns true if the passed string is a system database's name, eg. name | 80 | /** Returns true if the passed string is a system database's name, eg. name | ||
81 | of build-in, system database that cannot be used or created by a user. */ | 81 | of build-in, system database that cannot be used or created by a user. */ | ||
82 | bool isSystemDatabaseName(const QString& name); | 82 | bool isSystemDatabaseName(const QString& name); | ||
83 | /** Returns true if the passed string is a system field's name, build-in | 83 | /** Returns true if the passed string is a system field's name, build-in | ||
84 | system field that cannot be used or created by a user. */ | 84 | system field that cannot be used or created by a user. */ | ||
85 | bool isSystemFieldName(const QString& name); | 85 | bool isSystemFieldName(const QString& name); | ||
86 | /** The as second argument passed string got escaped to be usable within | 86 | /** The as second argument passed string got escaped to be usable within | ||
Show All 22 Lines |