AlterTableDialog Class Reference

Handle alter table features. Sqlite3 has very limited ALTER TABLE feature set, so there is only support for "table rename" and "add column". Table Renaming is handled directly in the LiteManWindow method renameTable(). Adding columns - see addColumns(). It's a wrapper around plain ALTER TABLE ADD COLUMN statement. Drop Column is using a workaround with tmp table, insert-select statement and renaming. See createButton_clicked(). More...

#include <altertabledialog.h>

Inheritance diagram for AlterTableDialog:

Inheritance graph
[legend]
Collaboration diagram for AlterTableDialog:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 AlterTableDialog (QWidget *parent=0, const QString &tableName=0, const QString &schema=0)
 ~AlterTableDialog ()

Public Attributes

bool update


Detailed Description

Handle alter table features. Sqlite3 has very limited ALTER TABLE feature set, so there is only support for "table rename" and "add column". Table Renaming is handled directly in the LiteManWindow method renameTable(). Adding columns - see addColumns(). It's a wrapper around plain ALTER TABLE ADD COLUMN statement. Drop Column is using a workaround with tmp table, insert-select statement and renaming. See createButton_clicked().

Author:
Petr Vanek <petr@scribus.info>

Constructor & Destructor Documentation

AlterTableDialog::AlterTableDialog ( QWidget *  parent = 0,
const QString &  tableName = 0,
const QString &  schema = 0 
)

References TableEditorDialog::ui, and update.

AlterTableDialog::~AlterTableDialog (  )  [inline]


Member Data Documentation

Referenced by AlterTableDialog().


The documentation for this class was generated from the following files:

Generated on Sat Jul 26 09:05:56 2008 for Sqliteman by  doxygen 1.5.5