project
projectconfigskeleton.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KDEVPROJECTCONFIGSKELETON_H
00022 #define KDEVPROJECTCONFIGSKELETON_H
00023
00024 #include "projectexport.h"
00025 #include <kconfigskeleton.h>
00026
00027 namespace KDevelop
00028 {
00029
00030 class KDEVPLATFORMPROJECT_EXPORT ProjectConfigSkeleton: public KConfigSkeleton
00031 {
00032 Q_OBJECT
00033 public:
00034
00042 ProjectConfigSkeleton( const QString & configname );
00043
00044 virtual ~ProjectConfigSkeleton();
00045
00046 void setDeveloperTempFile( const QString& );
00047 void setProjectTempFile( const QString& );
00048 void setProjectFileUrl( const QString& );
00049 void setDeveloperFileUrl( const QString& );
00050 void setDefaults();
00051 bool useDefaults( bool b );
00052 void writeConfig();
00053
00054 KUrl projectFileUrl() const;
00055 KUrl developerFileUrl() const;
00056 private:
00064 ProjectConfigSkeleton( KSharedConfig::Ptr config );
00065 struct ProjectConfigSkeletonPrivate * const d;
00066 };
00067
00068 }
00069 #endif
00070