[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/koffice/1.6/koffice/kexi/kexidb
From: Jaroslaw Staniek <js () iidea ! pl>
Date: 2006-08-03 21:24:25
Message-ID: 1154640265.257321.2409.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 569455 by staniek:
KexiDB
- docs improved a bit, warnings--
M +9 -3 alter.cpp
M +1 -0 connection.cpp
M +1 -1 connection.h
M +11 -11 parser/parser.h
--- branches/koffice/1.6/koffice/kexi/kexidb/alter.cpp #569454:569455
@@ -477,8 +477,10 @@
return true;
}
-tristate AlterTableHandler::RemoveFieldAction::execute(Connection& /*conn*/, \
TableSchema& /*table*/) +tristate \
AlterTableHandler::RemoveFieldAction::execute(Connection& conn, TableSchema& table) \
{ + Q_UNUSED(conn);
+ Q_UNUSED(table);
//! @todo
return true;
}
@@ -613,8 +615,10 @@
return true;
}
-tristate AlterTableHandler::InsertFieldAction::execute(Connection& /*conn*/, \
TableSchema& /*table*/) +tristate \
AlterTableHandler::InsertFieldAction::execute(Connection& conn, TableSchema& table) \
{ + Q_UNUSED(conn);
+ Q_UNUSED(table);
//! @todo
return true;
}
@@ -655,8 +659,10 @@
//! @todo
}
-tristate AlterTableHandler::MoveFieldPositionAction::execute(Connection& /*conn*/, \
TableSchema& /*table*/) +tristate \
AlterTableHandler::MoveFieldPositionAction::execute(Connection& conn, TableSchema& \
table) {
+ Q_UNUSED(conn);
+ Q_UNUSED(table);
//! @todo
return true;
}
--- branches/koffice/1.6/koffice/kexi/kexidb/connection.cpp #569454:569455
@@ -209,6 +209,7 @@
// KexiDBDbg << "Connection::~Connection()" << endl;
delete d->dbProperties;
delete d;
+ d = 0;
/* if (m_driver) {
if (m_is_connected) {
//delete own table schemas
--- branches/koffice/1.6/koffice/kexi/kexidb/connection.h #569454:569455
@@ -1109,7 +1109,7 @@
QPtrDict<KexiDB::Cursor> m_cursors;
private:
- ConnectionPrivate* const d; //!< @internal d-pointer class.
+ ConnectionPrivate* d; //!< @internal d-pointer class.
Driver* const m_driver; //!< The driver this \a Connection instance uses.
bool m_destructor_started : 1; //!< helper: true if destructor is started.
--- branches/koffice/1.6/koffice/kexi/kexidb/parser/parser.h #569454:569455
@@ -36,7 +36,7 @@
class Field;
/**
- * Class which contains detailed i18n'ed error description for the \a Parser .
+ * Provides detailed i18n'ed error description about the \a Parser .
*/
class KEXI_DB_EXPORT ParserError
{
@@ -90,23 +90,23 @@
/**
* Parser for SQL statements.
*
- * The best and preffered way to do queries is using the KexiDB::Parser \
functionality
- * and pass it as QuerySchema since it offers a database-backend independend way to
- * deal with SQL statements on the one hand and offers high level functionality on
- * the other. Also BLOBs like images are handled that way as well.
+ * The best and prefeerred way to run queries is using the KexiDB::Parser \
functionality + * and use the resulting QuerySchema object since this offers a \
database-backend-independent + * way to deal with SQL statements on the one hand and \
offers high level + * functionality on the other. Also BLOBs like images are handled \
that way.
*
- * As example if we like to use the SELECT-statement
+ * For example if we like to use the SELECT statement
* "SELECT dir.path, media.filename FROM dir, media WHERE dir.id=media.dirId AND \
media.id=%s"
* we are able to use the \a Connection::prepareStatement method which takes the \
type of
* the statement (in our case \a PreparedStatement::SelectStatement ), a list of \
fields (in
* our case dir.path and media.filename) and returns a \a PreparedStatement::Ptr \
instance.
* By using the \a QuerySchema::addRelationship and \a \
QuerySchema::addToWhereExpression methods
- * the SQL statement could be extended with relationships and where-expressions.
+ * the SQL statement could be extended with relationships and WHERE expressions.
*
- * For an example see \a KexiDB::PreparedStatement and \a \
Connection::selectStatement . A more
- * complex example that looks at what the user has defined and builds a \a \
KexiDB::Schema
- * carefully include the where-expression is in use at the Query Designer in the \
method
- * \a KexiQueryDesignerGuiEditor::buildSchema .
+ * For more, see \a KexiDB::PreparedStatement and \a Connection::selectStatement() . \
A more + * complex example that looks at what the user has defined and carefully \
builds + * \a KexiDB::QuerySchema object, including the WHERE expression can be \
found in + * the Query Designer's source code in the method \a \
KexiQueryDesignerGuiEditor::buildSchema().
*/
class KEXI_DB_EXPORT Parser
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic