summaryrefslogtreecommitdiff
path: root/noncore/settings/aqpkg/utils.h
Unidiff
Diffstat (limited to 'noncore/settings/aqpkg/utils.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/utils.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/utils.h b/noncore/settings/aqpkg/utils.h
new file mode 100644
index 0000000..15ee4e6
--- a/dev/null
+++ b/noncore/settings/aqpkg/utils.h
@@ -0,0 +1,38 @@
1/***************************************************************************
2 utils.h - description
3 -------------------
4 begin : Sat Sep 7 2002
5 copyright : (C) 2002 by Andy Qua
6 email : andy.qua@blueyonder.co.uk
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18#ifndef UTILS_H
19#define UTILS_H
20
21#include <qstring.h>
22
23/**
24 *@author Andy Qua
25 */
26
27class Utils {
28public:
29 Utils();
30 ~Utils();
31
32 static QString getPathfromIpkFilename( const QString &file );
33 static QString getFilenameFromIpkFilename( const QString &file );
34 static QString getPackageNameFromIpkFilename( const QString &file );
35 static QString getPackageVersionFromIpkFilename( const QString &file );
36};
37
38#endif