diff options
Diffstat (limited to 'kexi/main/startup/KexiStartupDialog.h')
-rw-r--r-- | kexi/main/startup/KexiStartupDialog.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/kexi/main/startup/KexiStartupDialog.h b/kexi/main/startup/KexiStartupDialog.h index 41f6064b..0f994ff3 100644 --- a/kexi/main/startup/KexiStartupDialog.h +++ b/kexi/main/startup/KexiStartupDialog.h @@ -26,8 +26,8 @@ #include <kfileiconview.h> #include <kfiledialog.h> -#include <qlabel.h> -#include <qsplitter.h> +#include <tqlabel.h> +#include <tqsplitter.h> #include <kexidb/connectiondata.h> #include <core/kexiprojectdata.h> @@ -46,6 +46,7 @@ class ConnectionDataLVItem; class KEXIMAIN_EXPORT KexiStartupDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: /*! The Dialog returns one of these values depending @@ -88,7 +89,7 @@ public: @param recentProjects a set of recent projects' info, used for "Open recent" tab @param connSet conenction set used to present available conenctions in "Open Existing" tab. Pass an empty object is this tab is not used. - @param parent parent widget, if any. + @param tqparent tqparent widget, if any. @param name name of this object. */ KexiStartupDialog( @@ -96,7 +97,7 @@ public: int dialogOptions, KexiDBConnectionSet& connSet, KexiProjectSet& recentProjects, - QWidget *parent = 0, const char *name = 0 ); + TQWidget *tqparent = 0, const char *name = 0 ); ~KexiStartupDialog(); /*! \return true if startup dialog should be shown (info is taken from kexi config) @@ -118,11 +119,11 @@ public: (if result() == CreateFromTemplateResult). Returns empty string if no such selection has been made or other tab was selected. */ - QString selectedFileName() const; + TQString selectedFileName() const; /*! \return "autoopen" objects defined for selected template. Only makes sense if template was used. */ - QValueList<KexiProjectData::ObjectInfo> autoopenObjects() const; + TQValueList<KexiProjectData::ObjectInfo> autoopenObjects() const; /*! \return a pointer to selected Kexi connection data. (if "Open Existing" tab was selected and this connection data was clicked). @@ -141,32 +142,32 @@ protected slots: virtual void slotOk(); //! slot activated when one of page in templates window is shown - void slotPageShown(QWidget *page); + void slotPageShown(TQWidget *page); /* //! Any icon view item has been executed (dblclicked) - void templateItemExecuted(QIconViewItem *item); + void templateItemExecuted(TQIconViewItem *item); //! Any icon view item has been selected - void templateItemSelected(QIconViewItem *item);*/ + void templateItemSelected(TQIconViewItem *item);*/ //! Any tab has been selected - void tabShown(QWidget *w); + void tabShown(TQWidget *w); - void templateSelected(const QString& fileName); + void templateSelected(const TQString& fileName); //! helper void recentProjectItemExecuted(KexiProjectData *data); - void existingFileSelected(const QString &f); + void existingFileSelected(const TQString &f); void showSimpleConnForOpenExisting(); void showAdvancedConnForOpenExisting(); void connectionItemForOpenExistingExecuted(ConnectionDataLVItem *item); void connectionItemForOpenExistingHighlighted(ConnectionDataLVItem *item); protected: - virtual bool eventFilter( QObject *o, QEvent *e ); + virtual bool eventFilter( TQObject *o, TQEvent *e ); //! helper: updates a state of dialog's OK button - void updateDialogOKButton(QWidget *w); + void updateDialogOKButton(TQWidget *w); //! internal reimplementation int activePageIndex() const; |