diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/management/kxmlcommanddlg.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/management/kxmlcommanddlg.h')
-rw-r--r-- | kdeprint/management/kxmlcommanddlg.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kdeprint/management/kxmlcommanddlg.h b/kdeprint/management/kxmlcommanddlg.h index 54bec2dfc..05dc133c2 100644 --- a/kdeprint/management/kxmlcommanddlg.h +++ b/kdeprint/management/kxmlcommanddlg.h @@ -20,9 +20,9 @@ #ifndef KXMLCOMMANDDLG_H #define KXMLCOMMANDDLG_H -#include <qwidget.h> -#include <qmap.h> -#include <qstringlist.h> +#include <tqwidget.h> +#include <tqmap.h> +#include <tqstringlist.h> #include <kdialogbase.h> class KListView; @@ -44,21 +44,21 @@ class KXmlCommandAdvancedDlg : public QWidget { Q_OBJECT public: - KXmlCommandAdvancedDlg(QWidget *parent = 0, const char *name = 0); + KXmlCommandAdvancedDlg(TQWidget *parent = 0, const char *name = 0); ~KXmlCommandAdvancedDlg(); void setCommand(KXmlCommand*); - static bool editCommand(KXmlCommand *xmlcmd, QWidget *parent = 0); + static bool editCommand(KXmlCommand *xmlcmd, TQWidget *parent = 0); protected: - void parseGroupItem(DrGroup*, QListViewItem*); + void parseGroupItem(DrGroup*, TQListViewItem*); void parseXmlCommand(KXmlCommand*); - void viewItem(QListViewItem*); - void removeItem(QListViewItem*); - void recreateGroup(QListViewItem*, DrGroup*); + void viewItem(TQListViewItem*); + void removeItem(TQListViewItem*); + void recreateGroup(TQListViewItem*, DrGroup*); protected slots: - void slotSelectionChanged(QListViewItem*); + void slotSelectionChanged(TQListViewItem*); void slotTypeChanged(int); void slotAddValue(); void slotRemoveValue(); @@ -68,9 +68,9 @@ protected slots: void slotRemoveItem(); void slotMoveUp(); void slotMoveDown(); - void slotCommandChanged(const QString&); - void slotValueSelected(QListViewItem*); - void slotOptionRenamed(QListViewItem*, int); + void slotCommandChanged(const TQString&); + void slotValueSelected(TQListViewItem*); + void slotOptionRenamed(TQListViewItem*, int); void slotChanged(); private: @@ -84,21 +84,21 @@ private: QToolButton *m_apply, *m_addgrp, *m_addopt, *m_delopt, *m_up, *m_down; QLineEdit *m_inputfile, *m_inputpipe, *m_outputfile, *m_outputpipe; QToolButton *m_addval, *m_delval; - QTextEdit *m_comment; - QCheckBox *m_persistent; + TQTextEdit *m_comment; + TQCheckBox *m_persistent; KXmlCommand *m_xmlcmd; - QMap<QString, DrBase*> m_opts; + TQMap<TQString, DrBase*> m_opts; }; class KXmlCommandDlg : public KDialogBase { Q_OBJECT public: - KXmlCommandDlg(QWidget *parent = 0, const char *name = 0); + KXmlCommandDlg(TQWidget *parent = 0, const char *name = 0); void setCommand(KXmlCommand*); - static bool editCommand(KXmlCommand*, QWidget *parent = 0); + static bool editCommand(KXmlCommand*, TQWidget *parent = 0); protected slots: void slotAddMime(); @@ -106,9 +106,9 @@ protected slots: void slotEditCommand(); void slotAddReq(); void slotRemoveReq(); - void slotReqSelected(QListViewItem*); - void slotAvailableSelected(QListBoxItem*); - void slotSelectedSelected(QListBoxItem*); + void slotReqSelected(TQListViewItem*); + void slotAvailableSelected(TQListBoxItem*); + void slotSelectedSelected(TQListBoxItem*); void slotOk(); private: |