diff options
Diffstat (limited to 'kword/KWImportStyleDia.h')
-rw-r--r-- | kword/KWImportStyleDia.h | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/kword/KWImportStyleDia.h b/kword/KWImportStyleDia.h index 2b27c5b6..075a83fd 100644 --- a/kword/KWImportStyleDia.h +++ b/kword/KWImportStyleDia.h @@ -22,22 +22,23 @@ #include <kdialogbase.h> #include <KoImportStyleDia.h> -#include <qstringlist.h> +#include <tqstringlist.h> #include "KWFrameStyle.h" #include "KWTableStyle.h" -class QLineEdit; -class QListBox; +class TQLineEdit; +class TQListBox; class KWDocument; -class QPushButton; +class TQPushButton; class KoParagStyle; class KWImportStyleDia : public KoImportStyleDia { Q_OBJECT + TQ_OBJECT public: - KWImportStyleDia( KWDocument *_doc, KoStyleCollection* currentCollection, QWidget *parent, const char *name = 0 ); + KWImportStyleDia( KWDocument *_doc, KoStyleCollection* currentCollection, TQWidget *tqparent, const char *name = 0 ); ~KWImportStyleDia(); protected: @@ -51,25 +52,26 @@ private: class KWImportFrameTableStyleDia : public KDialogBase { Q_OBJECT + TQ_OBJECT public: enum StyleType { frameStyle, TableStyle}; - KWImportFrameTableStyleDia( KWDocument *_doc, const QStringList & _list, StyleType _type , QWidget *parent, const char *name ); + KWImportFrameTableStyleDia( KWDocument *_doc, const TQStringList & _list, StyleType _type , TQWidget *tqparent, const char *name ); ~KWImportFrameTableStyleDia(); - QPtrList<KWFrameStyle> listOfFrameStyleImported() const { return m_frameStyleList;} - QPtrList<KWTableStyle> listOfTableStyleImported() const { return m_tableStyleList;} + TQPtrList<KWFrameStyle> listOfFrameStyleImported() const { return m_frameStyleList;} + TQPtrList<KWTableStyle> listOfTableStyleImported() const { return m_tableStyleList;} protected slots: virtual void slotOk(); protected: - QString generateStyleName( const QString & templateName ); + TQString generateStyleName( const TQString & templateName ); void loadFile(); void initList(); - QListBox *m_listStyleName; + TQListBox *m_listStyleName; KWDocument *m_doc; - QPtrList<KWFrameStyle> m_frameStyleList; - QPtrList<KWTableStyle> m_tableStyleList; - QStringList m_list; + TQPtrList<KWFrameStyle> m_frameStyleList; + TQPtrList<KWTableStyle> m_tableStyleList; + TQStringList m_list; StyleType m_typeStyle; }; |