What does this patch do:
- QComboBox -> KComboBox
- QTabWidget -> KTabWidget
- QLineEdit -> KLineEdit
- QTextEdit -> KTextEdit
- Where KLineEdit is inserted, I explicitly called: setShowClearButton( true )
- Removed in some cases unnecessary includes from header files.
What does this patch not do:
- Fix the ui files
- Fix the QMessageBox -> KMessageBox in kmmessage.cpp I need to have a good
look to the KMessageBox API for that.
- Exhaustive cleanup of unnecessary inclusions.
svn path=/trunk/KDE/kdepim/; revision=862376
- Fix quote prefix handling:
- Also highlight custom prefixes correctly.
- Make sure the prefix is saved in a header field so
that highlighting also works when re-opening a draft
Now a quote prefix consisting of the sender's initals is
highlighted correctly again.
svn path=/trunk/KDE/kdepim/; revision=859109
KConfigBase:
- remove separator argument from list entry reading/writing functions
- introduce {read,write}XdgListEntry()
- kill readPathListEntry(), add readPathEntry() overload
instead. the default value is not optional any more, as it defines the
return type. this is consistent with the readEntry() functions.
- rename clean() => markAsClean(), remove rollback()
- rename ConfigState => AccessMode, getConfigState() => accessMode()
- rename {entry,group}IsImmutable() => is{Entry,Group}Immutable()
- remove NLS alias to Localized
KConfig:
- remove setGroup() & group()
- reshuffle OpenFlag enum, introduce NoCascade for symmetry
- remove setExtraConfigFiles() alias to addConfigSources()
KConfigGroup:
- inherit KConfigBase::deleteGroup() overloads
- make convertToQVariant() private, it will probably change somehow
- KConfig & KConfigGroup: deprecate entryMap()
- remove bogus declarations: KConfigGroup::setReadDefaults(),
KConfig::readEntryUntranslated()
- apidox
- reshuffle the declarations in the headers
svn path=/trunk/KDE/kdepim/; revision=728852
for the new kDebug/kError/kWarning/kFatal syntax.
You can use the following command to find 'old' code:
egrep -r -A 5 '(kDebug|kError|kWarning|kFatal).*' * | grep -v ".svn" | grep "<< *endl;"
svn path=/trunk/KDE/kdepim/; revision=695781
Previously, the selected button was for some reason always -1.
This fixes a crash when creating a new identity.
svn path=/trunk/KDE/kdepim/; revision=674627
KMail now uses kdepimlibs/mailtransport for sending mails and managing
transport settings. This means KMail now shares these settings with Mailody
and KNode and it now has async wallet handling :)
svn path=/trunk/KDE/kdepim/; revision=666791
I used my kdesdk/scripts/qt4/convert-qgridlayout.pl and kdesdk/scripts/qt4/convert-qboxlayout.pl scripts for this. Apart from one instance (where the params were commented out), no manual intervention was needed and everything worked like a charm...
What still needs to be done is to replace all Q*Layout(QLayout*parent) constructors by Q*Layout(); parent->insertLayout(..); calls. This can't be automated since it's impossible to detect whether the parent object is a QWidget* or a QLayout*. At best one can parst the compiler warning and just replace in those lines that through a deprecated warning...
svn path=/trunk/KDE/kdepim/; revision=533942
QMAX/QMIN -> qMax/qMin
I don't know what to do about Q_LONG and Q_ULONG because of the following code in qglobal.h:
#if defined(Q_OS_WIN64)
typedef __int64 Q_LONG; /* word up to 64 bit signed */
typedef unsigned __int64 Q_ULONG; /* word up to 64 bit unsigned */
#else
typedef long Q_LONG; /* word up to 64 bit signed */
typedef unsigned long Q_ULONG; /* word up to 64 bit unsigned */
#endif
Should I simply convert to (unsigned) long?
svn path=/trunk/KDE/kdepim/; revision=468393
Problem was that namespaces were not fetched yet so this method
adds a a-sync response to the final fetching of the namespaces after
which the refresh is initiated.
svn path=/trunk/KDE/kdepim/; revision=431155