You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
197 lines
3.4 KiB
197 lines
3.4 KiB
12 years ago
|
// This file is generated by tdeconfig_compiler from test1.kcfg.
|
||
15 years ago
|
// All changes you do to this file will be lost.
|
||
|
#ifndef TEST1_H
|
||
|
#define TEST1_H
|
||
|
|
||
12 years ago
|
#include <tdeconfigskeleton.h>
|
||
15 years ago
|
#include <kdebug.h>
|
||
|
|
||
14 years ago
|
#include <tqdir.h>
|
||
12 years ago
|
class Test1 : public TDEConfigSkeleton
|
||
15 years ago
|
{
|
||
|
public:
|
||
|
class EnumListOption
|
||
|
{
|
||
|
public:
|
||
|
enum type { One, Two, Three, COUNT };
|
||
|
};
|
||
|
|
||
14 years ago
|
Test1( const TQString & transport, const TQString & folder );
|
||
15 years ago
|
~Test1();
|
||
|
|
||
|
/**
|
||
|
Set One option
|
||
|
*/
|
||
|
void setOneOption( bool v )
|
||
|
{
|
||
13 years ago
|
if (!isImmutable( TQString::fromLatin1( "OneOption" ) ))
|
||
15 years ago
|
mOneOption = v;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Get One option
|
||
|
*/
|
||
|
bool oneOption() const
|
||
|
{
|
||
|
return mOneOption;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Set Another option
|
||
|
*/
|
||
|
void setAnotherOption( int v )
|
||
|
{
|
||
13 years ago
|
if (!isImmutable( TQString::fromLatin1( "AnotherOption" ) ))
|
||
15 years ago
|
mAnotherOption = v;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Get Another option
|
||
|
*/
|
||
|
int anotherOption() const
|
||
|
{
|
||
|
return mAnotherOption;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Set This is some funky option
|
||
|
*/
|
||
|
void setListOption( int v )
|
||
|
{
|
||
13 years ago
|
if (!isImmutable( TQString::fromLatin1( "ListOption" ) ))
|
||
15 years ago
|
mListOption = v;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Get This is some funky option
|
||
|
*/
|
||
|
int listOption() const
|
||
|
{
|
||
|
return mListOption;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Set This is a string
|
||
|
*/
|
||
14 years ago
|
void setMyString( const TQString & v )
|
||
15 years ago
|
{
|
||
13 years ago
|
if (!isImmutable( TQString::fromLatin1( "MyString" ) ))
|
||
15 years ago
|
mMyString = v;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Get This is a string
|
||
|
*/
|
||
14 years ago
|
TQString myString() const
|
||
15 years ago
|
{
|
||
|
return mMyString;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Set This is a path
|
||
|
*/
|
||
14 years ago
|
void setMyPath( const TQString & v )
|
||
15 years ago
|
{
|
||
13 years ago
|
if (!isImmutable( TQString::fromLatin1( "MyPath" ) ))
|
||
15 years ago
|
mMyPath = v;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Get This is a path
|
||
|
*/
|
||
14 years ago
|
TQString myPath() const
|
||
15 years ago
|
{
|
||
|
return mMyPath;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Set Another option
|
||
|
*/
|
||
|
void setAnotherOption2( int v )
|
||
|
{
|
||
13 years ago
|
if (!isImmutable( TQString::fromLatin1( "AnotherOption2" ) ))
|
||
15 years ago
|
mAnotherOption2 = v;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Get Another option
|
||
|
*/
|
||
|
int anotherOption2() const
|
||
|
{
|
||
|
return mAnotherOption2;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Set MyStringList
|
||
|
*/
|
||
14 years ago
|
void setMyStringList( const TQStringList & v )
|
||
15 years ago
|
{
|
||
13 years ago
|
if (!isImmutable( TQString::fromLatin1( "MyStringList" ) ))
|
||
15 years ago
|
mMyStringList = v;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Get MyStringList
|
||
|
*/
|
||
14 years ago
|
TQStringList myStringList() const
|
||
15 years ago
|
{
|
||
|
return mMyStringList;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Set MyStringListHidden
|
||
|
*/
|
||
14 years ago
|
void setMyStringListHidden( const TQStringList & v )
|
||
15 years ago
|
{
|
||
13 years ago
|
if (!isImmutable( TQString::fromLatin1( "MyStringListHidden" ) ))
|
||
15 years ago
|
mMyStringListHidden = v;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Get MyStringListHidden
|
||
|
*/
|
||
14 years ago
|
TQStringList myStringListHidden() const
|
||
15 years ago
|
{
|
||
|
return mMyStringListHidden;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Set List Number
|
||
|
*/
|
||
|
void setMyNumber( int v )
|
||
|
{
|
||
13 years ago
|
if (!isImmutable( TQString::fromLatin1( "MyNumber" ) ))
|
||
15 years ago
|
mMyNumber = v;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
Get List Number
|
||
|
*/
|
||
|
int myNumber() const
|
||
|
{
|
||
|
return mMyNumber;
|
||
|
}
|
||
|
|
||
|
protected:
|
||
14 years ago
|
TQString mParamtransport;
|
||
|
TQString mParamfolder;
|
||
15 years ago
|
|
||
|
// General-$(folder)
|
||
|
bool mOneOption;
|
||
|
int mAnotherOption;
|
||
|
int mListOption;
|
||
|
|
||
|
// MyOptions
|
||
14 years ago
|
TQString mMyString;
|
||
|
TQString mMyPath;
|
||
15 years ago
|
int mAnotherOption2;
|
||
14 years ago
|
TQStringList mMyStringList;
|
||
|
TQStringList mMyStringListHidden;
|
||
15 years ago
|
int mMyNumber;
|
||
|
|
||
|
private:
|
||
|
};
|
||
|
|
||
|
#endif
|
||
|
|