filters

KSpreadKexiImportDialog Class Reference

List of all members.

Detailed Description

Definition at line 51 of file kspread_kexiimportdialog.h.


Signals

void insertKexi ()

Public Member Functions

 KSpreadKexiImportDialog (QWidget *parent=0, const char *name=0)
virtual ~KSpreadKexiImportDialog ()
void openDatabase (QString, KexiDB::ConnectionData *cdata)
KexiDB::Connection * connection ()
bool customQuery ()
QString customQueryString ()
int conversion ()
QPtrList< QListViewItem > selectedItems ()

Protected Slots

virtual void accept ()
virtual void reject ()

Constructor & Destructor Documentation

KSpreadKexiImportDialog::KSpreadKexiImportDialog ( QWidget *  parent = 0,
const char *  name = 0 
)

Constructor, initializes functionality.

The dates in the dialog initialize to a complete calendar for the current month.

Definition at line 61 of file kspread_kexiimportdialog.cc.

KSpreadKexiImportDialog::~KSpreadKexiImportDialog (  )  [virtual]

Virtual destructor.

Returns:
None

Definition at line 72 of file kspread_kexiimportdialog.cc.


Member Function Documentation

void KSpreadKexiImportDialog::openDatabase ( QString  fileName,
KexiDB::ConnectionData *  cdata 
)

Opens a database given either a filename or connection data.

Parameters:
fileName name of file to open if cdata is null
cdata connection data to server based database...not implemented though

Definition at line 99 of file kspread_kexiimportdialog.cc.

QString KSpreadKexiImportDialog::customQueryString (  ) 

Returns:
the custom query that has been entered

Definition at line 201 of file kspread_kexiimportdialog.cc.

int KSpreadKexiImportDialog::conversion (  ) 

Returns the user specified option for data conversion.

Returns:
integer stating the type of cenverion to make

Definition at line 227 of file kspread_kexiimportdialog.cc.

void KSpreadKexiImportDialog::accept (  )  [protected, virtual, slot]

This slot is reimplemented from QDialog and is connected to the insert button.

It also emits a insertCalendar signal.

The dialog is closed (not deleted) when this slot is called.

See also:
insertCalendar, reject, QDialog::done

Definition at line 78 of file kspread_kexiimportdialog.cc.

void KSpreadKexiImportDialog::reject (  )  [protected, virtual, slot]

This slot is reimplemented from QDialog and is connected to the cancel button.

The dialog is closed (not deleted) when this slot is called.

See also:
accept, QDialog::done

Definition at line 88 of file kspread_kexiimportdialog.cc.

void KSpreadKexiImportDialog::insertKexi (  )  [signal]

This signal is emitted when the dialog is accepted - that is, when the Insert button is clicked.

This signal is meant to tell the insert calendar plugin to actually insert the calendar with the selected dates.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys