diff options
Diffstat (limited to 'kmymoney2/dialogs/mymoneyqifprofileeditor.h')
-rw-r--r-- | kmymoney2/dialogs/mymoneyqifprofileeditor.h | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/kmymoney2/dialogs/mymoneyqifprofileeditor.h b/kmymoney2/dialogs/mymoneyqifprofileeditor.h index ce95c9a..67993c2 100644 --- a/kmymoney2/dialogs/mymoneyqifprofileeditor.h +++ b/kmymoney2/dialogs/mymoneyqifprofileeditor.h @@ -15,15 +15,15 @@ * * ***************************************************************************/ -#ifndef MYMONEYQIFPROFILEEDITOR_H -#define MYMONEYQIFPROFILEEDITOR_H +#ifndef MYMONEYTQIFPROFILEEDITOR_H +#define MYMONEYTQIFPROFILEEDITOR_H // ---------------------------------------------------------------------------- // QT Includes -#include <qwidget.h> -#include <qvalidator.h> -class QListViewItem; +#include <tqwidget.h> +#include <tqvalidator.h> +class TQListViewItem; // ---------------------------------------------------------------------------- // KDE Includes @@ -38,59 +38,61 @@ class QListViewItem; * @author Thomas Baumgart */ -class MyMoneyQifProfileNameValidator : public QValidator +class MyMoneyQifProfileNameValidator : public TQValidator { Q_OBJECT + TQ_OBJECT public: - MyMoneyQifProfileNameValidator(QObject *o, const char *name); + MyMoneyQifProfileNameValidator(TQObject *o, const char *name); virtual ~MyMoneyQifProfileNameValidator(); - QValidator::State validate(QString&, int&) const; + TQValidator::State validate(TQString&, int&) const; }; class MyMoneyQifProfileEditor : public MyMoneyQifProfileEditorDecl { Q_OBJECT + TQ_OBJECT public: - MyMoneyQifProfileEditor(const bool edit = false, QWidget *parent=0, const char *name=0); + MyMoneyQifProfileEditor(const bool edit = false, TQWidget *tqparent=0, const char *name=0); virtual ~MyMoneyQifProfileEditor(); /** * This method returns the currently selected profile in the list box. */ - const QString selectedProfile() const; + const TQString selectedProfile() const; public slots: void slotOk(void); protected slots: - void slotLoadProfileFromConfig(const QString& name); + void slotLoadProfileFromConfig(const TQString& name); void slotReset(void); void slotRename(void); void slotDelete(void); void slotNew(void); - void slotAmountTypeSelected(QListViewItem*); - void slotDecimalChanged(const QString& val); - void slotThousandsChanged(const QString& val); + void slotAmountTypeSelected(TQListViewItem*); + void slotDecimalChanged(const TQString& val); + void slotThousandsChanged(const TQString& val); void slotHelp(void); private: void loadProfileListFromConfig(void); void loadWidgets(void); void showProfile(void); - void addProfile(const QString& name); - void deleteProfile(const QString& name); - const QString enterName(bool& ok); + void addProfile(const TQString& name); + void deleteProfile(const TQString& name); + const TQString enterName(bool& ok); private: bool m_inEdit; MyMoneyQifProfile m_profile; bool m_isDirty; bool m_isAccepted; - QListViewItem* m_selectedAmountType; + TQListViewItem* m_selectedAmountType; }; #endif |