summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qt_mac.cpp
diff options
context:
space:
mode:
authorRitt Konstantin <ritt.ks@gmail.com>2011-06-09 15:34:17 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2011-06-09 15:34:17 (GMT)
commit2cb398e1d901e62384bb2b388761cfd18fc8804a (patch)
tree0d69fcc6994a797766dff23227cc79dfc80cf8ce /src/gui/kernel/qt_mac.cpp
parent292a953258cac0107b820490b09231c0f700bdbe (diff)
downloadQt-2cb398e1d901e62384bb2b388761cfd18fc8804a.zip
Qt-2cb398e1d901e62384bb2b388761cfd18fc8804a.tar.gz
Qt-2cb398e1d901e62384bb2b388761cfd18fc8804a.tar.bz2
move some internal helper functions from qglobal.cpp to qcore_mac*
namely: void qt_mac_to_pascal_string(const QString &s, Str255 str, TextEncoding encoding = 0, int len = -1); QString qt_mac_from_pascal_string(const Str255 pstr); OSErr qt_mac_create_fsref(const QString &file, FSRef *fsref); OSErr qt_mac_create_fsspec(const QString &file, FSSpec *spec); remove relevant "extern" declarations all over the Qt sources Merge-request: 2615 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
Diffstat (limited to 'src/gui/kernel/qt_mac.cpp')
-rw-r--r--src/gui/kernel/qt_mac.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/kernel/qt_mac.cpp b/src/gui/kernel/qt_mac.cpp
index 339bc82..69f0034 100644
--- a/src/gui/kernel/qt_mac.cpp
+++ b/src/gui/kernel/qt_mac.cpp
@@ -61,7 +61,6 @@ QFont qfontForThemeFont(ThemeFontID themeID)
SInt16 f_size;
Style f_style;
GetThemeFont(themeID, Script, f_name, &f_size, &f_style);
- extern QString qt_mac_from_pascal_string(const Str255); //qglobal.cpp
return QFont(qt_mac_from_pascal_string(f_name), f_size,
(f_style & ::bold) ? QFont::Bold : QFont::Normal,
(bool)(f_style & ::italic));