lib/widgets/propeditor/propertyutils.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
#ifndef PROPERTYUTILS_H
00020
#define PROPERTYUTILS_H
00021
00022
#include <qvaluelist.h>
00023
#include <qmap.h>
00024
00025
#include "property.h"
00026
00027
namespace PropertyUtils{
00028
00029
void variantMapToPropertyList(
const QMap<QString, QVariant> &variantMap,
QMap<QString, PropPtr> &properties);
00030
void propertyListToVariantMap(
const QMap<QString, PropPtr> &properties,
QMap<QString, QVariant> &variantMap);
00031
00032
PropPtr createProperty(
int type,
QString name,
QString description=
"",
00033
QVariant value=
QVariant(),
bool save=
true);
00034
PropPtr createProperty(
QString name,
QMap<QString, QString> v_correspList,
00035
QString description=
"",
QVariant value=
QVariant(),
bool save=
true);
00036
00037 }
00038
00039
#endif
This file is part of the documentation for KDevelop Version 3.0.4.