summaryrefslogtreecommitdiffstats
path: root/kword/KWImportStyleDia.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kword/KWImportStyleDia.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kword/KWImportStyleDia.h')
-rw-r--r--kword/KWImportStyleDia.h28
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;
};