summaryrefslogtreecommitdiffstats
path: root/lib/kformula/symboltable.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kformula/symboltable.h')
-rw-r--r--lib/kformula/symboltable.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/lib/kformula/symboltable.h b/lib/kformula/symboltable.h
index 9218e6b43..a7776adcd 100644
--- a/lib/kformula/symboltable.h
+++ b/lib/kformula/symboltable.h
@@ -22,11 +22,11 @@
#ifndef SYMBOLTABLE_H
#define SYMBOLTABLE_H
-#include <qfont.h>
-#include <qmap.h>
-#include <qstring.h>
-#include <qstringlist.h>
-#include <qvaluevector.h>
+#include <tqfont.h>
+#include <tqmap.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <tqvaluevector.h>
#include "kformuladefs.h"
@@ -48,24 +48,24 @@ public:
/**
* @returns a string with all greek letters.
*/
- QString greekLetters() const { return greek; }
+ TQString greekLetters() const { return greek; }
/**
- * @returns the unicode value of the symbol font char.
+ * @returns the tqunicode value of the symbol font char.
*/
- QChar unicodeFromSymbolFont( QChar pos ) const;
+ TQChar tqunicodeFromSymbolFont( TQChar pos ) const;
private:
/**
- * symbol font char -> unicode mapping.
+ * symbol font char -> tqunicode mapping.
*/
- QMap<QChar, QChar> compatibility;
+ TQMap<TQChar, TQChar> compatibility;
/**
* All greek letters that are known.
*/
- QString greek;
+ TQString greek;
};
@@ -83,50 +83,50 @@ public:
* lazy init support. Needs to be run before anything else.
* @param install if true fonts may be installed if needed
*/
- void init( const QFont& font );
+ void init( const TQFont& font );
- bool contains( QString name ) const;
+ bool tqcontains( TQString name ) const;
/**
* @returns the char in the symbol font that belongs to
* the given name.
*/
- QChar unicode( QString name ) const;
- QString name( QChar symbol ) const;
+ TQChar tqunicode( TQString name ) const;
+ TQString name( TQChar symbol ) const;
- QFont font( QChar symbol, const QFont& f ) const;
+ TQFont font( TQChar symbol, const TQFont& f ) const;
- CharClass charClass( QChar symbol ) const;
+ CharClass charClass( TQChar symbol ) const;
/**
* @returns a string with all greek letters.
*/
- QString greekLetters() const;
+ TQString greekLetters() const;
/**
- * @returns the unicode value of the symbol font char.
+ * @returns the tqunicode value of the symbol font char.
*/
- QChar unicodeFromSymbolFont( QChar pos ) const;
+ TQChar tqunicodeFromSymbolFont( TQChar pos ) const;
/**
* @returns all known names as strings.
*/
- QStringList allNames() const;
+ TQStringList allNames() const;
- typedef QMap<QChar, QString> NameTable;
- typedef QMap<QString, QChar> EntryTable;
+ typedef TQMap<TQChar, TQString> NameTable;
+ typedef TQMap<TQString, TQChar> EntryTable;
private:
- QString get_name( UnicodeNameTable entry ) const;
+ TQString get_name( UnicodeNameTable entry ) const;
/**
- * unicode -> name mapping.
+ * tqunicode -> name mapping.
*/
NameTable names;
/**
- * Name -> unicode mapping.
+ * Name -> tqunicode mapping.
*/
EntryTable entries;
@@ -140,7 +140,7 @@ private:
* this table is present in this font. If user selected font doesn't have
* the needed glyph this font will be used instead.
*/
- QFont backupFont;
+ TQFont backupFont;
};
KFORMULA_NAMESPACE_END