diff options
author | Ritt Konstantin <ritt.ks@gmail.com> | 2011-06-09 15:34:17 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-06-09 15:34:17 (GMT) |
commit | 2cb398e1d901e62384bb2b388761cfd18fc8804a (patch) | |
tree | 0d69fcc6994a797766dff23227cc79dfc80cf8ce /src/gui/kernel/qmime_mac.cpp | |
parent | 292a953258cac0107b820490b09231c0f700bdbe (diff) | |
download | Qt-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/qmime_mac.cpp')
-rw-r--r-- | src/gui/kernel/qmime_mac.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/kernel/qmime_mac.cpp b/src/gui/kernel/qmime_mac.cpp index a1df34e..8b47d8e 100644 --- a/src/gui/kernel/qmime_mac.cpp +++ b/src/gui/kernel/qmime_mac.cpp @@ -119,10 +119,6 @@ const QStringList& qEnabledDraggedTypes() *****************************************************************************/ //#define DEBUG_MIME_MAPS -//functions -extern QString qt_mac_from_pascal_string(const Str255); //qglobal.cpp -extern void qt_mac_from_pascal_string(QString, Str255, TextEncoding encoding=0, int len=-1); //qglobal.cpp - ScrapFlavorType qt_mac_mime_type = 'CUTE'; CFStringRef qt_mac_mime_typeUTI = CFSTR("com.pasteboard.trolltech.marker"); |