~ubuntu-branches/ubuntu/raring/python-qt4/raring-proposed

« back to all changes in this revision

Viewing changes to sip/QtCore/qstring.sip

  • Committer: Package Import Robot
  • Author(s): Steve Langasek, Scott Kitterman, Steve Langasek
  • Date: 2012-10-24 21:36:24 UTC
  • mfrom: (1.5.12) (4.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20121024213624-zml54snm4iwx1fa2
Tags: 4.9.5-1ubuntu1
[ Scott Kitterman ]
* Add debian/patches/config_extra_headers.diff so additional header
  directories used in python3.3 due to multiarch are found during build
* Update debian/rules to account for different layout of python3.3 due to
  multiarch
* Update python3-all-dev minimum version due to bug fixes in 3.2.3-6 for
  building with multiple python3 versions
* Generate a multi-version pyqtconfig.py for python3 variants to account
  for multiple files installed into the same directory as is done with
  sipconfig in python3-sip

[ Steve Langasek ]
* Fine adjustments to debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// qstring.sip generated by MetaSIP on Sun Jun 24 12:29:12 2012
 
1
// qstring.sip generated by MetaSIP on Sat Sep 29 12:34:56 2012
2
2
//
3
3
// This file is part of the QtCore Python extension module.
4
4
//
425
425
        NormalizationForm_KC,
426
426
    };
427
427
 
 
428
%If (Qt_5_0_0 -)
 
429
    QString normalized(QString::NormalizationForm mode, QChar::UnicodeVersion version = QChar::Unicode_Unassigned) const;
 
430
%End
 
431
%If (- Qt_5_0_0)
428
432
    QString normalized(QString::NormalizationForm mode) const;
 
433
%End
 
434
%If (- Qt_5_0_0)
429
435
    QString normalized(QString::NormalizationForm mode, QChar::UnicodeVersion version) const;
 
436
%End
430
437
    QByteArray toAscii() const;
431
438
    QByteArray toLatin1() const;
432
439
    QByteArray toUtf8() const;
494
501
    static QString number(double n /Constrained/, char format = 'g', int precision = 6);
495
502
    static QString number(qlonglong n, int base = 10);
496
503
    static QString number(qulonglong n, int base = 10);
497
 
%If (- Qt_5_0_0)
498
504
    bool operator==(const QString &s) const;
 
505
%MethodCode
 
506
        // In Qt5 this is a global operator and so SIP appends it to the list of class operators.
 
507
        // However these must appear before the corresponding QByteArray argument operator.
 
508
        #if QT_VERSION >= 0x050000
 
509
            sipRes = operator==(*sipCpp, *a0);
 
510
        #else
 
511
            sipRes = sipCpp->QString::operator==(*a0);
 
512
        #endif
499
513
%End
500
 
%If (- Qt_5_0_0)
 
514
 
501
515
    bool operator<(const QString &s) const;
 
516
%MethodCode
 
517
        // In Qt5 this is a global operator and so SIP appends it to the list of class operators.
 
518
        // However these must appear before the corresponding QByteArray argument operator.
 
519
        #if QT_VERSION >= 0x050000
 
520
            sipRes = operator<(*sipCpp, *a0);
 
521
        #else
 
522
            sipRes = sipCpp->QString::operator<(*a0);
 
523
        #endif
502
524
%End
503
 
%If (- Qt_5_0_0)
 
525
 
504
526
    bool operator>(const QString &s) const;
 
527
%MethodCode
 
528
        // In Qt5 this is a global operator and so SIP appends it to the list of class operators.
 
529
        // However these must appear before the corresponding QByteArray argument operator.
 
530
        #if QT_VERSION >= 0x050000
 
531
            sipRes = operator>(*sipCpp, *a0);
 
532
        #else
 
533
            sipRes = sipCpp->QString::operator<(*a0);
 
534
        #endif
505
535
%End
506
 
%If (- Qt_5_0_0)
 
536
 
507
537
    bool operator!=(const QString &s) const;
 
538
%MethodCode
 
539
        // In Qt5 this is a global operator and so SIP appends it to the list of class operators.
 
540
        // However these must appear before the corresponding QByteArray argument operator.
 
541
        #if QT_VERSION >= 0x050000
 
542
            sipRes = operator!=(*sipCpp, *a0);
 
543
        #else
 
544
            sipRes = sipCpp->QString::operator!=(*a0);
 
545
        #endif
508
546
%End
509
 
%If (- Qt_5_0_0)
 
547
 
510
548
    bool operator<=(const QString &s) const;
 
549
%MethodCode
 
550
        // In Qt5 this is a global operator and so SIP appends it to the list of class operators.
 
551
        // However these must appear before the corresponding QByteArray argument operator.
 
552
        #if QT_VERSION >= 0x050000
 
553
            sipRes = operator<=(*sipCpp, *a0);
 
554
        #else
 
555
            sipRes = sipCpp->QString::operator<=(*a0);
 
556
        #endif
511
557
%End
512
 
%If (- Qt_5_0_0)
 
558
 
513
559
    bool operator>=(const QString &s) const;
 
560
%MethodCode
 
561
        // In Qt5 this is a global operator and so SIP appends it to the list of class operators.
 
562
        // However these must appear before the corresponding QByteArray argument operator.
 
563
        #if QT_VERSION >= 0x050000
 
564
            sipRes = operator>=(*sipCpp, *a0);
 
565
        #else
 
566
            sipRes = sipCpp->QString::operator>=(*a0);
 
