20#ifndef KexiStartupDialog_h
21#define KexiStartupDialog_h
23#include <kdialogbase.h>
24#include <kicondialog.h>
26#include <tdefileiconview.h>
27#include <tdefiledialog.h>
30#include <tqsplitter.h>
32#include <kexidb/connectiondata.h>
33#include <core/kexiprojectdata.h>
35class KexiStartupDialogPrivate;
78 enum DialogType { Templates = 1, OpenExisting = 2, OpenRecent = 4, Everything = (1+2+4) };
100 TQWidget *parent = 0, const char *name = 0 );
105 static bool shouldBeShown();
122 TQString selectedFileName() const;
126 TQValueList<KexiProjectData::ObjectInfo> autoopenObjects() const;
140 virtual void done( int r);
141 virtual void reject();
142 virtual void slotOk();
145 void slotPageShown(TQWidget *page);
148 void templateItemExecuted(TQIconViewItem *item);
151 void templateItemSelected(TQIconViewItem *item);*/
154 void tabShown(TQWidget *w);
156 void templateSelected( const TQString& fileName);
160 void existingFileSelected( const TQString &f);
161 void showSimpleConnForOpenExisting();
162 void showAdvancedConnForOpenExisting();
167 virtual bool eventFilter( TQObject *o, TQEvent *e );
170 void updateDialogOKButton(TQWidget *w);
173 int activePageIndex() const;
175 void setupPageTemplates();
176 void setupPageOpenExisting();
177 void setupPageOpenRecent();
182 KexiStartupDialogPrivate *d;
Database specific connection data, e.g. host, port.
Kexi project core data member.
Stores information about multiple kexi project-data items.
@ OpenExistingResult The user has chosen an existing connection or db file.
@ ImportResult The user has chosen to import db.
@ CancelResult The user has pressed 'Cancel'.
@ CreateFromTemplateResult The user has selected a template to be used for creating a new db.
@ CreateBlankResult The user has selected a template.
|