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
- Reset only the values on the currently visible tab to their defaults and not all values of the currently selected kcm.
svn path=/trunk/kdepim/; revision=391475
and related things to KConfigXT. This must have been a lot of very non-
interesting grunt work, but it's a very much appreciated, so thanks a
bunch, dude. :)
Please everyone keep your eyes open for regressions, I've tried to review
it carefully, but it's big and something might have crept in.
svn path=/trunk/kdepim/; revision=361463
Explanation: Apparently the QListView::selectionChanged( QListViewItem * ) signal is completely useless since it's not emitted when no item is selected (i.e. if the selection is cleared). Therefore one always has to connect to the QListView::selectionChanged() signal. But if one is already connected to this signal then also connecting to the QListView::selectionChanged( QListViewItem * ) signal doesn't make any sense IMO. I've asked TrollTech to change this for Qt 4.
svn path=/trunk/kdepim/; revision=317868