Diffstat (limited to 'noncore/applets/keyhelper/keyhelperapplet/misc/StringParser.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/applets/keyhelper/keyhelperapplet/misc/StringParser.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/noncore/applets/keyhelper/keyhelperapplet/misc/StringParser.h b/noncore/applets/keyhelper/keyhelperapplet/misc/StringParser.h new file mode 100644 index 0000000..8c1dc58 --- a/dev/null +++ b/noncore/applets/keyhelper/keyhelperapplet/misc/StringParser.h | |||
@@ -0,0 +1,14 @@ | |||
1 | #ifndef _STRING_PARSER_H_ | ||
2 | #define _STRING_PARSER_H_ | ||
3 | |||
4 | #include <qstringlist.h> | ||
5 | |||
6 | class StringParser | ||
7 | { | ||
8 | public: | ||
9 | static QStringList split(const QChar& sep, const QString& str, | ||
10 | bool allowEmptyEntries=FALSE); | ||
11 | static QString join(const QChar& sep, const QStringList& list); | ||
12 | }; | ||
13 | |||
14 | #endif /* _STRING_PARSER_H_ */ | ||