summaryrefslogtreecommitdiff
path: root/noncore/apps/advancedfm/advancedfm.cpp
authorllornkcor <llornkcor>2004-09-25 08:22:22 (UTC)
committer llornkcor <llornkcor>2004-09-25 08:22:22 (UTC)
commitff6c55833c0cba33469f668ca158e96b409b4967 (patch) (side-by-side diff)
tree63299a67e6f9bf1a06c8668775f95f96366efce0 /noncore/apps/advancedfm/advancedfm.cpp
parent946445e87ce74b8b28817ea63854054dbf165003 (diff)
downloadopie-ff6c55833c0cba33469f668ca158e96b409b4967.zip
opie-ff6c55833c0cba33469f668ca158e96b409b4967.tar.gz
opie-ff6c55833c0cba33469f668ca158e96b409b4967.tar.bz2
fix
Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp20
1 files changed, 9 insertions, 11 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp
index f1be471..0dc822d 100644
--- a/noncore/apps/advancedfm/advancedfm.cpp
+++ b/noncore/apps/advancedfm/advancedfm.cpp
@@ -45,3 +45,3 @@ AdvancedFm::AdvancedFm(QWidget *,const char*, WFlags )
renameBox = 0;
-
+ whichTab = 1;
unknownXpm = Resource::loadImage("UnknownDocument").smoothScale(AppLnk::smallIconSize(),AppLnk::smallIconSize() );
@@ -91,6 +91,2 @@ void AdvancedFm::tabChanged(QWidget *wd) {
- QString fs= getFileSystemType( (const QString &) path);
-
- setCaption(tr("AdvancedFm :: ")+fs+" :: "
- +checkDiskSpace( (const QString &) path )+ tr(" kB free") );
chdir( path.latin1());
@@ -112,6 +108,8 @@ void AdvancedFm::populateView() {
QString fileL, fileS, fileDate;
- QString fs= getFileSystemType((const QString &) path);
+
+ QString fs = getFileSystemType((const QString &) path);
setCaption(tr("AdvancedFm :: ")+fs+" :: "
+checkDiskSpace((const QString &) path)+ tr(" kB free") );
- bool isDir=FALSE;
+ bool isDir = FALSE;
+
const QFileInfoList *list = thisDir->entryInfoList( /*QDir::All*/ /*, QDir::SortByMask*/);
@@ -121,3 +119,3 @@ void AdvancedFm::populateView() {
if (fi->isSymLink() ) {
- QString symLink=fi->readLink();
+ QString symLink = fi->readLink();
QFileInfo sym( symLink);
@@ -325,3 +323,3 @@ QStringList AdvancedFm::getPath() {
-void AdvancedFm::changeTo(const QString dir) {
+void AdvancedFm::changeTo(const QString &dir) {
chdir( dir.latin1());
@@ -342,3 +340,3 @@ void AdvancedFm::SDButtonPushed() {
Opie::Core::OStorageInfo info;
- changeTo(info.sdPath());
+ changeTo(info.sdPath());
}
@@ -347,3 +345,3 @@ void AdvancedFm::CFButtonPushed() {
Opie::Core::OStorageInfo info;
- changeTo(info.cfPath());
+ changeTo(info.cfPath());
}