diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
commit | fecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch) | |
tree | 6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/dialogs/kstartdlg.h | |
parent | dadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff) | |
download | kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip |
TQt4 port kmymoney
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/dialogs/kstartdlg.h')
-rw-r--r-- | kmymoney2/dialogs/kstartdlg.h | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/kmymoney2/dialogs/kstartdlg.h b/kmymoney2/dialogs/kstartdlg.h index a09f72d..55d6955 100644 --- a/kmymoney2/dialogs/kstartdlg.h +++ b/kmymoney2/dialogs/kstartdlg.h @@ -27,27 +27,28 @@ #include <kurlrequester.h> #include <kiconview.h> -#include <qstring.h> -#include <qradiobutton.h> -#include <qlineedit.h> -#include <qcheckbox.h> -#include <qpushbutton.h> +#include <tqstring.h> +#include <tqradiobutton.h> +#include <tqlineedit.h> +#include <tqcheckbox.h> +#include <tqpushbutton.h> /**KMyMoney 2 start dialog */ class KStartDlg : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - KStartDlg( QWidget *parent=0, const char *name=0, bool modal=true ); + KStartDlg( TQWidget *tqparent=0, const char *name=0, bool modal=true ); virtual ~KStartDlg(); bool isNewFile(void) const { return isnewfile; } bool isOpenFile(void) const { return !kurlrequest->url().isEmpty(); } - const QString getURL(void) const { return kurlrequest->url(); } - QString getTemplateName(void) const { return templatename; } + const TQString getURL(void) const { return kurlrequest->url(); } + TQString getTemplateName(void) const { return templatename; } private: // Private methods - QString m_filename; + TQString m_filename; bool fileExists(KURL url); void setPage_Template(); @@ -63,22 +64,22 @@ private: // Private methods /** misc variables */ bool isnewfile; bool isopenfile; - QString templatename; - QVBox *templateMainFrame; - QFrame *recentMainFrame; + TQString templatename; + TQVBox *templateMainFrame; + TQFrame *recentMainFrame; protected slots: /** No descriptions */ void slotOk(); private slots: - void slotTemplateClicked(QIconViewItem *item); + void slotTemplateClicked(TQIconViewItem *item); /** slot to recent view */ - void slotRecentClicked(QIconViewItem *item); + void slotRecentClicked(TQIconViewItem *item); /** Handle selections */ - void slotTemplateSelectionChanged(QIconViewItem* item); - void slotRecentSelectionChanged(QIconViewItem* item); - void slotAboutToShowPage(QWidget* page); + void slotTemplateSelectionChanged(TQIconViewItem* item); + void slotRecentSelectionChanged(TQIconViewItem* item); + void slotAboutToShowPage(TQWidget* page); }; #endif |