author | zecke <zecke> | 2002-04-01 01:48:02 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-04-01 01:48:02 (UTC) |
commit | 9a68bd2411e65eb6c51aead50a5b0b670174458d (patch) (unidiff) | |
tree | 05ab085d430edc2e821ea890da600774abc30f01 | |
parent | 84850cd8811fc29aa39ecd2452884bf48ea27e92 (diff) | |
download | opie-9a68bd2411e65eb6c51aead50a5b0b670174458d.zip opie-9a68bd2411e65eb6c51aead50a5b0b670174458d.tar.gz opie-9a68bd2411e65eb6c51aead50a5b0b670174458d.tar.bz2 |
Almost done ||
-rw-r--r-- | libopie/ofileselector.cc | 23 | ||||
-rw-r--r-- | libopie/ofileselector.h | 4 |
2 files changed, 25 insertions, 2 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() | |||
749 | } | 749 | } |
750 | int count = m_location->count(); | ||
751 | m_location->insertItem(m_currentDir ); | ||
752 | m_location->setCurrentItem( count ); | ||
750 | }; | 753 | }; |
@@ -1004,2 +1007,7 @@ bool OFileSelector::cd(const QString &str ) | |||
1004 | reparse(); | 1007 | reparse(); |
1008 | if(m_shTool ){ | ||
1009 | int count = m_location->count(); | ||
1010 | m_location->insertItem(str ); | ||
1011 | m_location->setCurrentItem( count ); | ||
1012 | } | ||
1005 | return true; | 1013 | return true; |
@@ -1055,5 +1063,18 @@ void OFileSelector::cdUP() | |||
1055 | reparse(); | 1063 | reparse(); |
1064 | int count = m_location->count(); | ||
1065 | m_location->insertItem(m_currentDir ); | ||
1066 | m_location->setCurrentItem( count ); | ||
1056 | } | 1067 | } |
1057 | } | 1068 | } |
1069 | void OFileSelector::slotHome() | ||
1070 | { | ||
1071 | cd(QDir::homeDirPath() ); | ||
1072 | } | ||
1073 | void OFileSelector::slotDoc() | ||
1074 | { | ||
1075 | cd(QDir::homeDirPath() + "/Documents" ); | ||
1076 | } | ||
1077 | void OFileSelector::slotNavigate() | ||
1078 | { | ||
1058 | 1079 | ||
1059 | 1080 | } | |
diff --git a/libopie/ofileselector.h b/libopie/ofileselector.h index b91c0ea..bf3cb48 100644 --- a/libopie/ofileselector.h +++ b/libopie/ofileselector.h | |||
@@ -269,3 +269,5 @@ private slots: | |||
269 | virtual void cdUP(); | 269 | virtual void cdUP(); |
270 | 270 | virtual void slotHome(); | |
271 | virtual void slotDoc(); | ||
272 | virtual void slotNavigate( ); | ||
271 | }; | 273 | }; |