Eneboo - Documentación para desarrolladores
|
00001 /*************************************************************************** 00002 FLParameterQuery.h 00003 ------------------- 00004 begin : dom jun 23 2002 00005 copyright : (C) 2002-2005 by InfoSiAL S.L. 00006 email : mail@infosial.com 00007 ***************************************************************************/ 00008 /*************************************************************************** 00009 * This program is free software; you can redistribute it and/or modify * 00010 * it under the terms of the GNU General Public License as published by * 00011 * the Free Software Foundation; version 2 of the License. * 00012 ***************************************************************************/ 00013 /*************************************************************************** 00014 Este programa es software libre. Puede redistribuirlo y/o modificarlo 00015 bajo los términos de la Licencia Pública General de GNU en su 00016 versión 2, publicada por la Free Software Foundation. 00017 ***************************************************************************/ 00018 00019 #ifndef FLPARAMETERQUERY_H 00020 #define FLPARAMETERQUERY_H 00021 00022 #include <qstring.h> 00023 #include <qvariant.h> 00024 00030 class FL_EXPORT FLParameterQuery { 00031 00032 public: 00033 00041 FLParameterQuery( const QString & n, const QString & a, const int t ); 00042 00046 ~FLParameterQuery(); 00047 00053 const QString & name() const { 00054 return name_; 00055 } 00056 00062 const QString & alias() const { 00063 return alias_; 00064 } 00065 00071 const int type() const { 00072 return type_; 00073 } 00074 00080 const QVariant & value() const { 00081 return value_; 00082 } 00083 00089 void setValue( const QVariant & v ) { 00090 value_ = v; 00091 } 00092 00093 private: 00094 00098 QString name_; 00099 00103 QString alias_; 00104 00108 int type_; 00109 00113 QVariant value_; 00114 }; 00115 00116 #endif