Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1549

Mark mobility bearer classes as deprecated in the header file

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • Bearer Management
    • None

    Description

      Since developers don't read release notes, but hopefully do pay attention to compiler warnings

      Add the QT_DEPRECATED and QT_DEPRECATED_CONSTRUCTOR macros to all functions in the mobility headers for the bearer classes which have been moved into QtNetwork.
      On seeing the warning, hopefully developer will read the documentation and see that they need to update their code.
      When Qt 4.8 comes along, applications that rely on the Qt Mobility implementations may break because Open C sockets are not used anymore in QtNetwork.

      RVCT and GCC both emit warnings when a deprecated function is used

      Attachments

        Activity

          People

            cristiano cristiano di flora
            shkearns Shane Kearns
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: