summaryrefslogtreecommitdiff
path: root/libopie/ofileselector.cc
authorzecke <zecke>2002-04-01 01:48:02 (UTC)
committer zecke <zecke>2002-04-01 01:48:02 (UTC)
commit9a68bd2411e65eb6c51aead50a5b0b670174458d (patch) (side-by-side diff)
tree05ab085d430edc2e821ea890da600774abc30f01 /libopie/ofileselector.cc
parent84850cd8811fc29aa39ecd2452884bf48ea27e92 (diff)
downloadopie-9a68bd2411e65eb6c51aead50a5b0b670174458d.zip
opie-9a68bd2411e65eb6c51aead50a5b0b670174458d.tar.gz
opie-9a68bd2411e65eb6c51aead50a5b0b670174458d.tar.bz2
Almost done ||
Diffstat (limited to 'libopie/ofileselector.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/ofileselector.cc23
1 files changed, 22 insertions, 1 deletions
diff --git a/libopie/ofileselector.cc b/libopie/ofileselector.cc
index 14f035e..fbe69ed 100644
--- a/libopie/ofileselector.cc
+++ b/libopie/ofileselector.cc
@@ -749,2 +749,5 @@ void OFileSelector::initializeListView()
}
+ int count = m_location->count();
+ m_location->insertItem(m_currentDir );
+ m_location->setCurrentItem( count );
};
@@ -1004,2 +1007,7 @@ bool OFileSelector::cd(const QString &str )
reparse();
+ if(m_shTool ){
+ int count = m_location->count();
+ m_location->insertItem(str );
+ m_location->setCurrentItem( count );
+ }
return true;
@@ -1055,5 +1063,18 @@ void OFileSelector::cdUP()
reparse();
+ int count = m_location->count();
+ m_location->insertItem(m_currentDir );
+ m_location->setCurrentItem( count );
}
}
+void OFileSelector::slotHome()
+{
+ cd(QDir::homeDirPath() );
+}
+void OFileSelector::slotDoc()
+{
+ cd(QDir::homeDirPath() + "/Documents" );
+}
+void OFileSelector::slotNavigate()
+{
-
+}