00001 // Copyright (C) 2009-2011 by Konrad Rosenbaum <konrad@silmor.de> 00002 // protected under the GNU GPL version 3 or at your option any newer. 00003 // See COPYING.GPL file that comes with this distribution. 00004 // 00005 00006 #ifndef WOC_PHPOUT_TRANS_H 00007 #define WOC_PHPOUT_TRANS_H 00008 00009 #include "phpout.h" 00010 00011 00013 class WocPHPTransaction:public QObject 00014 { 00015 Q_OBJECT 00016 public: 00018 WocPHPTransaction(WocPHPOut*); 00020 virtual void finalize(); 00022 virtual void newTransaction(const WocTransaction&); 00023 private: 00024 00026 virtual void transInfo(); 00028 virtual void transInfo2(); 00029 00031 virtual QString trnConstruct(const WocTransaction&); 00033 virtual QString trnHandlers(const WocTransaction&)=0; 00035 virtual QString trnGetSet(const WocTransaction&); 00037 virtual QString trnPrivileges(const WocTransaction&); 00038 protected: 00039 WocPHPOut*m_parent; 00040 signals: 00041 void errorFound(); 00042 }; 00043 00044 #endif