diff options
Diffstat (limited to 'kspread/ksploadinginfo.h')
-rw-r--r-- | kspread/ksploadinginfo.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kspread/ksploadinginfo.h b/kspread/ksploadinginfo.h index 72b64d7c..0c5aed03 100644 --- a/kspread/ksploadinginfo.h +++ b/kspread/ksploadinginfo.h @@ -20,8 +20,8 @@ #ifndef KSPLOADINGINFO_H #define KSPLOADINGINFO_H -#include <qpoint.h> -#include <qstringlist.h> +#include <tqpoint.h> +#include <tqstringlist.h> #include <KoPoint.h> @@ -35,25 +35,25 @@ class KSPLoadingInfo public: KSPLoadingInfo() { m_loadTemplate = false;} ~KSPLoadingInfo() {} - void addWordInAreaList( const QString & word) { m_areaNamed.append( word ); } - bool findWordInAreaList(const QString & word) const { return (m_areaNamed.find( word ) != m_areaNamed.end());} - void appendValidation( const QString &name, const QDomElement &element){ m_validationList.insert( name, element);} - QDomElement validation( const QString &name) { return m_validationList[name];} + void addWordInAreaList( const TQString & word) { m_areaNamed.append( word ); } + bool findWordInAreaList(const TQString & word) const { return (m_areaNamed.tqfind( word ) != m_areaNamed.end());} + void appendValidation( const TQString &name, const TQDomElement &element){ m_validationList.insert( name, element);} + TQDomElement validation( const TQString &name) { return m_validationList[name];} /** * @return the cursor positions */ - const QMap<Sheet*, QPoint>& cursorPositions() const { return m_cursorPositions; } + const TQMap<Sheet*, TQPoint>& cursorPositions() const { return m_cursorPositions; } /** * Stores the cursor position @p point for @p sheet . */ - void setCursorPosition( Sheet* sheet, const QPoint& point ) { m_cursorPositions.insert( sheet, point );} + void setCursorPosition( Sheet* sheet, const TQPoint& point ) { m_cursorPositions.insert( sheet, point );} /** * @return scrolling offsets */ - const QMap<Sheet*, KoPoint>& scrollingOffsets() const { return m_scrollingOffsets; } + const TQMap<Sheet*, KoPoint>& scrollingOffsets() const { return m_scrollingOffsets; } /** * Stores the scrolling offset @p point for @p sheet . @@ -68,10 +68,10 @@ public: } private: - QStringList m_areaNamed; - QMap<QString,QDomElement> m_validationList; - QMap<Sheet*, QPoint> m_cursorPositions; - QMap<Sheet*, KoPoint> m_scrollingOffsets; + TQStringList m_areaNamed; + TQMap<TQString,TQDomElement> m_validationList; + TQMap<Sheet*, TQPoint> m_cursorPositions; + TQMap<Sheet*, KoPoint> m_scrollingOffsets; bool m_loadTemplate; }; |