567
        #endif
514
568
%End
 
569
 
515
570
    bool operator==(const QLatin1String &s) const;
516
571
    bool operator<(const QLatin1String &s) const;
517
572
    bool operator>(const QLatin1String &s) const;
701
756
QDataStream &operator<<(QDataStream &, const QString & /Constrained/) /API=QString: - 2/;
702
757
QDataStream &operator>>(QDataStream &, QString & /Constrained/) /API=QString: - 2/;
703
758
QFlags<QString::SectionFlag> operator|(QString::SectionFlag f1, QFlags<QString::SectionFlag> f2);
704
 
%If (Qt_4_3_0 -)
 
759
%If (Qt_5_0_0 -)
 
760
bool operator==(QLatin1String s1, QLatin1String s2);
 
761
%End
 
762
%If (Qt_4_3_0 - Qt_5_0_0)
705
763
bool operator==(const QLatin1String &s1, const QLatin1String &s2);
706
764
%End
707
 
%If (Qt_4_3_0 -)
 
765
%If (Qt_5_0_0 -)
 
766
bool operator!=(QLatin1String s1, QLatin1String s2);
 
767
%End
 
768
%If (Qt_4_3_0 - Qt_5_0_0)
708
769
bool operator!=(const QLatin1String &s1, const QLatin1String &s2);
709
770
%End
710
 
%If (Qt_4_3_0 -)
 
771
%If (Qt_5_0_0 -)
 
772
bool operator<(QLatin1String s1, QLatin1String s2);
 
773
%End
 
774
%If (Qt_4_3_0 - Qt_5_0_0)
711
775
bool operator<(const QLatin1String &s1, const QLatin1String &s2);
712
776
%End
713
 
%If (Qt_4_3_0 -)
 
777
%If (Qt_5_0_0 -)
 
778
bool operator<=(QLatin1String s1, QLatin1String s2);
 
779
%End
 
780
%If (Qt_4_3_0 - Qt_5_0_0)
714
781
bool operator<=(const QLatin1String &s1, const QLatin1String &s2);
715
782
%End
716
 
%If (Qt_4_3_0 -)
 
783
%If (Qt_5_0_0 -)
 
784
bool operator>(QLatin1String s1, QLatin1String s2);
 
785
%End
 
786
%If (Qt_4_3_0 - Qt_5_0_0)
717
787
bool operator>(const QLatin1String &s1, const QLatin1String &s2);
718
788
%End
719
 
%If (Qt_4_3_0 -)
 
789
%If (Qt_5_0_0 -)
 
790
bool operator>=(QLatin1String s1, QLatin1String s2);
 
791
%End
 
792
%If (Qt_4_3_0 - Qt_5_0_0)
720
793
bool operator>=(const QLatin1String &s1, const QLatin1String &s2);
721
794
%End
722
795
%If (Qt_4_3_0 -)
906
979
%If (Qt_4_3_0 -)
907
980
bool operator!=(const QStringRef &s1, const QString &s2);
908
981
%End
909
 
%If (Qt_4_3_0 -)
 
982
%If (Qt_5_0_0 -)
 
983
bool operator==(QLatin1String s1, const QStringRef &s2);
 
984
%End
 
985
%If (Qt_4_3_0 - Qt_5_0_0)
910
986
bool operator==(const QLatin1String &s1, const QStringRef &s2);
911
987
%End
912
 
%If (Qt_4_3_0 -)
 
988
%If (Qt_5_0_0 -)
 
989
bool operator!=(QLatin1String s1, const QStringRef &s2);
 
990
%End
 
991
%If (Qt_4_3_0 - Qt_5_0_0)
913
992
bool operator!=(const QLatin1String &s1, const QStringRef &s2);
914
993
%End
915
 
%If (Qt_4_3_0 -)
 
994
%If (Qt_5_0_0 -)
 
995
bool operator==(const QStringRef &s1, QLatin1String s2);
 
996
%End
 
997
%If (Qt_4_3_0 - Qt_5_0_0)
916
998
bool operator==(const QStringRef &s1, const QLatin1String &s2);
917
999
%End
918
 
%If (Qt_4_3_0 -)
 
1000
%If (Qt_5_0_0 -)
 
1001
bool operator!=(const QStringRef &s1, QLatin1String s2);
 
1002
%End
 
1003
%If (Qt_4_3_0 - Qt_5_0_0)
919
1004
bool operator!=(const QStringRef &s1, const QLatin1String &s2);
920
1005
%End
921
1006
%If (Qt_4_3_0 -)
930
1015
%If (Qt_4_3_0 -)
931
1016
bool operator>=(const QStringRef &s1, const QStringRef &s2);
932
1017
%End
933
 
%If (Qt_5_0_0 -)
934
 
bool operator==(const QString &s1, const QString &s2);
935
 
%End
936
 
%If (Qt_5_0_0 -)
937
 
bool operator<(const QString &s1, const QString &s2);
938
 
%End
939
 
%If (Qt_5_0_0 -)
940
 
bool operator>(const QString &s1, const QString &s2);
941
 
%End
942
 
%If (Qt_5_0_0 -)
943
 
bool operator!=(const QString &s1, const QString &s2);
944
 
%End
945
 
%If (Qt_5_0_0 -)
946
 
bool operator<=(const QString &s1, const QString &s2);
947
 
%End
948
 
%If (Qt_5_0_0 -)
949
 
bool operator>=(const QString &s1, const QString &s2);
950
 
%End