Merged revisions 1023691-1023693,1023697,1023760,1023823,1023829,1023842,1023844,1023859,1023863,1023873,1023887-1023888,1023890-1023891,1023893,1023899-1023900,1023902,1023906,1023917-1023919,1023936,1023942,1023951,1024120 via svnmerge from
https://vkrause@svn.kde.org/home/kde/trunk/KDE/kdepim
........
r1023691 | dfaure | 2009-09-15 11:10:35 +0200 (Tue, 15 Sep 2009) | 2 lines
Forwardport: You must call plugActionList again in slotNewToolbarConfig, otherwise the action lists disappear. Fixes bug 207299.
........
r1023692 | tmcguire | 2009-09-15 11:13:16 +0200 (Tue, 15 Sep 2009) | 1 line
Remove unneeded code, this is done in setTimeEditorsEnabled() already, and even correctly (obeying allday setting)
........
r1023693 | tmcguire | 2009-09-15 11:14:13 +0200 (Tue, 15 Sep 2009) | 1 line
Didn't want to remove this in r1023692.
........
r1023697 | tmcguire | 2009-09-15 11:21:26 +0200 (Tue, 15 Sep 2009) | 4 lines
Set the correct time zone when setting the defaults.
This and my previous commits have the effect that when creating all day events, the time
zone is correctly shown as "Floating".
........
r1023760 | tokoe | 2009-09-15 12:27:13 +0200 (Tue, 15 Sep 2009) | 2 lines
Make the 'contacts' resource the default address book
........
r1023823 | cgiboudeaux | 2009-09-15 13:21:26 +0200 (Tue, 15 Sep 2009) | 1 line
Disable nie. Nothing uses it.
........
r1023829 | vkrause | 2009-09-15 13:27:57 +0200 (Tue, 15 Sep 2009) | 2 lines
Extract messages and use them in KMail.
........
r1023842 | cgiboudeaux | 2009-09-15 13:42:52 +0200 (Tue, 15 Sep 2009) | 1 line
Remove an obsolete check.
........
r1023844 | tokoe | 2009-09-15 13:43:39 +0200 (Tue, 15 Sep 2009) | 4 lines
Don't mix async and sync API...
BUG: 206299
........
r1023859 | tokoe | 2009-09-15 14:17:42 +0200 (Tue, 15 Sep 2009) | 5 lines
Parse a complete QDateTime object as we export time
information as well.
BUG: 207078
........
r1023863 | tokoe | 2009-09-15 14:25:28 +0200 (Tue, 15 Sep 2009) | 2 lines
Set the default address book when importing contacts
........
r1023873 | vkrause | 2009-09-15 14:46:50 +0200 (Tue, 15 Sep 2009) | 3 lines
Add a common base class for all Nepomuk feeder agents. Still more stuff
to factor out though, most prominently the initial fetching.
........
r1023887 | vkrause | 2009-09-15 15:20:05 +0200 (Tue, 15 Sep 2009) | 2 lines
Move the resource tester here, from playground/pim.
........
r1023888 | vkrause | 2009-09-15 15:26:07 +0200 (Tue, 15 Sep 2009) | 2 lines
Disable autostart agents.
........
r1023890 | vkrause | 2009-09-15 15:34:05 +0200 (Tue, 15 Sep 2009) | 2 lines
fix path
........
r1023891 | vkrause | 2009-09-15 15:38:48 +0200 (Tue, 15 Sep 2009) | 2 lines
fix yet another path
........
r1023893 | vkrause | 2009-09-15 15:47:43 +0200 (Tue, 15 Sep 2009) | 2 lines
Move iCal resource tests from playground/pim.
........
r1023899 | tokoe | 2009-09-15 16:18:33 +0200 (Tue, 15 Sep 2009) | 2 lines
link with gold
........
r1023900 | vkrause | 2009-09-15 16:19:43 +0200 (Tue, 15 Sep 2009) | 2 lines
Move Knut tests from playground/pim and make them pass again.
........
r1023902 | cgiboudeaux | 2009-09-15 16:25:34 +0200 (Tue, 15 Sep 2009) | 1 line
Goodbye nie.
........
r1023906 | vkrause | 2009-09-15 16:30:48 +0200 (Tue, 15 Sep 2009) | 5 lines
Move the IMAP and Kolab tests from playground/pim. They share quite some
stuff, therefore the IMAP one ends up here as well for now, until we
figured out how to deal with their dependencies. Also, both are disabled
by default, as they download huge QEmu images.
........
r1023917 | vkrause | 2009-09-15 17:03:31 +0200 (Tue, 15 Sep 2009) | 2 lines
New mails are no longer reported as seen.
........
r1023918 | tokoe | 2009-09-15 17:04:11 +0200 (Tue, 15 Sep 2009) | 2 lines
Add migration tool for the standard address book
........
r1023919 | vkrause | 2009-09-15 17:07:40 +0200 (Tue, 15 Sep 2009) | 2 lines
same here
........
r1023936 | cgiboudeaux | 2009-09-15 18:23:18 +0200 (Tue, 15 Sep 2009) | 1 line
We don't have to install these headers anymore.
........
r1023942 | cgiboudeaux | 2009-09-15 18:36:53 +0200 (Tue, 15 Sep 2009) | 1 line
Fix include.
........
r1023951 | cgiboudeaux | 2009-09-15 19:13:07 +0200 (Tue, 15 Sep 2009) | 1 line
KDE4_ -> KDEPIMLIBS_
........
r1024120 | robertm | 2009-09-16 05:52:18 +0200 (Wed, 16 Sep 2009) | 10 lines
Automatically start Akonadi when necessary
This adds some calls to the akonadisetupwidget that attempts to ensure that
Akonadi is available before any access to the Akonadi server. Unfortunately,
it is not a complete solution in that there is a slight possibility that
someone could deactivate the Akonadi server precisely between the check and the
access to the server. Lacking a better solution, however, this should suffice
for now.
........
svn path=/branches/work/akonadi-ports/kdepim/; revision=1024150
Merged revisions 1006327,1009651-1009655,1009718,1009900,1009912,1010797-1010800,1011669,1012389-1012391,1012860-1012861,1012896-1012897,1012899,1012986,1012993,1013179,1013202,1013217-1013218,1013222,1013227,1013306-1013307,1013321,1013634,1013642,1013660-1013661,1015357,1015455,1015826,1016388,1017775-1017776,1017789,1018128,1018244,1018261,1018764,1018768-1018769,1018898,1018907,1018922,1018924,1018950,1018958-1018959,1018965-1018966 via svnmerge from
https://vkrause@svn.kde.org/home/kde/branches/work/akonadi-ports/kdepim
........
r1006327 | ervin | 2009-08-03 15:29:39 +0200 (Mon, 03 Aug 2009) | 3 lines
Make the code a bit more independent from KMail. Don't depend on a
running KMKernel instance, or on KMail's GlobalSettings class.
........
r1009651 | ervin | 2009-08-10 17:10:13 +0200 (Mon, 10 Aug 2009) | 6 lines
* setMessageItemStatus() now also gets the item row in its parameters
* the model displayed in the view now reacts to headerDataChanged()
signals coming from the storage model (effectively allowing to change
that on demand, eg. when switching a folder for outbound/inbound
messages display)
........
r1009652 | ervin | 2009-08-10 17:11:56 +0200 (Mon, 10 Aug 2009) | 2 lines
Mark it (temporarily) as exported for use in a test app.
........
r1009653 | ervin | 2009-08-10 17:12:20 +0200 (Mon, 10 Aug 2009) | 2 lines
Add an akonadi based storage model.
........
r1009654 | ervin | 2009-08-10 17:13:07 +0200 (Mon, 10 Aug 2009) | 2 lines
Add the akonadi based storage model also to the build system.
........
r1009655 | ervin | 2009-08-10 17:13:43 +0200 (Mon, 10 Aug 2009) | 3 lines
Add a small test app to play with the message list on an akonadi based
storage model.
........
r1009718 | tilladam | 2009-08-10 20:10:52 +0200 (Mon, 10 Aug 2009) | 1 line
Find the boost includes.
........
r1009900 | tilladam | 2009-08-11 09:23:36 +0200 (Tue, 11 Aug 2009) | 1 line
Find the boost includes.
........
r1009912 | ervin | 2009-08-11 10:18:15 +0200 (Tue, 11 Aug 2009) | 2 lines
As advised by Thomas change the id depending on the selection.
........
r1010797 | ervin | 2009-08-13 15:23:30 +0200 (Thu, 13 Aug 2009) | 2 lines
Factor out currentMessageItem() in the base class.
........
r1010798 | ervin | 2009-08-13 15:24:35 +0200 (Thu, 13 Aug 2009) | 3 lines
Provide more information on our current state to the outside. In
particular the list of collections currently displayed by this model.
........
r1010799 | ervin | 2009-08-13 15:25:57 +0200 (Thu, 13 Aug 2009) | 5 lines
Add an implementation of Core::Widget for the Akonadi based
implementation. Context menu on items still missing, on hold until it
can be written in a KMail-independent fashion (requires finishing some
other frameworks).
........
r1010800 | ervin | 2009-08-13 15:26:39 +0200 (Thu, 13 Aug 2009) | 2 lines
Make the test app use our new widget.
........
r1012389 | ervin | 2009-08-17 17:38:09 +0200 (Mon, 17 Aug 2009) | 2 lines
Make sure we register the attribute only once.
........
r1012390 | ervin | 2009-08-17 17:39:33 +0200 (Mon, 17 Aug 2009) | 3 lines
Add a new tab widget pane to be used with the new message list views.
Should be on par feature wise with the old facilities.
........
r1012391 | ervin | 2009-08-17 17:39:55 +0200 (Mon, 17 Aug 2009) | 2 lines
Modify the test to only use the new Pane class now.
........
r1012860 | ervin | 2009-08-18 11:27:25 +0200 (Tue, 18 Aug 2009) | 2 lines
Relay the signals from Widget.
........
r1012861 | ervin | 2009-08-18 11:28:13 +0200 (Tue, 18 Aug 2009) | 2 lines
Use libmailreader in the test app, and plug it with the message list.
........
r1012896 | ervin | 2009-08-18 12:35:28 +0200 (Tue, 18 Aug 2009) | 2 lines
We'd better carry Akonadi::Items in the signals rather than MessagePtrs.
........
r1012897 | ervin | 2009-08-18 12:35:47 +0200 (Tue, 18 Aug 2009) | 2 lines
Port the test app to the interface change in signals.
........
r1012899 | ervin | 2009-08-18 12:37:32 +0200 (Tue, 18 Aug 2009) | 2 lines
messageForRow() is now useless in Widget.
........
r1012986 | ervin | 2009-08-18 16:01:54 +0200 (Tue, 18 Aug 2009) | 3 lines
Move the message list view framework and its akonadi implementation in a
separate library. The kmail implementation stays behind.
........
r1012993 | ervin | 2009-08-18 16:19:24 +0200 (Tue, 18 Aug 2009) | 2 lines
Header got moved and renamed.
........
r1013179 | ervin | 2009-08-19 09:19:27 +0200 (Wed, 19 Aug 2009) | 2 lines
Use the monitor to get only mails.
........
r1013202 | ervin | 2009-08-19 11:44:23 +0200 (Wed, 19 Aug 2009) | 2 lines
Remove empty directory.
........
r1013217 | ervin | 2009-08-19 12:28:12 +0200 (Wed, 19 Aug 2009) | 4 lines
Rename the namespaces so that we only have MessageList and
MessageList::Core namespaces. No reference to the KMail namespace
anymore.
........
r1013218 | ervin | 2009-08-19 12:30:45 +0200 (Wed, 19 Aug 2009) | 2 lines
Port to the namespaces changes in libmessagelist.
........
r1013222 | ervin | 2009-08-19 12:41:18 +0200 (Wed, 19 Aug 2009) | 2 lines
Make them build with the new namespace name.
........
r1013227 | ervin | 2009-08-19 12:46:23 +0200 (Wed, 19 Aug 2009) | 2 lines
Make it build with the new MessageList namespace.
........
r1013306 | ervin | 2009-08-19 15:56:19 +0200 (Wed, 19 Aug 2009) | 3 lines
Always keep the header view shown if we want to be able to switch
themes.
........
r1013307 | ervin | 2009-08-19 15:57:50 +0200 (Wed, 19 Aug 2009) | 3 lines
Handle properly the message list framework settings. It's now completely
decoupled from kmailrc and different apps can have different settings.
........
r1013321 | ervin | 2009-08-19 17:04:15 +0200 (Wed, 19 Aug 2009) | 3 lines
Get rid of this test app as its features got merged in
akonadimailreader.
........
r1013634 | ervin | 2009-08-20 12:38:37 +0200 (Thu, 20 Aug 2009) | 2 lines
Provide some more selection convenience in the Pane and Widget APIs.
........
r1013642 | ervin | 2009-08-20 13:01:35 +0200 (Thu, 20 Aug 2009) | 2 lines
Some public slots convenience.
........
r1013660 | ervin | 2009-08-20 13:52:23 +0200 (Thu, 20 Aug 2009) | 2 lines
Honor the "autohide tab bar" setting.
........
r1013661 | ervin | 2009-08-20 13:53:28 +0200 (Thu, 20 Aug 2009) | 3 lines
The settings.* files become messagelist_settings.* files to make them
easier to reuse as is in other projects.
........
r1015357 | ervin | 2009-08-25 13:02:22 +0200 (Tue, 25 Aug 2009) | 4 lines
Ooooh, we can in fact control both the visibility and the use of
d-pointer with KConfigXT. Really cool! I can make the settings sharing
more convenient now I think.
........
r1015455 | ervin | 2009-08-25 16:44:06 +0200 (Tue, 25 Aug 2009) | 4 lines
Put the Settings class back in the Core namespace.
(Requires the KDE4Macros.cmake change from r1015454 in trunk)
........
r1015826 | ervin | 2009-08-26 14:15:36 +0200 (Wed, 26 Aug 2009) | 2 lines
Use the new USE_RELATIVE_PATH option.
........
r1016388 | ervin | 2009-08-27 19:58:32 +0200 (Thu, 27 Aug 2009) | 4 lines
First round of cleanups to provide a nicer API and be ready for BC
constraints. This one is mainly about using d-pointers in the relevant
classes.
........
r1017775 | ervin | 2009-08-31 14:40:51 +0200 (Mon, 31 Aug 2009) | 4 lines
Don't export Core::Manager anymore, make the exported API smaller.
Provide some more API on ThemeComboBox and AggregationComboBox to
tackle the config tasks some of KMail code was routing through Manager.
........
r1017776 | ervin | 2009-08-31 14:42:38 +0200 (Mon, 31 Aug 2009) | 6 lines
Don't depend on MessageList::Core::Manager anymore.
This commit might break the "react to configure changes" behavior in the
message list view though. It's going to be fixed later on (as the topic
need investigation for akonadimailreader as well).
........
r1017789 | ervin | 2009-08-31 16:17:09 +0200 (Mon, 31 Aug 2009) | 2 lines
React properly to setting changes.
........
r1018128 | ervin | 2009-09-01 12:32:05 +0200 (Tue, 01 Sep 2009) | 2 lines
React to setting changes about the message list view.
........
r1018244 | ervin | 2009-09-01 16:04:48 +0200 (Tue, 01 Sep 2009) | 9 lines
Moving some classes out of Core. The idea being to have the following
situation:
- Core => Everything you need to implement your own model and views
(like the Akonadi implementation, the KMail one, etc.);
- Utils => The smaller utilities to integrate a messagelist into your
applications, mainly widgets and dialogs to edit the settings, themes
and aggregations.
........
r1018261 | ervin | 2009-09-01 16:18:51 +0200 (Tue, 01 Sep 2009) | 2 lines
Install all the headers needed from the outside.
........
r1018764 | tilladam | 2009-09-02 08:52:09 +0200 (Wed, 02 Sep 2009) | 3 lines
Move various private classes to toplevel (or namespace) scope.
This is necessary in order to avoid problems with not inherited
friendship by inner classes. This thing is a mighty mess of friendship.
........
r1018768 | ervin | 2009-09-02 09:00:10 +0200 (Wed, 02 Sep 2009) | 2 lines
Port KMail to the new Core/Utils split.
........
r1018769 | tilladam | 2009-09-02 09:00:12 +0200 (Wed, 02 Sep 2009) | 1 line
Make sure to include the messagelist library.
........
r1018898 | ervin | 2009-09-02 12:05:24 +0200 (Wed, 02 Sep 2009) | 2 lines
Don't forget to attach the config button to the combo box.
........
r1018907 | ervin | 2009-09-02 12:10:56 +0200 (Wed, 02 Sep 2009) | 14 lines
Kill all the friendship out of classes from utils.
Also the configure dialogs are not singleton anymore as:
1) it was a broken feature anyway (they're DeleteOnClose and the singleton
pointer wasn't reset, you were gambling with the application's life
everytime you called instance()... ahem);
2) really there's nothing magical about them, so no good reason to make
them singletons.
The accompanying convenience methods to trigger the configure dialogs got removed
from Manager. Again that was just trying to save a couple of
straightforward lines (create the dialog, set its state, call show() on
it, done).
........
r1018922 | ervin | 2009-09-02 12:27:45 +0200 (Wed, 02 Sep 2009) | 3 lines
Kill some more friendship. There's no reason to make those ctors private
anyway...
........
r1018924 | ervin | 2009-09-02 12:28:44 +0200 (Wed, 02 Sep 2009) | 2 lines
Damn, why did I use friend here??
........
r1018950 | ervin | 2009-09-02 13:21:27 +0200 (Wed, 02 Sep 2009) | 2 lines
Some more friendship we can avoid.
........
r1018958 | ervin | 2009-09-02 13:47:53 +0200 (Wed, 02 Sep 2009) | 4 lines
Move the "heart beat" timer out of the Manager. And make it shared only
between the Model instances. One less reason for Manager to fiddle in
other people business. ;-)
........
r1018959 | ervin | 2009-09-02 13:50:13 +0200 (Wed, 02 Sep 2009) | 2 lines
Some more heart beat timer cleanup.
........
r1018965 | ervin | 2009-09-02 13:55:21 +0200 (Wed, 02 Sep 2009) | 3 lines
Notify of theme and aggregation related changes using signal/slot
mechanism.
........
r1018966 | ervin | 2009-09-02 14:05:13 +0200 (Wed, 02 Sep 2009) | 2 lines
Unneeded.
........
svn path=/trunk/KDE/kdepim/; revision=1023738
* Honor "show msg part dialog on attach" config option.
* Remove some dead code that was ported already.
svn path=/branches/work/akonadi-ports/kdepim/; revision=1012811
Also, move some things from the composer class the attachmentlistview.
Additionally port one case of QMimeData in kmcomposer.
svn path=/trunk/KDE/kdepim/; revision=682473
Fixes drag and drop of messages from message tree to composer for creating attachments failing on 64-bit systems.
Thanks to Andreas <apfaller@yahoo.com.au> for identifying the problem and providing the patch.
CCBUG: 125447
svn path=/trunk/KDE/kdepim/; revision=530041
Thanks to Andreas <apfaller@yahoo.com.au> for identifying the problem and providing the patch.
BUG: 125447
svn path=/branches/KDE/3.5/kdepim/; revision=530022
here: http://lists.kde.org/?l=kmail-devel&m=111945756024656&w=2
I've changed the KMMsgDict::instance() to return a pointer instead of a
reference, compared to the patch I posted, after valid criticism from
Marc that the pattern is generally used with a pointer, in KDE, so it's
better not to surprise people here.
svn path=/trunk/KDE/kdepim/; revision=428560
- it's now possible to enlarge the attachment section (#86330)
- when pressing bold/italic, the buttons react (#89410)
svn path=/trunk/kdepim/; revision=347346
#define kernel KMKernel::self()
to
#define kmkernel KMKernel::self()
because 'kernel' was a much to general term. We really shouldn't repeat the mistakes of the X developers.
I noticed this problem when I played around with KImageEffects. kimageeffects.h contains 'kernel' as parameter of some methods and so the compilation had to fail. We won't need KImageEffects in the near future, but at least we are now prepared and a clash with another 'kernel' can't happen anymore.
svn path=/trunk/kdepim/; revision=252621
The only real changes in kmcomposewin.* are
- QListView *mAtmListBox;
+ KMail::AttachmentListView* mAtmListView;
in kmcomposewin.h and
- mAtmListBox = new QListView(mMainWidget, "mAtmListBox");
+ mAtmListView = new AttachmentListView( this, mMainWidget,
+ "attachment list view" );
in kmcomposewin.cpp. All other changes in kmcomposewin.cpp are just mAtmListBox -> mAtmListView
svn path=/trunk/kdepim/; revision=223858