is a KMMainWindow or kapp->config() otherwise. Will help fixing layout
and possibly other config related problems with the KMail part in Kontact.
While I was at it and complaining about the API, till jumped in saying:
<till> there are lots of public KActions and friend in kmmainwidget's
public api apparently for no good reason either
Your wish is my command, so this commit is also (and mostly) about API cleanup.
Okay'ed by Ingo.
svn path=/trunk/kdepim/; revision=256339
#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
Save window settings as in konq_main but factor MainWin closing into kernel.
Modify KmComposeWin::setMsg to add an argument to specified that mails are modif
ied, this is to prevent losing mail when deadletter composer mails are restored.
Add a kernel method to signify when KMail is in a shutting down state as in the
case of session management.
Modify the queryclose methods so that they don't query when session management i
s being used or when Kontact is being used.
Move the queryClose warn-on-expiry logic from KMMainWidget to KMMainWIn so that
it actually gets called.
svn path=/trunk/kdepim/; revision=245342
the first propagating to the latter, and connect the part to it, so kontact
updates the folder name and icon when they are changed.
Kontact folks, feel free to revert if this is not the way you want to do
this. Sorry for touching this without asking for permission. :)
svn path=/trunk/kdepim/; revision=229185
To Sven: follow the style of the file to which you are committing.
To all others: removing printf's and switching some asserts.
To myself: you got a nice butt.
svn path=/trunk/kdepim/; revision=223697
- Added new InfoExtension as an interface for basic interaction between part
and framework
- Changed the layout of the sidebar and added a new header widget to the
mainwindow which makes use of the new extension. Currently it shows in which
folder you are in KMail.
A few things still need some polishing, I'll do that as soon as possible.
Thanks danimo for the help with signals/slots :)
svn path=/trunk/kdepim/; revision=223376
the clicks to kmail, beats me why right now.
Danimo : we need to figure out when to hide the folder tree in KMail KMMainWidget.
Should it be hidden _always_ when the part is used or only when SidebarExtension
is supported by part (how do we know when it is?).
CCMAIL: Daniel Molkentin <molkentin@kde.org>
svn path=/trunk/kdepim/; revision=215375
This is a set of changes that is well test by myself and others.
The following bug fixes amongst others are included:
Compilation fix: the certificate dialog now compiles
Mjr bugfix: Prevent mail loss when kmail crashes while editing a
drafts message
Mjr bugfix: Fix erratic folder changing when clicking on the folder
tree
Mjr bugfix: Prevent mail loss when applying filters
The follow features have been implemented:
* KMail is now a KPart and can be embedded in the Kontact/Kaplan
container applications along with other KDE PIM applications.
* Remove duplicates function for removing duplicate messages in
a folder.
* Messages can be dragged and dropped on a composer window to
add those messages as attachments.
* Deletion in threaded mode is improved, child messages will no
longer be scattered when a parent is deleted.
* Multiple messages can now be selected in the search dialog.
* New context menu in the search dialog with Move, Copy, Reply
etc. actions for operating on selected messages.
* Search criteria in the search dialog now supports more types
of rules and a variable number of rules.
* Faster searching of large messsages.
* 'Search Folders' which are a KMail folder that stores a search
expression and is dynamically updated (also known as virtual
folders).
* The separate window for reading mail has a context menu with
Reply, Copy etc. actions for operating on the message
displayed.
* The separate window for reading mail has a tool bar.
* Startup of KMail is faster.
* Switching between folders is faster.
* The contents of all composer windows are saved to disk on
composer window creation and then periodically saved to
prevent mail loss in the result of a system crash.
* The state of KMail folders is saved to disk periodically to
prevent status information loss in the result of a system
crash.
Note after start KMail switching to folders for the first time will
slow as the format of the .sorted file has changed.
Enjoy!
svn path=/trunk/kdenetwork/kmail/; revision=195825
merged the Makefile.am and add all files that were added in make_it_cool
to get smaller diffs [most of them not yet compiled :]
svn path=/trunk/kdenetwork/kmail/; revision=191335