Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/tables/kexitablepart.cpp
Show First 20 Lines • Show All 160 Lines • ▼ Show 20 Line(s) | 148 | { | |||
---|---|---|---|---|---|
161 | return conn->alterTableName(schema, newName); | 161 | return conn->alterTableName(schema, newName); | ||
162 | } | 162 | } | ||
163 | 163 | | |||
164 | KDbObject* KexiTablePart::loadSchemaObject(KexiWindow *window, const KDbObject& object, | 164 | KDbObject* KexiTablePart::loadSchemaObject(KexiWindow *window, const KDbObject& object, | ||
165 | Kexi::ViewMode viewMode, bool *ownedByWindow) | 165 | Kexi::ViewMode viewMode, bool *ownedByWindow) | ||
166 | { | 166 | { | ||
167 | Q_UNUSED(window); | 167 | Q_UNUSED(window); | ||
168 | Q_UNUSED(viewMode); | 168 | Q_UNUSED(viewMode); | ||
169 | if (ownedByWindow) | 169 | Q_ASSERT(ownedByWindow); | ||
170 | *ownedByWindow = false; | 170 | *ownedByWindow = false; | ||
171 | return KexiMainWindowIface::global()->project()->dbConnection()->tableSchema(object.name()); | 171 | return KexiMainWindowIface::global()->project()->dbConnection()->tableSchema(object.name()); | ||
172 | } | 172 | } | ||
173 | 173 | | |||
174 | //static | 174 | //static | ||
175 | tristate KexiTablePart::askForClosingObjectsUsingTableSchema( | 175 | tristate KexiTablePart::askForClosingObjectsUsingTableSchema( | ||
176 | KexiWindow *window, KDbConnection *conn, | 176 | KexiWindow *window, KDbConnection *conn, | ||
177 | KDbTableSchema *table, const QString& msg) | 177 | KDbTableSchema *table, const QString& msg) | ||
▲ Show 20 Lines • Show All 159 Lines • Show Last 20 Lines |