mutable data members

Stephan Kulow coolo at
Thu Jan 23 14:06:59 GMT 2003

Am Mittwoch, 22. Januar 2003 12:14 schrieb Cornelius Schumacher:
> Is there a special reason why we don't use the "mutable" C++ keyword in
> KDE?

I wouldn't go that far :)

Greetings, Stephan

coolo at E36#kdelibs>grep -r mutable .
./kio/kio/kfileitem.h:  mutable QString m_user, m_group;
./kio/kio/kfileitem.h:  mutable QString m_strLowerCaseName;
./kio/kio/kfileitem.h:  mutable QString m_access;
./kio/kio/kfileitem.h:  mutable KFileMetaInfo m_metaInfo;
./kio/kio/kfileitem.h:  mutable time_t m_time[3];
./kio/kio/kfileitem.h:  mutable KIO::filesize_t m_size;
./kio/kfile/kurlrequester.h:    mutable KFileDialog * myFileDialog;
./kio/kfile/kfileview.h:    mutable KFileItemList m_itemList;
./kio/kfile/kfileview.h:    mutable KFileItemList *m_selectedList;
./kio/kfile/kcombiview.h:    mutable KFileView *m_lastViewForNextItem;
./kio/kfile/kcombiview.h:    mutable KFileView *m_lastViewForPrevItem;
./kio/bookmarks/kbookmark.h:    mutable QString m_address;
./kio/bookmarks/kbookmarkmanager.h:    mutable QDomDocument m_doc;
./kio/bookmarks/kbookmarkmanager.h:    mutable QDomDocument m_toolbarDoc;
./kio/bookmarks/kbookmarkmanager.h:    mutable bool m_docIsLoaded;
./kjs/ustring.h:      mutable int _hash;

More information about the kde-core-devel mailing list