summaryrefslogtreecommitdiff
path: root/noncore
authoralwin <alwin>2005-02-27 13:40:06 (UTC)
committer alwin <alwin>2005-02-27 13:40:06 (UTC)
commit952ed8b53ee74217c3aa839dada3119bb399b9a3 (patch) (unidiff)
tree1ab11166322e31deb9429deae83f34018b69d6eb /noncore
parentcfca93daadf9c0c6c41a4f1eed26dcac318056f1 (diff)
downloadopie-952ed8b53ee74217c3aa839dada3119bb399b9a3.zip
opie-952ed8b53ee74217c3aa839dada3119bb399b9a3.tar.gz
opie-952ed8b53ee74217c3aa839dada3119bb399b9a3.tar.bz2
all xml-files starting with "common" in name will not be listed
Diffstat (limited to 'noncore') (more/less context) (show whitespace changes)
-rw-r--r--noncore/applets/zkbapplet/keyzcfg/cfgdlg.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/applets/zkbapplet/keyzcfg/cfgdlg.cpp b/noncore/applets/zkbapplet/keyzcfg/cfgdlg.cpp
index 6f24ea0..f4005bb 100644
--- a/noncore/applets/zkbapplet/keyzcfg/cfgdlg.cpp
+++ b/noncore/applets/zkbapplet/keyzcfg/cfgdlg.cpp
@@ -2,2 +2,3 @@
2#include <qdir.h> 2#include <qdir.h>
3#include <qregexp.h>
3#include <qpe/qpeapplication.h> 4#include <qpe/qpeapplication.h>
@@ -12,2 +13,4 @@ CfgDlg::CfgDlg(QWidget* parent, CfgFile* cf, QApplication* app, bool mod):
12 13
14 static QRegExp r("^common.*\\.xml$");
15 static QRegExp r2("^zkb\\.xml$");
13 QGridLayout* gl = new QGridLayout(this, 7, 5, 5, 5); 16 QGridLayout* gl = new QGridLayout(this, 7, 5, 5, 5);
@@ -74,3 +77,3 @@ CfgDlg::CfgDlg(QWidget* parent, CfgFile* cf, QApplication* app, bool mod):
74 for(sit = flist.begin(); sit != flist.end(); ++sit) { 77 for(sit = flist.begin(); sit != flist.end(); ++sit) {
75 if (*sit != "common.xml" && *sit != "zkb.xml" && m.find(*sit) == m.end()) { 78 if (r.match(*sit)==-1 && r2.match(*sit)==-1&& m.find(*sit) == m.end()) {
76 files->insertItem(*sit); 79 files->insertItem(*sit);