1. 10 May, 2018 1 commit
  2. 21 Nov, 2017 2 commits
  3. 11 Jan, 2016 1 commit
  4. 05 Jan, 2016 1 commit
  5. 15 Sep, 2015 3 commits
    • Boudewijn Rempt's avatar
      Add skeleton class for porting from KStandardDirs · c3b208c2
      Boudewijn Rempt authored
      KoResourcePaths has the relevant bits of API from KStandardDirs
      but will use QStandardPaths internally. Only the API we actually
      use in Calligra is copied.
      
      The class is easy to use: it's a singleton and you use the static
      methods.
      
      For now, KoResourcePaths uses KStandardDirs internally, that's
      on my todo for tomorrow...
      c3b208c2
    • Boudewijn Rempt's avatar
      Make kowidgets kdelibs4support-free · 6483ec80
      Boudewijn Rempt authored
      This breaks komain, which is now unported again...
      
      CCMAIL:calligra-devel@kde.org
      
      There is also a big todo left for the resourceserverprovider.
      QStandardPaths and KStandardDirs have one really big difference:
      KStandardDirs allows you to define a resource type and add different
      locations to look for those resources, QStandardPaths doesn't.
      
      The porting guide says to simply look in all those places when
      using QStandardPaths::locate, but that doesn't work, of course, for
      us, because our resource loading code is all generic.
      
      So this needs thought...
      6483ec80
    • Boudewijn Rempt's avatar
      Port KoGlobal away from kdelibs4support · 4d5981a6
      Boudewijn Rempt authored
      Note that I commented out void KoGlobal::createListOfLanguages().
      This method is such a hodge-podge of ancient todo's while it's not
      clear what it is being used for -- and the places where it's called
      are just as confused.
      
      Like, what is 'fl' in LanguageTab::LanguageTab???
      
          //TODO use fl
          const QStringList langNames = KoGlobal::listOfLanguages();
          const QStringList langTags = KoGlobal::listOfLanguageTags();
      4d5981a6
  6. 11 Sep, 2015 1 commit
    • Boudewijn Rempt's avatar
      Port libs away from kglobalsettings · 41f4109a
      Boudewijn Rempt authored
      This means we no longer can check for the animation settings
      (as far as I can tell) and we don't react to desktop palette
      changes in KoDetailsPane (why we did that is unclear to me).
      41f4109a
  7. 10 Sep, 2015 2 commits
  8. 30 Aug, 2015 1 commit
    • Friedrich W. H. Kossebau's avatar
      Port to KF5 KI18n translation system · 1776abc3
      Friedrich W. H. Kossebau authored
      Summary:
      To understand these changes best read the section "Connecting Calls to Catalogs" at
      http://api.kde.org/frameworks-api/frameworks5-apidocs/ki18n/html/prg_guide.html#link_cat
      
      Instead of adding
          #define TRANSLATION_DOMAIN "foolib"
      to lots of files, many projects simply use -DTRANSLATION_DOMAIN="foolib" with all sources,
      this seems most simple here as well at the respective places in the hierarchy, usually at
      the same place as the respective Message.sh script.
      
      While for the actual app it is recommended to call
          KLocalizedString::setApplicationDomain("fooapp");
      instead of using the TRANSLATION_DOMAIN var, Calligra code has source files for plugins/parts
      and apps not cleanly separated. So using TRANSLATION_DOMAIN for all code, including app code,
      again seems most simple. Exceptions from this rule done for the few simple util apps though.
      
      Projects: #calligra:_3.0
      
      Maniphest Tasks: T449
      
      Differential Revision: https://phabricator.kde.org/D131
      1776abc3
  9. 10 Jun, 2015 1 commit
  10. 23 Apr, 2015 1 commit
  11. 07 Apr, 2015 1 commit
  12. 06 Apr, 2015 1 commit
    • Boudewijn Rempt's avatar
      Check the 'right' way whether we're building for X11 · feb9b64e
      Boudewijn Rempt authored
      I know, I know. Qt on Linux can now abstract over Wayland and X11. That's
      why we don't have Q_WS_X11 anymore. Replacing it by Q_OS_LINUX is worse,
      thgough.
      
      Besides, real- world applications still need to know about the windowsystem
      because Qt doesn't cover everything. This replaces Q_WS_X11 with HAVE_X11
      (cribbed from Digikam).
      
      Unfortunately, Krita is now even more broken than it was, but it's still a
      step forward, hard as that might be to believe.
      feb9b64e
  13. 20 Mar, 2015 1 commit
    • Boudewijn Rempt's avatar
      Make kowidgets build · 7b58d2fb
      Boudewijn Rempt authored
      Note: KoDocumentInfoDlg is pretty broken because KPageDialog is now a
      broken QDialog instead of KDialog.
      7b58d2fb
  14. 05 Dec, 2014 1 commit
    • Boudewijn Rempt's avatar
      Merge krita-mvc-rempt into master · 1cb2d177
      Boudewijn Rempt authored
      This refactors Krita to allow the user to have more than one
      image open in a window. Krita no longer uses or depends on the
      komain library.
      
      For now, Sketch and Gemini are disabled.
      
      review:119612
      
      Conflicts:
      	krita/ui/kis_view2.cpp
      	krita/ui/tool/kis_delegated_tool.h
      1cb2d177
  15. 04 Oct, 2014 1 commit
  16. 07 Feb, 2012 1 commit
    • Boudewijn Rempt's avatar
      Change <QtGui/QDialog> style includes to <QDialog> · 02025cd8
      Boudewijn Rempt authored
      This is already a tiny part of preparation for Qt5, where QtGui is split
      into QtGui and QtWidgets. If we use explicit module names in our includes,
      we are liable to churn like this.
      
      Since KDE applications always have all Qt modules in the include path
      anyway, direct includes always work (both in Qt4 and Qt5), and since we
      already used direct includes in thousands of places, this change makes
      our code more consistent, too.
      02025cd8
  17. 01 Dec, 2011 1 commit
    • Thorsten Zachmann's avatar
      Add support for markers. · 446f0c7e
      Thorsten Zachmann authored
      This adds support for markers to calligra. Marker can be used in
      all applications. Loading, saving and manipulation works.
      
      REVIEW: 103152
      446f0c7e
  18. 02 Aug, 2011 1 commit
  19. 22 Jul, 2011 1 commit
  20. 18 Jun, 2011 1 commit
  21. 13 Dec, 2010 1 commit
  22. 15 Jun, 2010 1 commit
    • Boudewijn Rempt's avatar
      Replace several config files with a KoConfig.h file · 36038c79
      Boudewijn Rempt authored
      Someone from cygwin pointed out that we install config files
      to /usr/include that have insufficiently differentiated names.
      Pinotree suggested we use a KoConfig.h instead, which is much
      more sane. This patch replaces all toplevel config files with
      KoConfig.h and uses that throughout our code.
      
      svn path=/trunk/koffice/; revision=1138092
      36038c79
  23. 28 Sep, 2009 1 commit
  24. 07 Aug, 2009 1 commit
    • Thomas Zander's avatar
      Remove all usage of '0L'. · 447f3cbd
      Thomas Zander authored
      Its useless to say '0L' as zero is zero.
      Technically speaking its also wrong as 0L is a long, which has a specific
      number of bits and when used in an assignment to a pointer that may or
      may not actually have the same amount of bits. Anyway, its just useless ;)
      
      svn path=/trunk/koffice/; revision=1008550
      447f3cbd
  25. 05 Sep, 2008 1 commit
  26. 28 Aug, 2008 1 commit
  27. 30 Jun, 2008 1 commit
  28. 23 Dec, 2007 1 commit
  29. 24 Oct, 2007 1 commit
  30. 06 Oct, 2007 1 commit
  31. 27 Aug, 2007 1 commit
  32. 20 Aug, 2007 1 commit
  33. 31 Jul, 2007 1 commit
    • Thomas Zander's avatar
      Thanks to the new kDebug stuff, which is based on qDebug, we no longer · cf7bde75
      Thomas Zander authored
      need to pass an endline and there will be a space placed between
      arguments automatically.
      This means that everywhere we added those manually we get duplicates, so
      lets get rid of those.
      
      oh; here is the perl script I used; (regexps rock!)
      
      #!/usr/bin/perl -ni
      
      s/(kDebug\s*\(.*?)(\s*<<\s*endl\s*;)/$1;/;
      while(s/(kDebug\s*\(.*)((\\n|\s+)\")/$1"/s) {}
      print $_;
      
      svn path=/trunk/koffice/; revision=694641
      cf7bde75
  34. 20 May, 2007 1 commit
    • Thomas Zander's avatar
      Fixes in header includes · f0c7b014
      Thomas Zander authored
      * local includes go first (already showed some miscompiling headers ;)
      * local includes use double quotes
      * remove some unneeded includes.
      
      Rename .cc to .cpp for consistency
      
      svn path=/trunk/koffice/; revision=666587
      f0c7b014
  35. 07 May, 2007 1 commit
  36. 19 Mar, 2007 1 commit