summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/utils.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/aqpkg/utils.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/utils.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/noncore/settings/aqpkg/utils.cpp b/noncore/settings/aqpkg/utils.cpp
index 00607dd..be02b3a 100644
--- a/noncore/settings/aqpkg/utils.cpp
+++ b/noncore/settings/aqpkg/utils.cpp
@@ -1,9 +1,9 @@
/*
                This file is part of the OPIE Project
-
+
=. Copyright (c) 2002 Andy Qua <andy.qua@blueyonder.co.uk>
             .=l. Dan Williams <drw@handhelds.org>
           .>+-=
 _;:,     .>    :=|. This file is free software; you can
.> <`_,   >  .   <= redistribute it and/or modify it under
:`=1 )Y*s>-.--   : the terms of the GNU General Public
@@ -24,15 +24,14 @@
    --        :-=` Free Software Foundation, Inc.,
59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
-#include <stdio.h>
#include <sys/vfs.h>
-
+
#include "utils.h"
#include "global.h"
Utils :: Utils()
{
}
@@ -46,22 +45,22 @@ QString Utils :: getPathfromIpkFilename( const QString &file )
int p = file.findRev( "/" );
QString path = "";
if ( p != -1 )
path = file.left( p );
return path;
-
+
}
QString Utils :: getFilenameFromIpkFilename( const QString &file )
{
int p = file.findRev( "/" );
QString name = file;
if ( p != -1 )
name = name.mid( p + 1 );
-
+
return name;
}
QString Utils :: getPackageNameFromIpkFilename( const QString &file )
{