Changeset View
Changeset View
Standalone View
Standalone View
src/core/kexi.h
Show First 20 Lines • Show All 158 Lines • ▼ Show 20 Line(s) | |||||
159 | //! @return base path (without the filename for file-based connection data @a connectionData. | 159 | //! @return base path (without the filename for file-based connection data @a connectionData. | ||
160 | //! Empty string is returned if @a connectionData does not point to a file-based connection with | 160 | //! Empty string is returned if @a connectionData does not point to a file-based connection with | ||
161 | //! database name specified. | 161 | //! database name specified. | ||
162 | KEXICORE_EXPORT QString basePathForProject(const KDbConnectionData& connectionData); | 162 | KEXICORE_EXPORT QString basePathForProject(const KDbConnectionData& connectionData); | ||
163 | 163 | | |||
164 | //! @return @c true if this is a Kexi app instance | 164 | //! @return @c true if this is a Kexi app instance | ||
165 | //! @c false is returned e.g. for test apps that are based on Kexi. | 165 | //! @c false is returned e.g. for test apps that are based on Kexi. | ||
166 | //! This function is useful to decide if certain actions should be performed that only | 166 | //! This function is useful to decide if certain actions should be performed that only | ||
167 | //! belong to the "real" Kexi app, for example updating a list of recent documents | 167 | //! belong to the "real" KEXI app, for example updating a list of recent documents | ||
168 | //! or collecting usage information. | 168 | //! or collecting usage information. | ||
169 | //! The check is performed by comparing component name of KAboutData to the string "kexi". | 169 | //! The check is performed by comparing component name of KAboutData to the string "kexi". | ||
170 | KEXICORE_EXPORT bool isKexiInstance(); | 170 | KEXICORE_EXPORT bool isKexiInstance(); | ||
171 | 171 | | |||
172 | }//namespace Kexi | 172 | }//namespace Kexi | ||
173 | 173 | | |||
174 | Q_DECLARE_OPERATORS_FOR_FLAGS(Kexi::ViewModes) | 174 | Q_DECLARE_OPERATORS_FOR_FLAGS(Kexi::ViewModes) | ||
175 | 175 | | |||
Show All 17 Lines |