diff options
Diffstat (limited to 'libkonq/konq_propsview.h')
-rw-r--r-- | libkonq/konq_propsview.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libkonq/konq_propsview.h b/libkonq/konq_propsview.h index 84ffcf029..fff534978 100644 --- a/libkonq/konq_propsview.h +++ b/libkonq/konq_propsview.h @@ -26,6 +26,8 @@ #include <kurl.h> #include <libkonq_export.h> +#include "konq_sort_constants.h" + class TDEInstance; class TDEConfigBase; class TDEConfig; @@ -34,7 +36,7 @@ class TDEConfig; * The class KonqPropsView holds the properties for a Konqueror View * * Separating them from the view class allows to store the default - * values (the one read from \<kinstance\>rc) in one instance of this class + * values (the one read from \<tdeinstance\>rc) in one instance of this class * and to have another instance of this class in each view, storing the * current values of the view. * @@ -68,7 +70,7 @@ public: * Called when entering a directory * Checks for a .directory, read it. * Don't do this on the default properties instance - * Returns TRUE if the settings for the new directories are + * Returns true if the settings for the new directories are * different from the settings in the old directory. */ bool enterDir( const KURL & dir ); @@ -90,6 +92,9 @@ public: void setSortCriterion( const TQString &criterion ); const TQString& sortCriterion() const; + void setSortOrder( TextSortOrder order); + TextSortOrder getSortOrder() const; + void setDirsFirst ( bool first ); bool isDirsFirst() const; @@ -167,7 +172,7 @@ private: // save-view-properties-locally mode, otherwise to the global config // It is set to 0L to mark it as "needs to be constructed". // This is to be used for SAVING only. - // Can be a TDEConfig or a KSimpleConfig + // Can be a TDEConfig or a TDESimpleConfig TDEConfigBase * m_currentConfig; // If this is not a "default properties" instance (but one used by a view) |