summaryrefslogtreecommitdiffstats
path: root/kword/KWTableTemplate.h
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWTableTemplate.h')
-rw-r--r--kword/KWTableTemplate.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kword/KWTableTemplate.h b/kword/KWTableTemplate.h
index 729f2820..84820d2f 100644
--- a/kword/KWTableTemplate.h
+++ b/kword/KWTableTemplate.h
@@ -22,9 +22,9 @@
#include "KWTableStyle.h"
-#include <qdom.h>
-#include <qptrlist.h>
-#include <qbrush.h>
+#include <tqdom.h>
+#include <tqptrlist.h>
+#include <tqbrush.h>
class KWTableTemplate;
class KWDocument;
@@ -38,10 +38,10 @@ class KWTableTemplateCollection
public:
KWTableTemplateCollection();
~KWTableTemplateCollection();
- const QPtrList<KWTableTemplate> & tableTemplateList() const { return m_templateList; }
+ const TQPtrList<KWTableTemplate> & tableTemplateList() const { return m_templateList; }
void clear();
- KWTableTemplate* findTableTemplate( const QString & name );
+ KWTableTemplate* findTableTemplate( const TQString & name );
/**
* Return style number @p i.
*/
@@ -52,8 +52,8 @@ public:
void removeTableTemplate ( KWTableTemplate *tt );
private:
- QPtrList<KWTableTemplate> m_templateList;
- QPtrList<KWTableTemplate> m_deletedTemplates;
+ TQPtrList<KWTableTemplate> m_templateList;
+ TQPtrList<KWTableTemplate> m_deletedTemplates;
KWTableTemplate *m_lastTemplate;
};
@@ -64,24 +64,24 @@ private:
class KWTableTemplate
{
public:
- KWTableTemplate( const QString & name, KWTableStyle * _firstRow=0L, KWTableStyle * _firstCol=0L,
+ KWTableTemplate( const TQString & name, KWTableStyle * _firstRow=0L, KWTableStyle * _firstCol=0L,
KWTableStyle *_lastRow=0L, KWTableStyle *_lastCol=0L, KWTableStyle *_bodyCell=0L,
KWTableStyle *_topLeftCorner=0L, KWTableStyle *_topRightCorner=0L,
KWTableStyle *_bottomLeftCorner=0L, KWTableStyle *_bottomRightCorner=0L );
KWTableTemplate( const KWTableTemplate & rhs ) { *this = rhs; }
- KWTableTemplate( QDomElement & parentElem, KWDocument *_doc, int docVersion=2 );
+ KWTableTemplate( TQDomElement & tqparentElem, KWDocument *_doc, int docVersion=2 );
~KWTableTemplate() {}
void operator=( const KWTableTemplate & );
/** The internal name (untranslated if a standard style) */
- QString name() const { return m_name; }
- void setName( const QString & name ) { m_name = name; }
+ TQString name() const { return m_name; }
+ void setName( const TQString & name ) { m_name = name; }
/** The translated name */
- QString displayName() const;
+ TQString displayName() const;
// ATTRIBUTES
KWTableStyle firstRow() const { return *m_firstRow; }
@@ -121,14 +121,14 @@ public:
void setBottomLeftCorner( KWTableStyle *_tableStyle ) { m_bottomLeftCorner = _tableStyle; }
// SAVING METHODS
- void save( QDomElement parentElem, KoTextZoomHandler* zh );
- void saveTableTemplate( QDomElement & parentElem );
+ void save( TQDomElement tqparentElem, KoTextZoomHandler* zh );
+ void saveTableTemplate( TQDomElement & tqparentElem );
// STATIC METHODS
- static KWTableTemplate *loadTemplate( QDomElement & parentElem, KWDocument *_doc, int docVersion=2 );
+ static KWTableTemplate *loadTemplate( TQDomElement & tqparentElem, KWDocument *_doc, int docVersion=2 );
private:
- QString m_name;
+ TQString m_name;
KWTableStyle *m_firstRow;
KWTableStyle *m_lastRow;
KWTableStyle *m_firstCol;