author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /pwmanager/pwmanager/genpasswd.cpp | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
Diffstat (limited to 'pwmanager/pwmanager/genpasswd.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | pwmanager/pwmanager/genpasswd.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pwmanager/pwmanager/genpasswd.cpp b/pwmanager/pwmanager/genpasswd.cpp index 41078b3..82f0c06 100644 --- a/pwmanager/pwmanager/genpasswd.cpp +++ b/pwmanager/pwmanager/genpasswd.cpp | |||
@@ -21,6 +21,8 @@ | |||
21 | #include "pwmexception.h" | 21 | #include "pwmexception.h" |
22 | #include "randomizer.h" | 22 | #include "randomizer.h" |
23 | #include "globalstuff.h" | 23 | #include "globalstuff.h" |
24 | //Added by qt3to4: | ||
25 | #include <Q3PtrList> | ||
24 | 26 | ||
25 | 27 | ||
26 | /* how often can a char of the same charset be reused in order */ | 28 | /* how often can a char of the same charset be reused in order */ |
@@ -158,7 +160,7 @@ GenPasswd::dynCharset_element * GenPasswd::selectNextCharset() | |||
158 | Randomizer *rnd = Randomizer::obj(); | 160 | Randomizer *rnd = Randomizer::obj(); |
159 | if (useFilter) { | 161 | if (useFilter) { |
160 | // find out which charsets are allowed (filtering) | 162 | // find out which charsets are allowed (filtering) |
161 | QPtrList<dynCharset_element> allowedCharsets; | 163 | Q3PtrList<dynCharset_element> allowedCharsets; |
162 | // QPtrList<dynCharset_element>::iterator is not available in QT-3.1 | 164 | // QPtrList<dynCharset_element>::iterator is not available in QT-3.1 |
163 | unsigned int i, cnt = dynCharset.count(); | 165 | unsigned int i, cnt = dynCharset.count(); |
164 | dynCharset_element *p; | 166 | dynCharset_element *p; |