Logo Search packages:      
Sourcecode: webxml version File versions  Download package

ctxparameter.h

#include <qstringlist.h> 
class CtxParameter
{
    private:
    QString paramName;
    QString paramValue;
    QString paramDescription;
    public:
    CtxParameter(const QString paramName, const QString paramValue, const QString paramDescription):
          paramName(paramName),paramValue(paramValue),paramDescription(paramDescription){}
    CtxParameter()
    {
      paramName="";
      paramValue="";
      paramDescription="";
    }
    virtual ~CtxParameter(){}
    QString getParamName()
    {
      return paramName;
    }
    QString getParamValue()
    {
      return paramValue;
    }
    QString getParamDescription()
    {
      return paramDescription;
    }
    QStringList getParams()
    {
      QStringList param;
      param.append(paramName);
      param+=paramValue;
      param+=paramDescription;
      return param;
    } 
    void setParams(const QString paramName, const QString paramValue, const QString paramDescription)
    {
      this->paramName=paramName;
      this->paramValue=paramValue;
      this->paramDescription=paramDescription;
    }
};

Generated by  Doxygen 1.6.0   Back to index