Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Opie::DB::OSQLQuery Class Reference

#include </home/clem/local/src/opie/libopie2/opiedb/osqlquery.h>

Inheritance diagram for Opie::DB::OSQLQuery:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 OSQLQuery ()
virtual ~OSQLQuery ()
virtual QString query () const =0

Private Attributes

Private * d

Detailed Description

I'm not happy with them class OSQLQueryOrder { public: typedef QValueList<OSQLQueryOrder> ValueList; OSQLQueryOrder(const QString& table = QString::null ); OSQLQueryOrder( const OSQLQueryOrder& ); ~OSQLQueryOrder(); void setOrderFields( const QStringList& list ); void setValue( const QString& fieldName, const QString& Value ); void setValues( const QMap<QString, QString>& ); QMap<QString, QString> orders() const; QString orderStatement()const; OSQLQueryOrder &operator=(const OSQLQueryOrder& ); private: QMap<QString, QString> m_fields; class OSQLQueryOrderPrivate; OSQLQueryOrderPrivate* d; }; class OSQLWhere { public: typedef QValueList<OSQLWhere> ValueList; enum Vergleiche { Equal = 0, Like, Greater, GreaterEqual, Smaller, SmallerEqual }; OSQLWhere(const QString& table = QString::null ); ~OSQLWhere(); void setExpression(const QString& key, enum Vergleiche, const QString& ); QString statement()const; private: int m_vergleich; const QString& m_left; const QString& m_right;

};

Definition at line 47 of file osqlquery.h.


Constructor & Destructor Documentation

OSQLQuery::OSQLQuery  ) 
 

Definition at line 6 of file osqlquery.cpp.

OSQLQuery::~OSQLQuery  )  [virtual]
 

Definition at line 8 of file osqlquery.cpp.


Member Function Documentation

virtual QString Opie::DB::OSQLQuery::query  )  const [pure virtual]
 

Implemented in Opie::DB::OSQLRawQuery.

Referenced by Opie::DB::Internal::OSQLiteDriver::query().


Member Data Documentation

Private* Opie::DB::OSQLQuery::d [private]
 

Reimplemented in Opie::DB::OSQLRawQuery.

Definition at line 54 of file osqlquery.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 18:01:19 2005 for OPIE by  doxygen 1.4.2