DumontEXE 0.0.1
cmcFormDef.h
00001 /* ***************************************************************************
00002 **
00003 ** Copyright (C) 2007 Lorimark Solutions, LLC. All rights reserved.
00004 **
00005 ** This file is part of the DumontEXE Scripting Extension Kit
00006 **
00007 ** This file may be used under the terms of the GNU General Public
00008 ** License version 2.0 as published by the Free Software Foundation
00009 ** and appearing in the file LICENSE.GPL included in the packaging of
00010 ** this file.  Please review the following information to ensure GNU
00011 ** General Public Licensing requirements will be met:
00012 ** http://dumont.showoff-db.org/opensource.html
00013 **
00014 ** If you are unsure which license is appropriate for your use, please
00015 ** review the following information:
00016 ** http://dumont.showoff-db.org/licensing.html 
00017 ** or contact the sales department at sales@lorimarksolutions.com.
00018 **
00019 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00020 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00021 **
00022 ** author: Mark Petryk ~ Lorimark Solutions, LLC
00023 ** **************************************************************************/
00024 
00025 #ifndef CDA_FORM_DEF_H_422FD07F_0597_4cbb_A034_9AE85166472E
00026 #define CDA_FORM_DEF_H_422FD07F_0597_4cbb_A034_9AE85166472E
00027 
00028 #include "cmcObject.h"
00029 
00030 namespace cmcDatabaseApi {
00031 
00032 class cmcApplication;
00033 class cmcFormDefs;
00034 class cmcFormScript;
00035 
00036 /*!
00037 ** \brief Form Definition
00038 **
00039 **
00040 */
00041 class cmcFormDef:
00042   public cmcObject
00043 {
00044   Q_OBJECT
00045   public:
00046 
00047     /*!
00048     ** \brief Copy Constructor \n
00049     **
00050     */
00051     cmcFormDef( const cmcFormDef & copy );
00052 
00053     /*!
00054     ** \brief Standard Constructor \n
00055     **
00056     **
00057     */
00058     cmcFormDef( const QString & formName, cmcApplication * application, cmcFormDefs * parent );
00059 
00060     /*!
00061     ** \brief Primary Destructor \n
00062     **
00063     ** This destructor handles cleanup of the object.
00064     **
00065     */
00066     virtual ~cmcFormDef();
00067 
00068   public slots:
00069 
00070     /*!
00071     ** \brief Get a handle on the parenting form defs \n
00072     **
00073     */
00074     cmcFormDefs * formDefs();
00075 
00076     /*!
00077     ** \brief Category Name \n
00078     **
00079     **
00080     */
00081     QString categoryName();
00082 
00083     /*!
00084     ** \brief Form Name \n
00085     **
00086     **
00087     */
00088     QString formName();
00089 
00090     /*!
00091     ** \brief Check-out Form Script \n
00092     **
00093     **
00094     */
00095     bool checkOutFormScript( const QString & fileName );
00096 
00097     /*!
00098     ** \brief Check-in Form Script \n
00099     **
00100     **
00101     */
00102     bool checkInFormScript( const QString & fileName );
00103 
00104     /*!
00105     ** \brief Script \n
00106     **
00107     **
00108     */
00109     cmcFormScript * script();
00110 
00111   signals:
00112 
00113   protected:
00114 
00115   private:
00116 
00117 }; // endclass cmcFormDef
00118 
00119 } // namespace cmcDatabaseApi
00120 
00121 #endif // #ifndef CDA_FORM_DEF_H
00122 
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties




~ ~ ~ ~ ~ ~
Source Code without Comments is like a Cranberry Garland
without the berries. Comment your Code!
 
Commence Database User Support Group Forum
http://newsgroup.showoff-db.org/
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC
mark@lorimarksolutions.com