1. 26 Sep, 2014 1 commit
  2. 29 Aug, 2014 1 commit
    • Christian Kandeler's avatar
      Do not use deprecated Qt functionality. · 1d5091e4
      Christian Kandeler authored
      Replace all* remaining deprecated Qt 4 functions with
      their Qt 5 counterparts. This means we no longer need to
      define the QT_DISABLE_DEPRECATED_BEFORE macro.
      This patch is relatively small because most source-compatible
      changes of this kind have been done before.
      
      * The one exception is the QmlDesigner, which uses QWeakPointer
      in a deprecated way all over the place.
      
      Change-Id: Id4b839c6685f3b5bdf2b89137f95231758ec53c7
      Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
      Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
      1d5091e4
  3. 16 Jul, 2014 1 commit
    • Daniel Teske's avatar
      Even more algorithm usage in ProjectExplorer · eccf1dc1
      Daniel Teske authored
      Add Utils::transform and anyOf that take a member function pointer.
      Remove bestElementOr it's unused.
      
      Use declval<T> in transform's return type, because msvc does evaluate
      T() and for types that don't have simple constructor this fails.
      Add std::remove_reference since decltype returns a reference for
      lvalues.
      
      Change-Id: I22248b226748eeb27af0d300182d574438d7f756
      Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
      eccf1dc1
  4. 26 May, 2014 1 commit
    • Tobias Hunger's avatar
      IWizard->IWizardFactory · a8e89101
      Tobias Hunger authored
      Start at splitting up the wizard functionality a bit. Currently
      it is a factory but also contains a lot of logic that is invoked by
      the real wizard dialogs.
      
      This change renames/moves a couple of things only.
      
      Change-Id: I1fa114ee3ee262f7c0690841f361bbf09e674725
      Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
      a8e89101
  5. 08 Jan, 2014 1 commit
  6. 24 Oct, 2013 1 commit
  7. 16 Sep, 2013 1 commit
  8. 05 Sep, 2013 1 commit
  9. 02 Sep, 2013 1 commit
    • Christian Kandeler's avatar
      Remove superfluous include paths from project files. · 72d17382
      Christian Kandeler authored
      A lot of our build system files specify unneeded include
      paths. These roughly fall into the following categories:
          a) Paths that are already set in more general files
             such as qtcreator.pri.
          b) Paths that serve no purpose at all, possibly
             left over from earlier versions of the project.
          c) Paths that act as workarounds for wrong include
             statements of the form '#include "xyz.h"', where
             xyz.h is not in the same directory as the including
            file.
      This patch removes such path specifications and fixes the offending
      include statements from case c).
      Tested on Linux, Windows and OSX with qmake and qbs.
      
      Change-Id: I039a8449f8a65df0d616b4c08081145c18ae4b15
      Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@digia.com>
      Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@digia.com>
      72d17382
  10. 27 May, 2013 1 commit
  11. 26 Mar, 2013 1 commit
  12. 25 Mar, 2013 1 commit
  13. 29 Jan, 2013 1 commit
  14. 08 Jan, 2013 1 commit
    • Orgad Shaneh's avatar
      Remove braces for single lines of conditions · 29a93998
      Orgad Shaneh authored
      #!/usr/bin/env ruby
      
      Dir.glob('**/*.cpp') { |file|
        # skip ast (excluding paste, astpath, and canv'ast'imer)
        next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i
        s = File.read(file)
        next if s.include?('qlalr')
        orig = s.dup
        s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m|
          res = $&
          if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces
            res
          else
            res.gsub!('} else', 'else')
            res.gsub!(/\n +} *\n/m, "\n")
            res.gsub(/ *{$/, '')
          end
        }
        s.gsub!(/ *$/, '')
        File.open(file, 'wb').write(s) if s != orig
      }
      
      Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      29a93998
  15. 29 Nov, 2012 1 commit
  16. 05 Oct, 2012 1 commit
  17. 20 Sep, 2012 1 commit
    • Christian Kandeler's avatar
      Do not use QAbstractItemModel::reset(). · 938612c3
      Christian Kandeler authored
      Change-Id: Ie49bdf576a6d3543aef6df133b27c8827775c935
      Rationale:
          a) It is conceptually cleaner to do the changes to the model
             in between calls to beginResetModel() and endResetModel,
             respectively.
          b) The function is deprecated in Qt 5, for exactly that reason.
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      938612c3
  18. 19 Jul, 2012 1 commit
  19. 06 Mar, 2012 1 commit
  20. 23 Feb, 2012 1 commit
    • Thomas Hartmann's avatar
      WelcomePage: Add tooltip for sessions · 9bc042e0
      Thomas Hartmann authored
      The tooltip allows renaming, cloning and deleting and shows
      included projects.
      
      The following method was added to Session:
      
      QStringList projectsForSessionName(const QString &session) const;
      
      I moved the SessionNameInputDialog into the header to reuse it.
      
      I added new roles to SessionModel (ProjectsPathRole, ProjectsDisplayRole).
      The following slots were added to SessionModel to expose the backend
      functionality:
      
      void cloneSession(const QString &session);
      void deleteSession(const QString &session);
      void renameSession(const QString &session);
      
      Change-Id: I0182a26dc63b4f051ea948756decd5413c832c60
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      9bc042e0
  21. 15 Feb, 2012 1 commit
  22. 13 Feb, 2012 1 commit
  23. 26 Jan, 2012 1 commit
  24. 09 Jan, 2012 1 commit
  25. 03 Nov, 2011 1 commit
  26. 21 Jul, 2011 1 commit
  27. 12 Jul, 2011 1 commit
  28. 01 Jul, 2011 1 commit
  29. 29 Jun, 2011 1 commit
  30. 28 Jun, 2011 1 commit
  31. 06 May, 2011 1 commit
  32. 13 Apr, 2011 1 commit
  33. 12 Jan, 2011 2 commits
  34. 17 Dec, 2010 1 commit
  35. 22 Mar, 2010 1 commit
  36. 05 Mar, 2010 1 commit
  37. 04 Nov, 2009 1 commit
  38. 14 Aug, 2009 1 commit
  39. 28 Jul, 2009 1 commit
    • Daniel Molkentin's avatar
      Make the welcome screen into plugins. · 5633de2a
      Daniel Molkentin authored
      This removes the all hard dependencies to and from welcome screen,
      except the one to the core plugin. More in detail:
      
      - Add IWelcomePage to add a tab to the welcome screen
      - Move tabs in the modules where they belong
      - Enables QHelpManager to open help fullscreen and contextually
      - "Getting Started" moves to Qt4ProjectManager
      - Projects & Sessions (aka "Develop") moves to ProjectExplorer
      - "Community" remains in the welcome plugin for simplicity
      5633de2a