kdf
Go to the documentation of this file.
34 #include <Qt3Support/Q3Dict>
37 #include <kapplication.h>
39 #include <kcmdlineargs.h>
43 I18N_NOOP(
"A test application");
47 main(
int argc,
char ** argv)
52 KSharedConfig::Ptr cfg = KGlobal::config();
56 dict.
insert(
"Blah",
"Arse");
57 dict.
insert(
"Blah",
"Smack");
58 dict.
insert(
"Blah",
"Monkey");
67 cerr <<
"Before saving: " << endl;
68 cerr <<
"key : \"" << key <<
"\"" << endl;
69 cerr <<
"val : \"" << it.
current() <<
"\"" << endl;
71 debug(
"got back [%s]",cfg->writeEntry(key, it.
current()));
74 cerr <<
"After saving: " << endl;
75 cerr <<
"key : \"" << key <<
"\"" << endl;
76 cerr <<
"val : \"" << it.
current() <<
"\"" << endl;
static const char version[]
main(int argc, char **argv)
void insert(const QString &key, const type *item)
static const char description[]
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:23 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.