DumontEXE 0.0.1
cmcMeInfo.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_ME_INFO_H_422FD07F_0597_4cbb_A034_9AE85166472E
00026 #define CDA_ME_INFO_H_422FD07F_0597_4cbb_A034_9AE85166472E
00027 
00028 #include <QObject>
00029 #include <QStringList>
00030 #include "cmcObject.h"
00031 
00032 
00033 namespace cmcDatabaseApi {
00034 
00035 class cmcApplication;
00036 class cmcCategoryDef;
00037 
00038 /*!
00039 ** \brief (-Me-) Information
00040 **
00041 **
00042 */
00043 class cmcMeInfo:
00044   public cmcObject
00045 {
00046   Q_OBJECT
00047   public:
00048 
00049     /*!
00050     ** \brief Copy Constructor \n
00051     **
00052     */
00053     cmcMeInfo( const cmcMeInfo & copy );
00054 
00055     /*!
00056     ** \brief General Constructor \n
00057     **
00058     */
00059     cmcMeInfo( cmcApplication * application, cmcObject * parent = NULL );
00060 
00061     virtual ~cmcMeInfo();
00062 
00063   public slots:
00064 
00065     /*!
00066     ** \brief Return the category Name \n
00067     **
00068     ** This returns the category name assigned as the (-Me-) category.
00069     **  Note that this call can fail if the me category has not been
00070     **  assigned in the database preferences.
00071     **
00072     */
00073     QString categoryName();
00074 
00075     /*!
00076     ** \brief Category Definition \n
00077     **
00078     **
00079     */
00080     cmcCategoryDef * categoryDef();
00081 
00082     /*!
00083     ** \brief Key value \n
00084     **
00085     **
00086     */
00087     QString key();
00088 
00089     /*!
00090     ** \brief Clarfy Value \n
00091     **
00092     **
00093     */
00094     QString cfy();
00095 
00096     /*!
00097     ** \brief Var Value \n
00098     **
00099     **
00100     */
00101     QString var();
00102 
00103     /*!
00104     ** \brief Logon Value \n
00105     **
00106     **
00107     */
00108     QString logon();
00109 
00110     /*!
00111     ** \brief Abbreviation Value \n
00112     **
00113     **
00114     */
00115     QString abbreviation();
00116 
00117     /*!
00118     ** \brief THID Value \n
00119     **
00120     **
00121     */
00122     QString thid();
00123 
00124     /*!
00125     ** \brief Guid Value \n
00126     **
00127     **
00128     */
00129     QString guid();
00130 
00131     /*!
00132     ** \brief Email Value \n
00133     **
00134     **
00135     */
00136     QString email();
00137 
00138     /*!
00139     ** \brief ID Value \n
00140     **
00141     **
00142     */
00143     QString id();
00144 
00145     /*!
00146     ** \brief Field Value \n
00147     **
00148     **
00149     */
00150     QString field( const QString & fieldName );
00151 
00152     /*!
00153     ** \brief Var Field Value \n
00154     **
00155     **
00156     */
00157     QString varField( const QString & fieldName );
00158 
00159   private:
00160 
00161     /*!
00162     ** \brief Cache Me Category Name \n
00163     **
00164     **
00165     */
00166     QString m_categoryName;
00167 
00168     /*!
00169     ** \brief Cache Me Item Name \n
00170     **
00171     **
00172     */
00173     QString m_meItem;
00174 
00175     /*!
00176     ** \brief Cache Me Key \n
00177     **
00178     **
00179     */
00180     QString m_key;
00181 
00182     /*!
00183     ** \brief Cache Me Clarify \n
00184     **
00185     **
00186     */
00187     QString m_cfy;
00188 
00189     /*!
00190     ** \brief Cache Me Var \n
00191     **
00192     **
00193     */
00194     QString m_var;
00195 
00196     /*!
00197     ** \brief Cache Me Logon \n
00198     **
00199     **
00200     */
00201     QString m_logon;
00202 
00203     /*!
00204     ** \brief Cache Me Abbreviation \n
00205     **
00206     **
00207     */
00208     QString m_abbreviation;
00209 
00210     /*!
00211     ** \brief Cache Me Email \n
00212     **
00213     **
00214     */
00215     QString m_email;
00216 
00217     /*!
00218     ** \brief Cache Me THID \n
00219     **
00220     **
00221     */
00222     QString m_thid;
00223 
00224     /*!
00225     ** \brief Cache Me Guid \n
00226     **
00227     **
00228     */
00229     QString m_guid;
00230 
00231     /*!
00232     ** \brief Cache Me Category Definition \n
00233     **
00234     **
00235     */
00236     QPointer<cmcCategoryDef> m_categoryDef;
00237 
00238 }; // endclass cmcMeInfo:
00239 
00240 } // endnamespace cmcDatabaseApi
00241 
00242 #endif // #ifndef CDA_ME_INFO_H_422FD07F_0597_4cbb_A034_9AE85166472E
00243 
 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