From kde-commits Wed Apr 30 23:03:42 2008 From: Thomas McGuire Date: Wed, 30 Apr 2008 23:03:42 +0000 To: kde-commits Subject: KDE/kdepim/libkdepim (silent) Message-Id: <1209596622.464714.19865.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=120959663004480 SVN commit 802878 by tmcguire: fix typos and add consts SVN_SILENT M +2 -2 foldertreewidget.cpp M +8 -8 foldertreewidget.h --- trunk/KDE/kdepim/libkdepim/foldertreewidget.cpp #802877:802878 @@ -43,7 +43,7 @@ setManualColumnHidingEnabled( true ); } -bool FolderTreeWidgetBase::saveLayout( KConfigGroup &group , const char * keyName ) +bool FolderTreeWidgetBase::saveLayout( KConfigGroup &group , const char * keyName ) const { if( !keyName ) return false; @@ -53,7 +53,7 @@ return true; } -bool FolderTreeWidgetBase::saveLayout( KConfig * config , const char * groupName , const char * keyName ) +bool FolderTreeWidgetBase::saveLayout( KConfig * config , const char * groupName , const char * keyName ) const { if( !config || !groupName || !keyName ) return false; --- trunk/KDE/kdepim/libkdepim/foldertreewidget.h #802877:802878 @@ -63,7 +63,7 @@ explicit FolderTreeWidgetBase( QWidget *parent, const char *name = 0 ); private: - bool mEnableManualColumnHiding; //< Is manual column hiding currently enabled ? + bool mEnableManualColumnHiding; ///< Is manual column hiding currently enabled ? public: @@ -83,7 +83,7 @@ bool saveLayout( KConfigGroup &group, const char *keyName = FTWB_DEFAULT_CONFIG_KEY - ); + ) const; /** * Stores the layout of this tree view to the specified key of @@ -100,7 +100,7 @@ KConfig *config, const char *groupName, const char *keyName = FTWB_DEFAULT_CONFIG_KEY - ); + ) const; /** * Attempts to restore the layout of this tree from the specified @@ -117,7 +117,7 @@ * @param group The KConfigGroup to read the layout data from. * @param keyName The key to use, "TreeWidgetLayout" by default * - * @returns true if the layout data has been succesfully read and + * @returns true if the layout data has been successfully read and * restored. Returns false if the specified key of the config * group is empty, or the data contained inside is not valid. */ @@ -141,7 +141,7 @@ * @param configGroup The name of the KConfig group to read the layout data from. * @param keyName The key to use, "TreeWidgetLayout" by default * - * @returns true if the layout data has been succesfully read and + * @returns true if the layout data has been successfully read and * restored. Returns false if the specified key of the config * group is empty, or the data contained inside is not valid. */ @@ -209,7 +209,7 @@ /** * Convenience function that changes the text of the specified column. - * Returns true if the text can be succesfully changed or false + * Returns true if the text can be successfully changed or false * if the specified column index is out of range. */ bool setColumnText( int columnIndex , const QString &label ); @@ -296,8 +296,8 @@ }; private: - Protocol mProtocol; //< The protocol associated to the folder - FolderType mFolderType; //< The type of the folder + Protocol mProtocol; ///< The protocol associated to the folder + FolderType mFolderType; ///< The type of the folder public: /**