summaryrefslogtreecommitdiffstats
path: root/libkonq/konq_propsview.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkonq/konq_propsview.h')
-rw-r--r--libkonq/konq_propsview.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/libkonq/konq_propsview.h b/libkonq/konq_propsview.h
index c2759693f..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,9 +92,15 @@ public:
void setSortCriterion( const TQString &criterion );
const TQString& sortCriterion() const;
+ void setSortOrder( TextSortOrder order);
+ TextSortOrder getSortOrder() const;
+
void setDirsFirst ( bool first );
bool isDirsFirst() const;
+ void setHiddenFirst ( bool first );
+ bool isHiddenFirst() const;
+
void setDescending (bool descending);
bool isDescending() const;
@@ -164,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)
@@ -174,7 +182,7 @@ private:
/**
* Private data for KonqPropsView
- * Implementation in konq_propsview.cc
+ * Implementation in konq_propsview.cpp
*/
struct Private;