summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/notation/NoteFontMap.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/editors/notation/NoteFontMap.h
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz
rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/editors/notation/NoteFontMap.h')
-rw-r--r--src/gui/editors/notation/NoteFontMap.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/gui/editors/notation/NoteFontMap.h b/src/gui/editors/notation/NoteFontMap.h
index 119db76..52d87fa 100644
--- a/src/gui/editors/notation/NoteFontMap.h
+++ b/src/gui/editors/notation/NoteFontMap.h
@@ -31,15 +31,15 @@
#include <set>
#include <string>
#include "SystemFont.h"
-#include <qstring.h>
-#include <qstringlist.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
#include <utility>
-#include <qxml.h>
+#include <tqxml.h>
#include "gui/editors/notation/NoteCharacterNames.h"
-class QXmlParseException;
-class QXmlAttributes;
+class TQXmlParseException;
+class TQXmlAttributes;
namespace Rosegarden
@@ -97,18 +97,18 @@ public:
// Xml handler methods:
virtual bool startElement
- (const QString& namespaceURI, const QString& localName,
- const QString& qName, const QXmlAttributes& atts);
+ (const TQString& namespaceURI, const TQString& localName,
+ const TQString& qName, const TQXmlAttributes& atts);
- virtual bool characters(QString &);
+ virtual bool characters(TQString &);
- bool error(const QXmlParseException& exception);
- bool fatalError(const QXmlParseException& exception);
+ bool error(const TQXmlParseException& exception);
+ bool fatalError(const TQXmlParseException& exception);
void dump() const;
// Not for general use, but very handy for diagnostic display
- QStringList getSystemFontNames() const;
+ TQStringList getSystemFontNames() const;
// want this to be private, but need access from HotspotData
static int toSize(int baseSize, double factor, bool limitAtOne);
@@ -300,7 +300,7 @@ private:
typedef std::map<int, SizeData> SizeDataMap;
SizeDataMap m_sizes;
- typedef std::map<int, QString> SystemFontNameMap;
+ typedef std::map<int, TQString> SystemFontNameMap;
SystemFontNameMap m_systemFontNames;
typedef std::map<int, SystemFont::Strategy> SystemFontStrategyMap;
@@ -316,10 +316,10 @@ private:
bool m_expectingCharacters;
std::string *m_characterDestination;
std::string m_hotspotCharName;
- QString m_errorString;
+ TQString m_errorString;
bool checkFile(int size, std::string &src) const;
- QString m_fontDirectory;
+ TQString m_fontDirectory;
bool m_ok;
};