summaryrefslogtreecommitdiffstats
path: root/libkonq
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-04-30 20:40:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-04-30 22:01:35 +0900
commitf3ddd5b7cd91574ac67d6c5dcf1c40093285d200 (patch)
tree0030dfb1fd9e2c42cdf603f9f4bb06f2fe32aef2 /libkonq
parente539275ad3d719ae9b95c9e94760f078acc608af (diff)
downloadtdebase-f3ddd5b7cd91574ac67d6c5dcf1c40093285d200.tar.gz
tdebase-f3ddd5b7cd91574ac67d6c5dcf1c40093285d200.zip
konqueror: add option to enable/disable using double click to navitage to the parent folder. This resolves issue #329
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libkonq')
-rw-r--r--libkonq/konq_settings.cpp2
-rw-r--r--libkonq/konq_settings.h5
2 files changed, 5 insertions, 2 deletions
diff --git a/libkonq/konq_settings.cpp b/libkonq/konq_settings.cpp
index 41460e8ae..fe61d150a 100644
--- a/libkonq/konq_settings.cpp
+++ b/libkonq/konq_settings.cpp
@@ -121,6 +121,8 @@ void KonqFMSettings::init( TDEConfig * config )
/// true if TQString::localeAwareCompare is case sensitive (it usually isn't, when LC_COLLATE is set)
d->localeAwareCompareIsCaseSensitive = TQString( "a" ).localeAwareCompare( "B" ) > 0; // see #40131
+
+ m_doubleClickMoveToParent = config->readBoolEntry("DoubleClickMoveToParent", true);
}
bool KonqFMSettings::shouldEmbed( const TQString & serviceType ) const
diff --git a/libkonq/konq_settings.h b/libkonq/konq_settings.h
index daca8babe..52e9ac3b6 100644
--- a/libkonq/konq_settings.h
+++ b/libkonq/konq_settings.h
@@ -81,12 +81,13 @@ public:
bool underlineLink() const { return m_underlineLink; }
bool fileSizeInBytes() const { return m_fileSizeInBytes; }
bool alwaysNewWin() const { return m_alwaysNewWin; }
+ bool doubleClickMoveToParent() const { return m_doubleClickMoveToParent; }
const TQString & homeURL() const { return m_homeURL; }
bool showFileTips() const {return m_showFileTips; }
bool showPreviewsInFileTips() const;
int numFileTips() const {return m_numFileTips; }
- bool renameIconDirectly() const;
+ bool renameIconDirectly() const;
// Font settings
const TQFont& standardFont() const { return m_standardFont; }
@@ -107,7 +108,7 @@ private:
bool m_underlineLink;
bool m_fileSizeInBytes;
bool m_alwaysNewWin;
- bool m_bTreeFollow;
+ bool m_doubleClickMoveToParent;
TQMap<TQString, TQString> m_embedMap;