Kooky

AUTHOR
Version 
Thu Feb 11 2016 

Table of Contents

Table of contents

Module Index
Modules
Here is a list of all modules:
MySQL Database Connector Plugin	pagenum
Kooky Main Program	pagenum

Namespace Index
Namespace List
Here is a list of all namespaces with brief descriptions:
Ui  	pagenum

Hierarchical Index
Class Hierarchy
This inheritance list is sorted roughly, but not completely, alphabetically:
cIngredient	pagenum
cInterface	pagenum
cDBInterface	pagenum
cMySQLPlugin	pagenum
cSQLitePlugin	pagenum

cImportInterface	pagenum
cBleibFitPlugin	pagenum
cErnaehrungPlugin	pagenum

cMDIArea	pagenum
cPlugin	pagenum
QDialog
cConfigDialog	pagenum
cImportIngredientDialog	pagenum
cMessageAnimateDialog	pagenum
cOptions	pagenum

QMainWindow
cMainWindow	pagenum

QMdiArea
cMdiArea	pagenum

QObject
cBleibFitPlugin	pagenum
cErnaehrungPlugin	pagenum
cMySQLPlugin	pagenum
cSQLitePlugin	pagenum

qt_meta_stringdata_cErnaehrungPlugin_t	pagenum
QWidget
cOptionsPlugins	pagenum

tagGROUPNAME	pagenum
tagMAPPER	pagenum
tagVALUES	pagenum

Class Index
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
cBleibFitPlugin  	pagenum
cConfigDialog (Configuration Dialog for dMySQL ) 	pagenum
cDBInterface (This is the base class for all database connector plugins ) 	pagenum
cErnaehrungPlugin  	pagenum
cImportIngredientDialog (This dialog imports ingredients based on the selected import plugin ) 	pagenum
cImportInterface (Interface class for importing data ) 	pagenum
cIngredient (This class holds data of an ingredient ) 	pagenum
cInterface (This is the base class for all plugins ) 	pagenum
cMainWindow (This is the class that implements the main window ) 	pagenum
cMdiArea  	pagenum
cMDIArea (This class overwrites the default MDI area of the main window ) 	pagenum
cMessageAnimateDialog (Class to display a modal message dialog ) 	pagenum
cMySQLPlugin (MySQL Database Connector Plugin class ) 	pagenum
cOptions (This dialog displays all options ) 	pagenum
cOptionsPlugins (This dialog displays all plugins ) 	pagenum
cPlugin (This class holds data of an plugin ) 	pagenum
cSQLitePlugin  	pagenum
qt_meta_stringdata_cErnaehrungPlugin_t  	pagenum
tagGROUPNAME  	pagenum
tagMAPPER  	pagenum
tagVALUES  	pagenum

File Index
File List
Here is a list of all files with brief descriptions:
dMySQL/cconfigdialog.cpp  	pagenum
dMySQL/cconfigdialog.h  	pagenum
dMySQL/cmysqlplugin.cpp  	pagenum
dMySQL/cmysqlplugin.h  	pagenum
dSQLite/csqliteplugin.cpp  	pagenum
dSQLite/csqliteplugin.h  	pagenum
iBleibFit/cbleibfitplugin.cpp  	pagenum
iBleibFit/cbleibfitplugin.h  	pagenum
iErnaehrung/cernaehrungplugin.cpp  	pagenum
iErnaehrung/cernaehrungplugin.h  	pagenum
iErnaehrung/moc_cernaehrungplugin.cpp  	pagenum
Kooky/cdbinterface.cpp  	pagenum
Kooky/cdbinterface.h  	pagenum
Kooky/cimportingredientdialog.cpp  	pagenum
Kooky/cimportingredientdialog.h  	pagenum
Kooky/cimportinterface.cpp  	pagenum
Kooky/cimportinterface.h  	pagenum
Kooky/cingredient.cpp  	pagenum
Kooky/cingredient.h  	pagenum
Kooky/cInterface.h  	pagenum
Kooky/cmainwindow.cpp  	pagenum
Kooky/cmainwindow.h  	pagenum
Kooky/cmdiarea.cpp  	pagenum
Kooky/cmdiarea.h  	pagenum
Kooky/cmessageanimatedialog.cpp  	pagenum
Kooky/cmessageanimatedialog.h  	pagenum
Kooky/coptions.cpp  	pagenum
Kooky/coptions.h  	pagenum
Kooky/coptionsplugins.cpp  	pagenum
Kooky/coptionsplugins.h  	pagenum
Kooky/cplugin.cpp  	pagenum
Kooky/cplugin.h  	pagenum
Kooky/main.cpp  	pagenum

Module Documentation
MySQL Database Connector Plugin

This module is designed to connect to MySQL Databases. 
Classes
class cConfigDialog
Configuration Dialog for dMySQL. class cMySQLPlugin
MySQL Database Connector Plugin class. 
Detailed Description

Kooky Main Program

This is the main program of Kooky. 
Classes
class cDBInterface
This is the base class for all database connector plugins. class cImportIngredientDialog
This dialog imports ingredients based on the selected import plugin. class cImportInterface
Interface class for importing data. class cIngredient
This class holds data of an ingredient. class cInterface
This is the base class for all plugins. class cMainWindow
This is the class that implements the main window. class cMDIArea
This class overwrites the default MDI area of the main window. class cMessageAnimateDialog
Class to display a modal message dialog. class cOptions
This dialog displays all options. class cOptionsPlugins
This dialog displays all plugins. class cPlugin
This class holds data of an plugin. 
Detailed Description

Namespace Documentation
Ui Namespace Reference

Class Documentation
cBleibFitPlugin Class Reference

#include <cbleibfitplugin.h>
Inheritance diagram for cBleibFitPlugin:
IMAGE

Collaboration diagram for cBleibFitPlugin:
IMAGE

Public Member Functions
qint16 pluginAPIVersion ()
QString pluginName ()
qint16 pluginVersion ()
iType pluginType ()
bool config ()
QMap< QString, QString > detailsCapability ()
QStringList search (const QString &szSearch, const QString &szDetails=QString(""))
bool load (qint16 iIndex)
qreal value (cIngredient::iIngredient i)
QString ingredientName ()
Private Attributes
QStringList m_szUrls
QStringList m_szIngredients
qreal m_rValues [cIngredient::iIngredientMax]
qint16 m_iLoadedIndex
Additional Inherited Members

Member Function Documentation
bool cBleibFitPlugin::config ()[virtual]

Returns:
bool 
Implements cInterface (p.pagenum).
Referenced by pluginType().
Here is the caller graph for this function:
IMAGE

QMap< QString, QString > cBleibFitPlugin::detailsCapability ()[virtual]

Returns:
QMap<QString, QString> 
Implements cImportInterface (p.pagenum).
Referenced by pluginType().
Here is the caller graph for this function:
IMAGE

QString cBleibFitPlugin::ingredientName ()[virtual]

Returns:
QString 
Implements cImportInterface (p.pagenum).
Referenced by pluginType().
Here is the caller graph for this function:
IMAGE

bool cBleibFitPlugin::load (qint16  iIndex)[virtual]

Parameters:
iIndex 		
Returns:
bool 
Implements cImportInterface (p.pagenum).
References tagMAPPER::key, and tagMAPPER::value.
Referenced by pluginType().
Here is the caller graph for this function:
IMAGE

qint16 cBleibFitPlugin::pluginAPIVersion ()[inline], [virtual]

Returns:
qint16 
Implements cInterface (p.pagenum).
QString cBleibFitPlugin::pluginName ()[inline], [virtual]

Returns:
QString 
Implements cInterface (p.pagenum).
iType cBleibFitPlugin::pluginType ()[inline], [virtual]

Returns:
iType 
Implements cInterface (p.pagenum).
References config(), detailsCapability(), ingredientName(), cInterface::iTypeImport, load(), search(), and value().
Here is the call graph for this function:
IMAGE

qint16 cBleibFitPlugin::pluginVersion ()[inline], [virtual]

Returns:
qint16 
Implements cInterface (p.pagenum).
QStringList cBleibFitPlugin::search (const QString &  szSearch, const QString &  szDetails = QString(""))[virtual]

Parameters:
szSearch 		
szDetails 		
Returns:
QStringList 
Implements cImportInterface (p.pagenum).
References cIngredient::iIngredientMax.
Referenced by pluginType().
Here is the caller graph for this function:
IMAGE

qreal cBleibFitPlugin::value (cIngredient::iIngredient  i)[virtual]

Parameters:
i 		
Returns:
qreal 
Implements cImportInterface (p.pagenum).
Referenced by pluginType().
Here is the caller graph for this function:
IMAGE

Member Data Documentation
qint16 cBleibFitPlugin::m_iLoadedIndex[private]
TODO: describe 
qreal cBleibFitPlugin::m_rValues[cIngredient::iIngredientMax][private]
TODO: describe 
QStringList cBleibFitPlugin::m_szIngredients[private]
TODO: describe 
QStringList cBleibFitPlugin::m_szUrls[private]
TODO: describe 

The documentation for this class was generated from the following files:
iBleibFit/cbleibfitplugin.h
iBleibFit/cbleibfitplugin.cpp

cConfigDialog Class Reference

Configuration Dialog for dMySQL. 
#include <cconfigdialog.h>
Inheritance diagram for cConfigDialog:
IMAGE

Collaboration diagram for cConfigDialog:
IMAGE

Public Member Functions
cConfigDialog (QWidget *parent=0)
~cConfigDialog ()
void setHostname (const QString &szHostname)
void setDatabase (const QString &szDatabase)
void setUserName (const QString &szUserName)
void setPassword (const QString &szPassword)
QString hostname ()
QString database ()
QString userName ()
QString password ()
Private Slots
void on_m_lpTestButton_clicked ()
void on_m_lpPassword_textChanged (const QString &arg1)
void on_m_lpPassword2_textChanged (const QString &arg1)
void on_m_lpOKButton_clicked ()
void on_m_lpCancelButton_clicked ()
Private Attributes
Ui::cConfigDialog * ui
bool m_bPasswordChanged

Detailed Description
This class implements basic import functionality for Kooky. All functions may be overwritten by derriving classes.
Note:
Attempts at zen rarely work.
Author:
Herwig Birke
Version:
1.0
Date:
2016/02/09 

Constructor & Destructor Documentation
cConfigDialog::cConfigDialog (QWidget *  parent = 0)[explicit]

Parameters:
parent 		
References ui.
cConfigDialog::~cConfigDialog ()

References ui.

Member Function Documentation
QString cConfigDialog::database ()

Returns:
QString 
References ui.
Referenced by cMySQLPlugin::config().
Here is the caller graph for this function:
IMAGE

QString cConfigDialog::hostname ()

Returns:
QString 
References ui.
Referenced by cMySQLPlugin::config().
Here is the caller graph for this function:
IMAGE

void cConfigDialog::on_m_lpCancelButton_clicked ()[private], [slot]
void cConfigDialog::on_m_lpOKButton_clicked ()[private], [slot]

References ui.
void cConfigDialog::on_m_lpPassword2_textChanged (const QString &  arg1)[private], [slot]

Parameters:
arg1 		
References m_bPasswordChanged, and ui.
void cConfigDialog::on_m_lpPassword_textChanged (const QString &  arg1)[private], [slot]

Parameters:
arg1 		
References m_bPasswordChanged, and ui.
void cConfigDialog::on_m_lpTestButton_clicked ()[private], [slot]
QString cConfigDialog::password ()

Returns:
QString 
References ui.
Referenced by cMySQLPlugin::config().
Here is the caller graph for this function:
IMAGE

void cConfigDialog::setDatabase (const QString &  szDatabase)

Parameters:
szDatabase 		
References ui.
Referenced by cMySQLPlugin::config().
Here is the caller graph for this function:
IMAGE

void cConfigDialog::setHostname (const QString &  szHostname)

Parameters:
szHostname 		
References ui.
Referenced by cMySQLPlugin::config().
Here is the caller graph for this function:
IMAGE

void cConfigDialog::setPassword (const QString &  szPassword)

Parameters:
szPassword 		
References ui.
Referenced by cMySQLPlugin::config().
Here is the caller graph for this function:
IMAGE

void cConfigDialog::setUserName (const QString &  szUserName)

Parameters:
szUserName 		
References ui.
Referenced by cMySQLPlugin::config().
Here is the caller graph for this function:
IMAGE

QString cConfigDialog::userName ()

Returns:
QString 
References ui.
Referenced by cMySQLPlugin::config().
Here is the caller graph for this function:
IMAGE

Member Data Documentation
bool cConfigDialog::m_bPasswordChanged[private]
TODO: describe 
Referenced by on_m_lpPassword2_textChanged(), and on_m_lpPassword_textChanged().
Ui::cConfigDialog* cConfigDialog::ui[private]
TODO: describe 
Referenced by cConfigDialog(), database(), hostname(), on_m_lpOKButton_clicked(), on_m_lpPassword2_textChanged(), on_m_lpPassword_textChanged(), password(), setDatabase(), setHostname(), setPassword(), setUserName(), userName(), and ~cConfigDialog().

The documentation for this class was generated from the following files:
dMySQL/cconfigdialog.h
dMySQL/cconfigdialog.cpp

cDBInterface Class Reference

This is the base class for all database connector plugins. 
#include <cdbinterface.h>
Inheritance diagram for cDBInterface:
IMAGE

Collaboration diagram for cDBInterface:
IMAGE

Public Member Functions
cDBInterface ()
Constructor. 
virtual ~cDBInterface ()
Destructor. 
virtual bool connect ()=0
Opens a connection to the database. 
virtual bool init ()=0
Initializes the module with default values. 
bool connected ()
Returns the current connection status. 
QString lastError ()
Returns the last error message of the last operation. 
Protected Attributes
bool m_bConnected
Additional Inherited Members

Detailed Description
This class implements basic interface functionality for all Kooky database connector plugins. All functions may be overwritten by derriving classes.
Note:

Author:
Herwig Birke
Version:
1.0
Date:
2016/02/09 

Constructor & Destructor Documentation
cDBInterface::cDBInterface ()[inline]
virtual cDBInterface::~cDBInterface ()[inline], [virtual]

References connect(), and init().
Here is the call graph for this function:
IMAGE

Member Function Documentation
virtual bool cDBInterface::connect ()[pure virtual]

Note:
This function must be derived by the subclass.
Returns:
bool true on success, false otherwise. 
Implemented in cMySQLPlugin (p.pagenum), and cSQLitePlugin (p.pagenum).
Referenced by ~cDBInterface().
Here is the caller graph for this function:
IMAGE

bool cDBInterface::connected ()[inline]

Note:
This function must be derived by the subclass.
Returns:
bool true if connected, false otherwise. 
References m_bConnected.
virtual bool cDBInterface::init ()[pure virtual]

Note:
This function must be derived by the subclass.
Returns:
bool true on success, false otherwise. 
Implemented in cMySQLPlugin (p.pagenum), and cSQLitePlugin (p.pagenum).
Referenced by cMainWindow::pluginDBTriggered(), and ~cDBInterface().
Here is the caller graph for this function:
IMAGE

QString cDBInterface::lastError ()[inline]

Returns:
QString error message of the last operation. 

Member Data Documentation
bool cDBInterface::m_bConnected[protected]
holds the current connection status. 
Referenced by cMySQLPlugin::config(), connected(), cSQLitePlugin::init(), cMySQLPlugin::init(), cSQLitePlugin::open(), and cMySQLPlugin::open().

The documentation for this class was generated from the following file:
Kooky/cdbinterface.h

cErnaehrungPlugin Class Reference

#include <cernaehrungplugin.h>
Inheritance diagram for cErnaehrungPlugin:
IMAGE

Collaboration diagram for cErnaehrungPlugin:
IMAGE

Public Member Functions
qint16 pluginAPIVersion ()
QString pluginName ()
qint16 pluginVersion ()
iType pluginType ()
bool config ()
QMap< QString, QString > detailsCapability ()
QStringList search (const QString &szSearch, const QString &szDetails=QString(""))
bool load (qint16 iIndex)
qreal value (cIngredient::iIngredient i)
QString ingredientName ()
Private Attributes
QStringList m_szUrls
QStringList m_szIngredients
qint16 m_iLoadedIndex
Additional Inherited Members

Member Function Documentation
bool cErnaehrungPlugin::config ()[virtual]

Returns:
bool 
Implements cInterface (p.pagenum).
Referenced by pluginType().
Here is the caller graph for this function:
IMAGE

QMap< QString, QString > cErnaehrungPlugin::detailsCapability ()[virtual]

Returns:
QMap<QString, QString> 
Implements cImportInterface (p.pagenum).
Referenced by pluginType().
Here is the caller graph for this function:
IMAGE

QString cErnaehrungPlugin::ingredientName ()[virtual]

Returns:
QString 
Implements cImportInterface (p.pagenum).
Referenced by pluginType().
Here is the caller graph for this function:
IMAGE

bool cErnaehrungPlugin::load (qint16  iIndex)[virtual]

Parameters:
iIndex 		
Returns:
bool 
Implements cImportInterface (p.pagenum).
References tagVALUES::dValue, tagVALUES::szSearch, and toValue().
Referenced by pluginType().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

qint16 cErnaehrungPlugin::pluginAPIVersion ()[inline], [virtual]

Returns:
qint16 
Implements cInterface (p.pagenum).
QString cErnaehrungPlugin::pluginName ()[inline], [virtual]

Returns:
QString 
Implements cInterface (p.pagenum).
iType cErnaehrungPlugin::pluginType ()[inline], [virtual]

Returns:
iType 
Implements cInterface (p.pagenum).
References config(), detailsCapability(), ingredientName(), cInterface::iTypeImport, load(), search(), and value().
Here is the call graph for this function:
IMAGE

qint16 cErnaehrungPlugin::pluginVersion ()[inline], [virtual]

Returns:
qint16 
Implements cInterface (p.pagenum).
QStringList cErnaehrungPlugin::search (const QString &  szSearch, const QString &  szDetails = QString(""))[virtual]

Parameters:
szSearch 		
szDetails 		
Returns:
QStringList 
Implements cImportInterface (p.pagenum).
Referenced by pluginType().
Here is the caller graph for this function:
IMAGE

qreal cErnaehrungPlugin::value (cIngredient::iIngredient  i)[virtual]

Parameters:
i 		
Returns:
qreal 
Implements cImportInterface (p.pagenum).
References tagVALUES::dValue, and tagVALUES::iIngredient.
Referenced by pluginType().
Here is the caller graph for this function:
IMAGE

Member Data Documentation
qint16 cErnaehrungPlugin::m_iLoadedIndex[private]
TODO: describe 
QStringList cErnaehrungPlugin::m_szIngredients[private]
TODO: describe 
QStringList cErnaehrungPlugin::m_szUrls[private]
TODO: describe 

The documentation for this class was generated from the following files:
iErnaehrung/cernaehrungplugin.h
iErnaehrung/cernaehrungplugin.cpp

cImportIngredientDialog Class Reference

This dialog imports ingredients based on the selected import plugin. 
#include <cimportingredientdialog.h>
Inheritance diagram for cImportIngredientDialog:
IMAGE

Collaboration diagram for cImportIngredientDialog:
IMAGE

Public Member Functions
cImportIngredientDialog (QWidget *parent=0)
~cImportIngredientDialog ()
void setPluginList (const QList< cPlugin * > pluginList)
Protected Member Functions
QStandardItem * addGroup (const QString &group)
void init ()
void initIngredientList ()
void initIngredientDetails ()
Protected Attributes
QList< cPlugin * > m_pluginList
Private Slots
void on_m_lpSearchButton_clicked ()
void on_m_lpSearchString_textChanged (const QString &arg1)
void onIngredientListSelectionChanged (const QItemSelection &selected, const QItemSelection &deselected)
Private Attributes
Ui::cImportIngredientDialog * ui
QStandardItemModel * m_lpIngredientListModel
QStandardItemModel * m_lpIngredientDetailsModel

Detailed Description
This dialog imports ingredients based on the selected import plugin.
Note:

Author:
Herwig Birke
Version:
1.0
Date:
2016/02/09 

Constructor & Destructor Documentation
cImportIngredientDialog::cImportIngredientDialog (QWidget *  parent = 0)[explicit]

Parameters:
parent 		
References init().
Here is the call graph for this function:
IMAGE

cImportIngredientDialog::~cImportIngredientDialog ()

References ui.

Member Function Documentation
QStandardItem * cImportIngredientDialog::addGroup (const QString &  group)[protected]

Parameters:
group 		
Returns:
QStandardItem 
References m_lpIngredientDetailsModel.
Referenced by onIngredientListSelectionChanged().
Here is the caller graph for this function:
IMAGE

void cImportIngredientDialog::init ()[protected]

References initIngredientDetails(), initIngredientList(), and ui.
Referenced by cImportIngredientDialog().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

void cImportIngredientDialog::initIngredientDetails ()[protected]

References m_lpIngredientDetailsModel, and ui.
Referenced by init().
Here is the caller graph for this function:
IMAGE

void cImportIngredientDialog::initIngredientList ()[protected]

References m_lpIngredientListModel, onIngredientListSelectionChanged(), and ui.
Referenced by init().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

void cImportIngredientDialog::on_m_lpSearchButton_clicked ()[private], [slot]

References cPlugin::importInterface(), m_lpIngredientListModel, cImportInterface::search(), cMessageAnimateDialog::setMessage(), cMessageAnimateDialog::setTitle(), and ui.
Here is the call graph for this function:
IMAGE

void cImportIngredientDialog::on_m_lpSearchString_textChanged (const QString &  arg1)[private], [slot]

References ui.
void cImportIngredientDialog::onIngredientListSelectionChanged (const QItemSelection &  selected, const QItemSelection &  deselected)[private], [slot]

Parameters:
selected 		
deselected 		
References addGroup(), cImportInterface::group(), cIngredient::iIngredientMax, cPlugin::importInterface(), cImportInterface::load(), m_lpIngredientDetailsModel, cImportInterface::name(), cMessageAnimateDialog::setMessage(), cMessageAnimateDialog::setTitle(), ui, cImportInterface::value(), and cImportInterface::valueStr().
Referenced by initIngredientList().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

void cImportIngredientDialog::setPluginList (const QList< cPlugin * >  pluginList)

Parameters:
pluginList 		
References cPlugin::capability(), m_pluginList, cPlugin::PluginCapImport, cPlugin::pluginName(), and ui.
Referenced by cMainWindow::onIngredientsListImport().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

Member Data Documentation
QStandardItemModel* cImportIngredientDialog::m_lpIngredientDetailsModel[private]
TODO: describe 
Referenced by addGroup(), initIngredientDetails(), and onIngredientListSelectionChanged().
QStandardItemModel* cImportIngredientDialog::m_lpIngredientListModel[private]
TODO: describe 
Referenced by initIngredientList(), and on_m_lpSearchButton_clicked().
QList<cPlugin*> cImportIngredientDialog::m_pluginList[protected]
TODO: describe 
Referenced by setPluginList().
Ui::cImportIngredientDialog* cImportIngredientDialog::ui[private]
TODO: describe 
Referenced by init(), initIngredientDetails(), initIngredientList(), on_m_lpSearchButton_clicked(), on_m_lpSearchString_textChanged(), onIngredientListSelectionChanged(), setPluginList(), and ~cImportIngredientDialog().

The documentation for this class was generated from the following files:
Kooky/cimportingredientdialog.h
Kooky/cimportingredientdialog.cpp

cImportInterface Class Reference

Interface class for importing data. 
#include <cimportinterface.h>
Inheritance diagram for cImportInterface:
IMAGE

Collaboration diagram for cImportInterface:
IMAGE

Public Member Functions
cImportInterface ()
virtual QMap< QString, QString > detailsCapability ()=0
virtual QStringList search (const QString &szSearch, const QString &szDetails=QString(""))=0
virtual bool load (qint16 iIndex)=0
bool loaded ()
virtual qreal value (cIngredient::iIngredient i)=0
QString valueStr (cIngredient::iIngredient i)
QString name (cIngredient::iIngredient i)
QString group (cIngredient::iIngredient i)
virtual QString ingredientName ()=0
Protected Attributes
bool m_bLoaded
qint16 m_iLoadedIndex
Additional Inherited Members

Detailed Description
This class implements basic import functionality for Kooky. All functions may be overwritten by derriving classes.
Note:
Attempts at zen rarely work.
Author:
Herwig Birke
Version:
1.0
Date:
$Date: 2016/02/09 

Constructor & Destructor Documentation
cImportInterface::cImportInterface ()[inline]

References detailsCapability(), load(), and search().
Here is the call graph for this function:
IMAGE

Member Function Documentation
virtual QMap<QString, QString> cImportInterface::detailsCapability ()[pure virtual]

Returns:
QMap<QString, QString> 
Implemented in cBleibFitPlugin (p.pagenum), and cErnaehrungPlugin (p.pagenum).
Referenced by cImportInterface().
Here is the caller graph for this function:
IMAGE

QString cImportInterface::group (cIngredient::iIngredient  i)

Parameters:
i 		
Returns:
QString 
References cIngredient::group().
Referenced by loaded(), and cImportIngredientDialog::onIngredientListSelectionChanged().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

virtual QString cImportInterface::ingredientName ()[pure virtual]

Returns:
QString 
Implemented in cBleibFitPlugin (p.pagenum), and cErnaehrungPlugin (p.pagenum).
Referenced by loaded().
Here is the caller graph for this function:
IMAGE

virtual bool cImportInterface::load (qint16  iIndex)[pure virtual]

Parameters:
iIndex 		
Returns:
bool 
Implemented in cBleibFitPlugin (p.pagenum), and cErnaehrungPlugin (p.pagenum).
Referenced by cImportInterface(), and cImportIngredientDialog::onIngredientListSelectionChanged().
Here is the caller graph for this function:
IMAGE

bool cImportInterface::loaded ()[inline]

Returns:
bool 
References group(), ingredientName(), m_bLoaded, name(), value(), and valueStr().
Here is the call graph for this function:
IMAGE

QString cImportInterface::name (cIngredient::iIngredient  i)

Parameters:
i 		
Returns:
QString 
References cIngredient::name().
Referenced by loaded(), and cImportIngredientDialog::onIngredientListSelectionChanged().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

virtual QStringList cImportInterface::search (const QString &  szSearch, const QString &  szDetails = QString(""))[pure virtual]

Parameters:
szSearch 		
szDetails 		
Returns:
QStringList 
Implemented in cBleibFitPlugin (p.pagenum), and cErnaehrungPlugin (p.pagenum).
Referenced by cImportInterface(), and cImportIngredientDialog::on_m_lpSearchButton_clicked().
Here is the caller graph for this function:
IMAGE

virtual qreal cImportInterface::value (cIngredient::iIngredient  i)[pure virtual]

Parameters:
i 		
Returns:
qreal 
Implemented in cBleibFitPlugin (p.pagenum), and cErnaehrungPlugin (p.pagenum).
Referenced by loaded(), cImportIngredientDialog::onIngredientListSelectionChanged(), and valueStr().
Here is the caller graph for this function:
IMAGE

QString cImportInterface::valueStr (cIngredient::iIngredient  i)

Parameters:
i 		
Returns:
qreal 
References cIngredient::iIngredientCalories, cIngredient::iIngredientJoule, and value().
Referenced by loaded(), and cImportIngredientDialog::onIngredientListSelectionChanged().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

Member Data Documentation
bool cImportInterface::m_bLoaded[protected]
TODO: describe 
Referenced by loaded().
qint16 cImportInterface::m_iLoadedIndex[protected]
TODO: describe 

The documentation for this class was generated from the following files:
Kooky/cimportinterface.h
Kooky/cimportinterface.cpp

cIngredient Class Reference

This class holds data of an ingredient. 
#include <cingredient.h>
Public Types
enum iIngredient { iIngredientBreadUnits = 0, iIngredientCalories = 1, iIngredientProtein = 2, iIngredientFat = 3, iIngredientCarbohydrates = 4, iIngredientAlcohol = 5, iIngredientWater = 6, iIngredientTotalDietaryFibre = 7, iIngredientCholesterol = 8, iIngredientMineral = 9, iIngredientVitaminARetinol = 10, iIngredientVitaminD = 11, iIngredientVitaminEactiv = 12, iIngredientFolicacid = 13, iIngredientVitaminB1 = 14, iIngredientVitaminB2 = 15, iIngredientVitaminB6 = 16, iIngredientVitaminC = 17, iIngredientaTocopherol = 18, iIngredientVitaminK = 19, iIngredientNicotinamide = 20, iIngredientPantothenicacid = 21, iIngredientBiotin = 22, iIngredientVitaminB12 = 23, iIngredientRetinolequivalent = 24, iIngredientbCarotene = 25, iIngredientNiacinequivalent = 26, iIngredientfreefolicacidequivalent = 27, iIngredientfreefolicacid = 28, iIngredientSodium = 29, iIngredientPotassium = 30, iIngredientMagnesium = 31, iIngredientCalcium = 32, iIngredientIron = 33, iIngredientPhosphorus = 34, iIngredientCopper = 35, iIngredientZinc = 36, iIngredientChloride = 37, iIngredientFluoride = 38, iIngredientIodide = 39, iIngredientSelenium = 40, iIngredientManganese = 41, iIngredientSulphur = 42, iIngredientArginine = 43, iIngredientCystine = 44, iIngredientHistidine = 45, iIngredientIsoleucine = 46, iIngredientLeucine = 47, iIngredientLysine = 48, iIngredientMethionine = 49, iIngredientPhenylalanine = 50, iIngredientThreonine = 51, iIngredientTryptophane = 52, iIngredientTyrosine = 53, iIngredientValine = 54, iIngredientAlanine = 55, iIngredientAsparticacid = 56, iIngredientGlutamicacid = 57, iIngredientGlycine = 58, iIngredientProline = 59, iIngredientSerine = 60, iIngredientotheressent_aminoacids = 61, iIngredientessent_aminoacids = 62, iIngredientothernonessent_aminoacids = 63, iIngredientnonessent_aminoacids = 64, iIngredientSaturatedfattyacids = 65, iIngredientMonounsaturatedfattyacids = 66, iIngredientPolyunsaturatedfattyacids = 67, iIngredientButyricacid = 68, iIngredientCaproicacid = 69, iIngredientCaprylicacid = 70, iIngredientCapricacid = 71, iIngredientLauricacid = 72, iIngredientMyristicacid = 73, iIngredientC15_O_fattyacid = 74, iIngredientPalmiticacid = 75, iIngredientMargaricacid = 76, iIngredientStearicacid = 77, iIngredientArachicacid = 78, iIngredientBehenicacid = 79, iIngredientLignocericacid = 80, iIngredientPalmitoleicacid = 81, iIngredientOleicacid = 82, iIngredientEicosenicacid = 83, iIngredientC22_1_fattyacid = 84, iIngredientC14_1_fattyacid = 85, iIngredientC24_1_fattyacid = 86, iIngredientLinoleicacid = 87, iIngredientLinolenicacid = 88, iIngredientArachidonicacid = 89, iIngredientC18_4_fattyacid = 90, iIngredientC20_5_N_3fattyacid = 91, iIngredientC22_5_N_3fattyacid = 92, iIngredientC22_6_N_3fattyacid = 93, iIngredientC16_2_fattyacid = 94, iIngredientothersaturatedfattyacids = 95, iIngredientothermonounsaturatedfattyacids = 96, iIngredientNonadecatrienicacid = 97, iIngredientEicosadienicacid = 98, iIngredientEicosatrienicacid = 99, iIngredientDocosadienicacid = 100, iIngredientDocosatrienicacid = 101, iIngredientDocosatetraenicacid = 102, iIngredientotherpolyunsat_fattyacids = 103, iIngredientothershort_chainfattyacids = 104, iIngredientshort_chainfattyacids = 105, iIngredientothermedium_chainfattyacids = 106, iIngredientmedium_chainfattyacids = 107, iIngredientotherlong_chainfattyacids = 108, iIngredientlong_chainfattyacids = 109, iIngredientGlycerolandLipoides = 110, iIngredientSorbitol = 111, iIngredientGlucose = 112, iIngredientFructose = 113, iIngredientSucrose = 114, iIngredientLactose = 115, iIngredientStarch = 116, iIngredientMaltose = 117, iIngredientGalactose = 118, iIngredientGlycogene = 119, iIngredientPentosan = 120, iIngredientHexosan = 121, iIngredientCellulose = 122, iIngredientPolyuronicacid = 123, iIngredientMannitol = 124, iIngredientXylitol = 125, iIngredientothersugaralcohols = 126, iIngredientTotalsugaralcohols = 127, iIngredientothermonosaccharides = 128, iIngredientMonosaccharides = 129, iIngredientotherdisaccharides = 130, iIngredientDisaccharides = 131, iIngredientOligosaccharidesresorb = 132, iIngredientOligosaccharidesnonresorb = 133, iIngredientotherpolysaccharides = 134, iIngredientPolysaccharides = 135, iIngredientDietaryfibrewatersoluble = 136, iIngredientDietaryfibrewaterinsoluble = 137, iIngredientLignin = 138, iIngredientPurinebasesnitrogen = 139, iIngredientSodiumchloride = 140, iIngredientWaste = 141, iIngredientotherproteins = 142, iIngredientanimalprotein = 143, iIngredientplantprotein = 144, iIngredientUricacid = 145, iIngredientotherorganicacids = 146, iIngredientMol_diff_cations_anions = 147, iIngredientNitrogenfactor = 148, iIngredientFattyacidpart = 149, iIngredientMineralspart = 150, iIngredientPS_Ratio = 151, iIngredientBiologicalvalue = 152, iIngredientFructosefreebreadunits = 153, iIngredientaverageconsumption = 154, iIngredientJoule = 155, iIngredientSugar = 156, iIngredientAspartid = 157, iIngredientGlutamid = 158, iIngredientMax }
Public Member Functions
cIngredient (const QString &szFileName)
bool reload ()
bool save ()
Static Public Member Functions
static QString group (cIngredient::iIngredient i)
static QString name (cIngredient::iIngredient i)
Private Attributes
QString m_szFileName

Detailed Description
This class holds data of an ingredient.
Note:

Author:
Herwig Birke
Version:
1.0
Date:
2016/02/09 

Member Enumeration Documentation
enum cIngredient::iIngredient

Enumerator
iIngredientBreadUnits  
iIngredientCalories  
iIngredientProtein  
iIngredientFat  
iIngredientCarbohydrates  
iIngredientAlcohol  
iIngredientWater  
iIngredientTotalDietaryFibre  
iIngredientCholesterol  
iIngredientMineral  
iIngredientVitaminARetinol  
iIngredientVitaminD  
iIngredientVitaminEactiv  
iIngredientFolicacid  
iIngredientVitaminB1  
iIngredientVitaminB2  
iIngredientVitaminB6  
iIngredientVitaminC  
iIngredientaTocopherol  
iIngredientVitaminK  
iIngredientNicotinamide  
iIngredientPantothenicacid  
iIngredientBiotin  
iIngredientVitaminB12  
iIngredientRetinolequivalent  
iIngredientbCarotene  
iIngredientNiacinequivalent  
iIngredientfreefolicacidequivalent  
iIngredientfreefolicacid  
iIngredientSodium  
iIngredientPotassium  
iIngredientMagnesium  
iIngredientCalcium  
iIngredientIron  
iIngredientPhosphorus  
iIngredientCopper  
iIngredientZinc  
iIngredientChloride  
iIngredientFluoride  
iIngredientIodide  
iIngredientSelenium  
iIngredientManganese  
iIngredientSulphur  
iIngredientArginine  
iIngredientCystine  
iIngredientHistidine  
iIngredientIsoleucine  
iIngredientLeucine  
iIngredientLysine  
iIngredientMethionine  
iIngredientPhenylalanine  
iIngredientThreonine  
iIngredientTryptophane  
iIngredientTyrosine  
iIngredientValine  
iIngredientAlanine  
iIngredientAsparticacid  
iIngredientGlutamicacid  
iIngredientGlycine  
iIngredientProline  
iIngredientSerine  
iIngredientotheressent_aminoacids  
iIngredientessent_aminoacids  
iIngredientothernonessent_aminoacids  
iIngredientnonessent_aminoacids  
iIngredientSaturatedfattyacids  
iIngredientMonounsaturatedfattyacids  
iIngredientPolyunsaturatedfattyacids  
iIngredientButyricacid  
iIngredientCaproicacid  
iIngredientCaprylicacid  
iIngredientCapricacid  
iIngredientLauricacid  
iIngredientMyristicacid  
iIngredientC15_O_fattyacid  
iIngredientPalmiticacid  
iIngredientMargaricacid  
iIngredientStearicacid  
iIngredientArachicacid  
iIngredientBehenicacid  
iIngredientLignocericacid  
iIngredientPalmitoleicacid  
iIngredientOleicacid  
iIngredientEicosenicacid  
iIngredientC22_1_fattyacid  
iIngredientC14_1_fattyacid  
iIngredientC24_1_fattyacid  
iIngredientLinoleicacid  
iIngredientLinolenicacid  
iIngredientArachidonicacid  
iIngredientC18_4_fattyacid  
iIngredientC20_5_N_3fattyacid  
iIngredientC22_5_N_3fattyacid  
iIngredientC22_6_N_3fattyacid  
iIngredientC16_2_fattyacid  
iIngredientothersaturatedfattyacids  
iIngredientothermonounsaturatedfattyacids  
iIngredientNonadecatrienicacid  
iIngredientEicosadienicacid  
iIngredientEicosatrienicacid  
iIngredientDocosadienicacid  
iIngredientDocosatrienicacid  
iIngredientDocosatetraenicacid  
iIngredientotherpolyunsat_fattyacids  
iIngredientothershort_chainfattyacids  
iIngredientshort_chainfattyacids  
iIngredientothermedium_chainfattyacids  
iIngredientmedium_chainfattyacids  
iIngredientotherlong_chainfattyacids  
iIngredientlong_chainfattyacids  
iIngredientGlycerolandLipoides  
iIngredientSorbitol  
iIngredientGlucose  
iIngredientFructose  
iIngredientSucrose  
iIngredientLactose  
iIngredientStarch  
iIngredientMaltose  
iIngredientGalactose  
iIngredientGlycogene  
iIngredientPentosan  
iIngredientHexosan  
iIngredientCellulose  
iIngredientPolyuronicacid  
iIngredientMannitol  
iIngredientXylitol  
iIngredientothersugaralcohols  
iIngredientTotalsugaralcohols  
iIngredientothermonosaccharides  
iIngredientMonosaccharides  
iIngredientotherdisaccharides  
iIngredientDisaccharides  
iIngredientOligosaccharidesresorb  
iIngredientOligosaccharidesnonresorb  
iIngredientotherpolysaccharides  
iIngredientPolysaccharides  
iIngredientDietaryfibrewatersoluble  
iIngredientDietaryfibrewaterinsoluble  
iIngredientLignin  
iIngredientPurinebasesnitrogen  
iIngredientSodiumchloride  
iIngredientWaste  
iIngredientotherproteins  
iIngredientanimalprotein  
iIngredientplantprotein  
iIngredientUricacid  
iIngredientotherorganicacids  
iIngredientMol_diff_cations_anions  
iIngredientNitrogenfactor  
iIngredientFattyacidpart  
iIngredientMineralspart  
iIngredientPS_Ratio  
iIngredientBiologicalvalue  
iIngredientFructosefreebreadunits  
iIngredientaverageconsumption  
iIngredientJoule  
iIngredientSugar  
iIngredientAspartid  
iIngredientGlutamid  
iIngredientMax  

Constructor & Destructor Documentation
cIngredient::cIngredient (const QString &  szFileName)

References reload().
Here is the call graph for this function:
IMAGE

Member Function Documentation
QString cIngredient::group (cIngredient::iIngredient  i)[static]

Parameters:
i 		
Returns:
QString 
Referenced by cImportInterface::group().
Here is the caller graph for this function:
IMAGE

QString cIngredient::name (cIngredient::iIngredient  i)[static]

Parameters:
i 		
Returns:
QString 
Referenced by cImportInterface::name().
Here is the caller graph for this function:
IMAGE

bool cIngredient::reload ()

Returns:
bool 
Referenced by cIngredient().
Here is the caller graph for this function:
IMAGE

bool cIngredient::save ()

Returns:
bool 
References m_szFileName.

Member Data Documentation
QString cIngredient::m_szFileName[private]
TODO: describe 
Referenced by save().

The documentation for this class was generated from the following files:
Kooky/cingredient.h
Kooky/cingredient.cpp

cInterface Class Reference

This is the base class for all plugins. 
#include <cInterface.h>
Inheritance diagram for cInterface:
IMAGE

Public Types
enum iType { iTypeImport = 0, iTypeExport = 1, iTypeDB = 2 }Defines the type of the interface. 
Public Member Functions
virtual qint16 pluginAPIVersion ()=0
Returns the version of the API. 
virtual QString pluginName ()=0
Returns the name of the plugin. 
virtual qint16 pluginVersion ()=0
Version of the plugin. 
virtual iType pluginType ()=0
Returns the type of the plugin. 
virtual bool config ()=0
Calls the configuration dialog (if any). 

Detailed Description
This class implements basic interface functionality for all Kooky plugins. All functions may be overwritten by derriving classes.
Note:
Do not subclass this class directly, always use the appropriate subclass: cDBInterface for database connectors, cImportInterface for import plugins and cExportInterface for export plugins.
Author:
Herwig Birke
Version:
1.0
Date:
2016/02/09 

Member Enumeration Documentation
enum cInterface::iType

Enumerator
iTypeImport  import plugin 
iTypeExport  export plugin 
iTypeDB  database connector 

Member Function Documentation
virtual bool cInterface::config ()[pure virtual]

Note:
This function must be derived by the subclass.
Returns:
bool true on success, false otherwise. 
Implemented in cMySQLPlugin (p.pagenum), cSQLitePlugin (p.pagenum), cBleibFitPlugin (p.pagenum), and cErnaehrungPlugin (p.pagenum).
Referenced by cMainWindow::pluginDBTriggered(), and cOptionsPlugins::showConfigDlg().
Here is the caller graph for this function:
IMAGE

virtual qint16 cInterface::pluginAPIVersion ()[pure virtual]

Note:
This function must be derived by the subclass.
Returns:
qint16 version of the API 
Implemented in cMySQLPlugin (p.pagenum), cSQLitePlugin (p.pagenum), cBleibFitPlugin (p.pagenum), and cErnaehrungPlugin (p.pagenum).
Referenced by cPlugin::pluginAPIVersion().
Here is the caller graph for this function:
IMAGE

virtual QString cInterface::pluginName ()[pure virtual]

Note:
This function must be derived by the subclass. 
The name must be unique and will also be used to store configuration settings.
Returns:
QString name of the plugin. 
Implemented in cMySQLPlugin (p.pagenum), cSQLitePlugin (p.pagenum), cBleibFitPlugin (p.pagenum), and cErnaehrungPlugin (p.pagenum).
Referenced by cMainWindow::pluginDBTriggered(), and cPlugin::pluginName().
Here is the caller graph for this function:
IMAGE

virtual iType cInterface::pluginType ()[pure virtual]

Note:
This function must be derived by the subclass.
Returns:
iType type of the plugin (see enum iType). 
Implemented in cMySQLPlugin (p.pagenum), cSQLitePlugin (p.pagenum), cBleibFitPlugin (p.pagenum), and cErnaehrungPlugin (p.pagenum).
virtual qint16 cInterface::pluginVersion ()[pure virtual]

Note:
This function must be derived by the subclass.
Returns:
qint16 version of the plugin. 
Implemented in cMySQLPlugin (p.pagenum), cSQLitePlugin (p.pagenum), cBleibFitPlugin (p.pagenum), and cErnaehrungPlugin (p.pagenum).
Referenced by cPlugin::pluginVersion().
Here is the caller graph for this function:
IMAGE

The documentation for this class was generated from the following file:
Kooky/cInterface.h

cMainWindow Class Reference

This is the class that implements the main window. 
#include <cmainwindow.h>
Inheritance diagram for cMainWindow:
IMAGE

Collaboration diagram for cMainWindow:
IMAGE

Public Member Functions
cMainWindow (QWidget *parent=0)
Constructor. 
~cMainWindow ()
Destructor. 
QList< cPlugin * > pluginList ()
Returns the list of loaded plugins. 
Private Slots
void pluginImportTriggered ()
Testing of import trigger raised by import plugins. 
void pluginExportTriggered ()
Testing of export trigger raised by export plugins. 
void pluginDBTriggered ()
Testing of database trigger raised by database connector plugins. 
void on_m_lpMenu_File_Exit_triggered ()
Menu entry "File -> Exit" triggered. 
void on_m_lpMenu_Tools_Options_triggered ()
Menu entry "Tools -> Options" triggered. 
void onIngredientsListCustomContextMenu (const QPoint &point)
Custom contest menu of ingredients list has been requested. 
void onIngredientsListNew ()
New ingredient has been requested. 
void onIngredientsListImport ()
Import of ingredient has been requested. 
void onIngredientsListDelete ()
Delete of ingredient has been requested. 
void onIngredientsListEdit ()
Edit of ingredient has been requested. 
Private Member Functions
void init ()
Initialized main windows. 
void initDefaultSettings ()
Initializes default settings for Kooky. 
void loadPlugins (const QString &szPluginDir)
Loads plugins in the given path. 
cPlugin * plugin (QAction *lpAction)
Finds a plugin with the given action. 
Private Attributes
Ui::cMainWindow * ui
QList< cPlugin * > m_pluginList
QStandardItemModel * m_lpIngredientsListModel
QAction * m_lpIngredientsListNew
QAction * m_lpIngredientsListImport
QAction * m_lpIngredientsListDelete
QAction * m_lpIngredientsListEdit
QMenu * m_lpIngredientsListMenu

Detailed Description
This class implements the main window and main functionality of Kooky.
Author:
Herwig Birke
Version:
1.0
Date:
2016/02/09 

Constructor & Destructor Documentation
cMainWindow::cMainWindow (QWidget *  parent = 0)[explicit]

Parameters:
parent 		
References init().
Here is the call graph for this function:
IMAGE

cMainWindow::~cMainWindow ()

References m_lpIngredientsListDelete, m_lpIngredientsListEdit, m_lpIngredientsListNew, and ui.

Member Function Documentation
void cMainWindow::init ()[private]

References initDefaultSettings(), loadPlugins(), m_lpIngredientsListDelete, m_lpIngredientsListEdit, m_lpIngredientsListImport, m_lpIngredientsListMenu, m_lpIngredientsListModel, m_lpIngredientsListNew, onIngredientsListCustomContextMenu(), onIngredientsListDelete(), onIngredientsListEdit(), onIngredientsListImport(), onIngredientsListNew(), and ui.
Referenced by cMainWindow().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

void cMainWindow::initDefaultSettings ()[private]

Referenced by init().
Here is the caller graph for this function:
IMAGE

void cMainWindow::loadPlugins (const QString &  szPluginDir)[private]

Parameters:
szPluginDir 	Path to plugins 	
References cPlugin::isValid(), m_pluginList, pluginDBTriggered(), pluginExportTriggered(), pluginImportTriggered(), cPlugin::pluginName(), cPlugin::setAction(), and ui.
Referenced by init().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

void cMainWindow::on_m_lpMenu_File_Exit_triggered ()[private], [slot]
void cMainWindow::on_m_lpMenu_Tools_Options_triggered ()[private], [slot]
void cMainWindow::onIngredientsListCustomContextMenu (const QPoint &  point)[private], [slot]

Parameters:
point 	Current position of mouse cursor. 	
References m_lpIngredientsListDelete, m_lpIngredientsListEdit, m_lpIngredientsListMenu, m_lpIngredientsListNew, and ui.
Referenced by init().
Here is the caller graph for this function:
IMAGE

void cMainWindow::onIngredientsListDelete ()[private], [slot]

Referenced by init().
Here is the caller graph for this function:
IMAGE

void cMainWindow::onIngredientsListEdit ()[private], [slot]

Referenced by init().
Here is the caller graph for this function:
IMAGE

void cMainWindow::onIngredientsListImport ()[private], [slot]

References m_pluginList, and cImportIngredientDialog::setPluginList().
Referenced by init().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

void cMainWindow::onIngredientsListNew ()[private], [slot]

Referenced by init().
Here is the caller graph for this function:
IMAGE

cPlugin * cMainWindow::plugin (QAction *  lpAction)[private]

Parameters:
lpAction 	Action of the plugin. 	
Returns:
cPlugin Plugin corresponding to the action, NULL if not found. 
References m_pluginList.
Referenced by pluginDBTriggered().
Here is the caller graph for this function:
IMAGE

void cMainWindow::pluginDBTriggered ()[private], [slot]

References cInterface::config(), cPlugin::dbInterface(), cDBInterface::init(), plugin(), cInterface::pluginName(), and cPlugin::pluginName().
Referenced by loadPlugins().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

void cMainWindow::pluginExportTriggered ()[private], [slot]

Referenced by loadPlugins().
Here is the caller graph for this function:
IMAGE

void cMainWindow::pluginImportTriggered ()[private], [slot]

Referenced by loadPlugins().
Here is the caller graph for this function:
IMAGE

QList< cPlugin * > cMainWindow::pluginList ()

Returns:
QList<cPlugin *> List of loaded plugins. 
References m_pluginList.
Referenced by cOptions::cOptions().
Here is the caller graph for this function:
IMAGE

Member Data Documentation
QAction* cMainWindow::m_lpIngredientsListDelete[private]
"Delee Ingredient" Action for ingredients context menu 
Referenced by init(), onIngredientsListCustomContextMenu(), and ~cMainWindow().
QAction* cMainWindow::m_lpIngredientsListEdit[private]
"Edit Ingredient" Action for ingredients context menu 
Referenced by init(), onIngredientsListCustomContextMenu(), and ~cMainWindow().
QAction* cMainWindow::m_lpIngredientsListImport[private]
"Import Ingredient" Action for ingredients context menu 
Referenced by init().
QMenu* cMainWindow::m_lpIngredientsListMenu[private]
Context menu for ingredients list 
Referenced by init(), and onIngredientsListCustomContextMenu().
QStandardItemModel* cMainWindow::m_lpIngredientsListModel[private]
standard item model for ingredients list 
Referenced by init().
QAction* cMainWindow::m_lpIngredientsListNew[private]
"New Ingredient" Action for ingredients context menu 
Referenced by init(), onIngredientsListCustomContextMenu(), and ~cMainWindow().
QList<cPlugin*> cMainWindow::m_pluginList[private]
List of loaded plugins 
Referenced by loadPlugins(), onIngredientsListImport(), plugin(), and pluginList().
Ui::cMainWindow* cMainWindow::ui[private]
the main window GUI 
Referenced by init(), loadPlugins(), onIngredientsListCustomContextMenu(), and ~cMainWindow().

The documentation for this class was generated from the following files:
Kooky/cmainwindow.h
Kooky/cmainwindow.cpp

cMdiArea Class Reference

#include <cmdiarea.h>
Inheritance diagram for cMdiArea:
IMAGE

Collaboration diagram for cMdiArea:
IMAGE

Public Member Functions
cMdiArea (QWidget *parent=0)
Protected Member Functions
void paintEvent (QPaintEvent *event)
Private Attributes
QImage m_background

Constructor & Destructor Documentation
cMdiArea::cMdiArea (QWidget *  parent = 0)

References m_background.

Member Function Documentation
void cMdiArea::paintEvent (QPaintEvent *  event)[protected]

Member Data Documentation
QImage cMdiArea::m_background[private]

Referenced by cMdiArea().

The documentation for this class was generated from the following files:
Kooky/cmdiarea.h
Kooky/cmdiarea.cpp

cMDIArea Class Reference

This class overwrites the default MDI area of the main window. 
#include <cmdiarea.h>

Detailed Description
This class overwrites the default MDI area of the main window. It also adds the capability to display a background image in the MDI area.
Note:

Author:
Herwig Birke
Version:
1.0
Date:
2016/02/09 

The documentation for this class was generated from the following file:
Kooky/cmdiarea.h

cMessageAnimateDialog Class Reference

Class to display a modal message dialog. 
#include <cmessageanimatedialog.h>
Inheritance diagram for cMessageAnimateDialog:
IMAGE

Collaboration diagram for cMessageAnimateDialog:
IMAGE

Public Member Functions
cMessageAnimateDialog (QWidget *parent=0)
constructor. 
~cMessageAnimateDialog ()
destructor. 
void setTitle (const QString &szTitle)
Sets the title of the dialog. 
void setMessage (const QString &szMessage)
Sets the message of the dialog. 
Protected Attributes
QString m_szMessage
QTimer * m_lpTimer
int m_iCount
int m_iDirection
Private Slots
void update ()
This function is called twice a second to update the displayed message. 
Private Attributes
Ui::cMessageAnimateDialog * ui

Detailed Description
Class to display a modal message dialog. Title and message can be configured. The dialog displays the message and adds up to 3 points zwice a second to the message.
Author:
Herwig Birke
Version:
1.0
Date:
$Date: 2016/02/09 

Constructor & Destructor Documentation
cMessageAnimateDialog::cMessageAnimateDialog (QWidget *  parent = 0)[explicit]

Parameters:
parent 		
References ui.
cMessageAnimateDialog::~cMessageAnimateDialog ()

References m_lpTimer, and ui.

Member Function Documentation
void cMessageAnimateDialog::setMessage (const QString &  szMessage)

Parameters:
szMessage 	Message text 	
References m_lpTimer, m_szMessage, ui, and update().
Referenced by cImportIngredientDialog::on_m_lpSearchButton_clicked(), and cImportIngredientDialog::onIngredientListSelectionChanged().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

void cMessageAnimateDialog::setTitle (const QString &  szTitle)

Parameters:
szTitle 	Title text 	
Referenced by cImportIngredientDialog::on_m_lpSearchButton_clicked(), and cImportIngredientDialog::onIngredientListSelectionChanged().
Here is the caller graph for this function:
IMAGE

void cMessageAnimateDialog::update ()[private], [slot]

References m_iCount, m_iDirection, m_szMessage, and ui.
Referenced by setMessage().
Here is the caller graph for this function:
IMAGE

Member Data Documentation
int cMessageAnimateDialog::m_iCount[protected]
Number of points currently being displayed 
Referenced by update().
int cMessageAnimateDialog::m_iDirection[protected]
Increase / decrease number of points 
Referenced by update().
QTimer* cMessageAnimateDialog::m_lpTimer[protected]
Timer object 
Referenced by setMessage(), and ~cMessageAnimateDialog().
QString cMessageAnimateDialog::m_szMessage[protected]
Message to be displayed 
Referenced by setMessage(), and update().
Ui::cMessageAnimateDialog* cMessageAnimateDialog::ui[private]
User interface of the dialog. 
Referenced by cMessageAnimateDialog(), setMessage(), update(), and ~cMessageAnimateDialog().

The documentation for this class was generated from the following files:
Kooky/cmessageanimatedialog.h
Kooky/cmessageanimatedialog.cpp

cMySQLPlugin Class Reference

MySQL Database Connector Plugin class. 
#include <cmysqlplugin.h>
Inheritance diagram for cMySQLPlugin:
IMAGE

Collaboration diagram for cMySQLPlugin:
IMAGE

Public Member Functions
qint16 pluginAPIVersion ()
Returns the version of the plugin API. 
QString pluginName ()
Returns the name of the plugin. 
qint16 pluginVersion ()
returns the version of the plugin 
iType pluginType ()
returns the type of the plugin. 
bool connect ()
connects to the database. 
bool init ()
initializes default settings for the plugin. 
QString lastError ()
returns the last error string. 
bool config ()
calls the configuration dialog. 
Protected Member Functions
bool open ()
opens the database. 
Protected Attributes
QSqlDatabase m_db
QString m_szLastError
Additional Inherited Members

Detailed Description
This class implements the database connector for MySQL. All functions may be overwritten by derriving classes.
Note:

Author:
Herwig Birke
Version:
1.0
Date:
$Date: 2016/02/09 

Member Function Documentation
bool cMySQLPlugin::config ()[virtual]

Returns:
bool true if the configuration has been changed successfully or false otherwise. 
Implements cInterface (p.pagenum).
References cConfigDialog::database(), cConfigDialog::hostname(), cDBInterface::m_bConnected, m_db, open(), cConfigDialog::password(), pluginName(), cConfigDialog::setDatabase(), cConfigDialog::setHostname(), cConfigDialog::setPassword(), cConfigDialog::setUserName(), and cConfigDialog::userName().
Referenced by pluginType().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

bool cMySQLPlugin::connect ()[virtual]

Returns:
bool true on success or false otherwise 
Implements cDBInterface (p.pagenum).
References m_db, open(), and pluginName().
Referenced by pluginType().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

bool cMySQLPlugin::init ()[virtual]

Returns:
bool true if settings where successfully tested or false otherwise. 
Implements cDBInterface (p.pagenum).
References cDBInterface::m_bConnected, m_db, m_szLastError, and pluginName().
Referenced by pluginType().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

QString cMySQLPlugin::lastError ()

Returns:
QString last error 
References m_szLastError.
Referenced by pluginType().
Here is the caller graph for this function:
IMAGE

bool cMySQLPlugin::open ()[protected]

Returns:
bool true on success or false otherwise. 
References cDBInterface::m_bConnected, m_db, and m_szLastError.
Referenced by config(), connect(), and pluginType().
Here is the caller graph for this function:
IMAGE

qint16 cMySQLPlugin::pluginAPIVersion ()[inline], [virtual]

Returns:
qint16 plugin API version 
Implements cInterface (p.pagenum).
QString cMySQLPlugin::pluginName ()[inline], [virtual]

Returns:
QString name of the plugin 
Implements cInterface (p.pagenum).
Referenced by config(), connect(), and init().
Here is the caller graph for this function:
IMAGE

iType cMySQLPlugin::pluginType ()[inline], [virtual]

Returns:
iType type of the plugin.
Returns the type of the plugin. Possible values are: 
cInterface::iTypeDB 
 plugin provides DB connector 
cInterface::iTypeExport 
 plugin provides export capabilities 
cInterface::iTypeImport 
 plugin provides import capabilities  
Implements cInterface (p.pagenum).
References config(), connect(), init(), cInterface::iTypeDB, lastError(), and open().
Here is the call graph for this function:
IMAGE

qint16 cMySQLPlugin::pluginVersion ()[inline], [virtual]

Returns:
qint16 version of the plugin 
Implements cInterface (p.pagenum).

Member Data Documentation
QSqlDatabase cMySQLPlugin::m_db[protected]
holds the database connection 
Referenced by config(), connect(), init(), and open().
QString cMySQLPlugin::m_szLastError[protected]
holds the last error message 
Referenced by init(), lastError(), and open().

The documentation for this class was generated from the following files:
dMySQL/cmysqlplugin.h
dMySQL/cmysqlplugin.cpp

cOptions Class Reference

This dialog displays all options. 
#include <coptions.h>
Inheritance diagram for cOptions:
IMAGE

Collaboration diagram for cOptions:
IMAGE

Public Member Functions
cOptions (QWidget *parent=0)
~cOptions ()
Protected Member Functions
void init ()
Private Slots
void onOptionsTreeSelectionChanged (const QItemSelection &selected, const QItemSelection &deselected)
Private Attributes
Ui::cOptions * ui
cMainWindow * m_lpMainWindow
QList< cPlugin * > m_pluginList
QStandardItemModel * m_lpOptionsTreeModel

Detailed Description

Note:

Author:
Herwig Birke
Version:
1.0
Date:
2016/02/09 

Constructor & Destructor Documentation
cOptions::cOptions (QWidget *  parent = 0)[explicit]

Parameters:
parent 		
References init(), m_lpMainWindow, m_lpOptionsTreeModel, m_pluginList, cMainWindow::pluginList(), and ui.
Here is the call graph for this function:
IMAGE

cOptions::~cOptions ()

References ui.

Member Function Documentation
void cOptions::init ()[protected]

References m_lpOptionsTreeModel, onOptionsTreeSelectionChanged(), and ui.
Referenced by cOptions().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

void cOptions::onOptionsTreeSelectionChanged (const QItemSelection &  selected, const QItemSelection &  deselected)[private], [slot]

Parameters:
selected 		
deselected 		
References m_lpOptionsTreeModel, m_pluginList, cOptionsPlugins::setPlugins(), and ui.
Referenced by init().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

Member Data Documentation
cMainWindow* cOptions::m_lpMainWindow[private]
TODO: describe 
Referenced by cOptions().
QStandardItemModel* cOptions::m_lpOptionsTreeModel[private]
TODO: describe 
Referenced by cOptions(), init(), and onOptionsTreeSelectionChanged().
QList<cPlugin*> cOptions::m_pluginList[private]
TODO: describe 
Referenced by cOptions(), and onOptionsTreeSelectionChanged().
Ui::cOptions* cOptions::ui[private]
TODO: describe 
Referenced by cOptions(), init(), onOptionsTreeSelectionChanged(), and ~cOptions().

The documentation for this class was generated from the following files:
Kooky/coptions.h
Kooky/coptions.cpp

cOptionsPlugins Class Reference

This dialog displays all plugins. 
#include <coptionsplugins.h>
Inheritance diagram for cOptionsPlugins:
IMAGE

Collaboration diagram for cOptionsPlugins:
IMAGE

Public Member Functions
cOptionsPlugins (QWidget *parent=0)
~cOptionsPlugins ()
void setPlugins (QList< cPlugin * > &plugins)
Protected Member Functions
void init ()
void showConfigDlg (const QModelIndex &index)
Private Slots
void onOptionsPluginTreeSelectionChanged (const QItemSelection &selected, const QItemSelection &deselected)
void onOptionsPluginTreeDoubleClicked (const QModelIndex &index)
void onOptionsPluginTreePluginToggled (bool b)
void on_m_lpButtonConfigure_clicked ()
Private Attributes
Ui::cOptionsPlugins * ui
QStandardItemModel * m_lpPluginsListModel

Detailed Description

Note:

Author:
Herwig Birke
Version:
1.0
Date:
2016/02/09 

Constructor & Destructor Documentation
cOptionsPlugins::cOptionsPlugins (QWidget *  parent = 0)[explicit]

Parameters:
parent 		
References init().
Here is the call graph for this function:
IMAGE

cOptionsPlugins::~cOptionsPlugins ()

References ui.

Member Function Documentation
void cOptionsPlugins::init ()[protected]

References m_lpPluginsListModel, onOptionsPluginTreeDoubleClicked(), onOptionsPluginTreeSelectionChanged(), and ui.
Referenced by cOptionsPlugins().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

void cOptionsPlugins::on_m_lpButtonConfigure_clicked ()[private], [slot]

References m_lpPluginsListModel, showConfigDlg(), and ui.
Here is the call graph for this function:
IMAGE

void cOptionsPlugins::onOptionsPluginTreeDoubleClicked (const QModelIndex &  index)[private], [slot]

Parameters:
index 		
References m_lpPluginsListModel, and showConfigDlg().
Referenced by init().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

void cOptionsPlugins::onOptionsPluginTreePluginToggled (bool  b)[private], [slot]

Parameters:
b 		
References m_lpPluginsListModel, cPlugin::pluginName(), and ui.
Referenced by setPlugins().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

void cOptionsPlugins::onOptionsPluginTreeSelectionChanged (const QItemSelection &  selected, const QItemSelection &  deselected)[private], [slot]

Parameters:
selected 		
deselected 		
References ui.
Referenced by init().
Here is the caller graph for this function:
IMAGE

void cOptionsPlugins::setPlugins (QList< cPlugin * > &  plugins)

Parameters:
plugins 		
References m_lpPluginsListModel, onOptionsPluginTreePluginToggled(), cPlugin::PluginCapDB, cPlugin::PluginCapExport, cPlugin::PluginCapImport, cPlugin::PluginCapNone, and ui.
Referenced by cOptions::onOptionsTreeSelectionChanged().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

void cOptionsPlugins::showConfigDlg (const QModelIndex &  index)[protected]

Parameters:
index 		
References cPlugin::capability(), cInterface::config(), cPlugin::dbInterface(), cPlugin::importInterface(), m_lpPluginsListModel, cPlugin::PluginCapDB, cPlugin::PluginCapExport, and cPlugin::PluginCapImport.
Referenced by on_m_lpButtonConfigure_clicked(), and onOptionsPluginTreeDoubleClicked().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

Member Data Documentation
QStandardItemModel* cOptionsPlugins::m_lpPluginsListModel[private]
TODO: describe 
Referenced by init(), on_m_lpButtonConfigure_clicked(), onOptionsPluginTreeDoubleClicked(), onOptionsPluginTreePluginToggled(), setPlugins(), and showConfigDlg().
Ui::cOptionsPlugins* cOptionsPlugins::ui[private]
TODO: describe 
Referenced by init(), on_m_lpButtonConfigure_clicked(), onOptionsPluginTreePluginToggled(), onOptionsPluginTreeSelectionChanged(), setPlugins(), and ~cOptionsPlugins().

The documentation for this class was generated from the following files:
Kooky/coptionsplugins.h
Kooky/coptionsplugins.cpp

cPlugin Class Reference

This class holds data of an plugin. 
#include <cplugin.h>
Collaboration diagram for cPlugin:
IMAGE

Public Types
enum PluginCap { PluginCapNone = 0, PluginCapImport = 1, PluginCapExport = 2, PluginCapDB = 3 }
Public Member Functions
cPlugin (const QString &szFile)
~cPlugin ()
bool isValid ()
PluginCap capability ()
QString pluginName ()
qint16 pluginAPIVersion ()
qint16 pluginVersion ()
void setAction (QAction *lpAction)
QAction * action ()
QString pluginFile ()
cImportInterface * importInterface ()
cDBInterface * dbInterface ()
Private Attributes
QPluginLoader * m_lpPluginLoader
cImportInterface * m_lpImportInterface
cDBInterface * m_lpDBInterface
QAction * m_lpAction

Detailed Description

Note:

Author:
Herwig Birke
Version:
1.0
Date:
2016/02/09 

Member Enumeration Documentation
enum cPlugin::PluginCap

Enumerator
PluginCapNone  
PluginCapImport  
PluginCapExport  
PluginCapDB  

Constructor & Destructor Documentation
cPlugin::cPlugin (const QString &  szFile)

References m_lpDBInterface, m_lpImportInterface, and m_lpPluginLoader.
cPlugin::~cPlugin ()

References m_lpPluginLoader.

Member Function Documentation
QAction * cPlugin::action ()

Returns:
QAction 
References m_lpAction.
cPlugin::PluginCap cPlugin::capability ()

Returns:
PluginCap 
References m_lpDBInterface, m_lpImportInterface, PluginCapDB, PluginCapImport, and PluginCapNone.
Referenced by cImportIngredientDialog::setPluginList(), and cOptionsPlugins::showConfigDlg().
Here is the caller graph for this function:
IMAGE

cDBInterface * cPlugin::dbInterface ()

Returns:
cDBInterface 
References m_lpDBInterface.
Referenced by cMainWindow::pluginDBTriggered(), and cOptionsPlugins::showConfigDlg().
Here is the caller graph for this function:
IMAGE

cImportInterface * cPlugin::importInterface ()

Returns:
cImportInterface 
References m_lpImportInterface.
Referenced by cImportIngredientDialog::on_m_lpSearchButton_clicked(), cImportIngredientDialog::onIngredientListSelectionChanged(), and cOptionsPlugins::showConfigDlg().
Here is the caller graph for this function:
IMAGE

bool cPlugin::isValid ()

Returns:
bool 
References m_lpPluginLoader.
Referenced by cMainWindow::loadPlugins().
Here is the caller graph for this function:
IMAGE

qint16 cPlugin::pluginAPIVersion ()

Returns:
qint16 
References m_lpDBInterface, m_lpImportInterface, and cInterface::pluginAPIVersion().
Here is the call graph for this function:
IMAGE

QString cPlugin::pluginFile ()

Returns:
QString 
References m_lpPluginLoader.
QString cPlugin::pluginName ()

Returns:
QString 
References m_lpDBInterface, m_lpImportInterface, and cInterface::pluginName().
Referenced by cMainWindow::loadPlugins(), cOptionsPlugins::onOptionsPluginTreePluginToggled(), cMainWindow::pluginDBTriggered(), and cImportIngredientDialog::setPluginList().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

qint16 cPlugin::pluginVersion ()

Returns:
qint16 
References m_lpDBInterface, m_lpImportInterface, and cInterface::pluginVersion().
Here is the call graph for this function:
IMAGE

void cPlugin::setAction (QAction *  lpAction)

Parameters:
lpAction 		
References m_lpAction.
Referenced by cMainWindow::loadPlugins().
Here is the caller graph for this function:
IMAGE

Member Data Documentation
QAction* cPlugin::m_lpAction[private]
TODO: describe 
Referenced by action(), and setAction().
cDBInterface* cPlugin::m_lpDBInterface[private]
TODO: describe 
Referenced by capability(), cPlugin(), dbInterface(), pluginAPIVersion(), pluginName(), and pluginVersion().
cImportInterface* cPlugin::m_lpImportInterface[private]
TODO: describe 
Referenced by capability(), cPlugin(), importInterface(), pluginAPIVersion(), pluginName(), and pluginVersion().
QPluginLoader* cPlugin::m_lpPluginLoader[private]
TODO: describe 
Referenced by cPlugin(), isValid(), pluginFile(), and ~cPlugin().

The documentation for this class was generated from the following files:
Kooky/cplugin.h
Kooky/cplugin.cpp

cSQLitePlugin Class Reference

#include <csqliteplugin.h>
Inheritance diagram for cSQLitePlugin:
IMAGE

Collaboration diagram for cSQLitePlugin:
IMAGE

Public Member Functions
qint16 pluginAPIVersion ()
QString pluginName ()
qint16 pluginVersion ()
iType pluginType ()
bool connect ()
bool init ()
QString lastError ()
bool config ()
Protected Member Functions
bool open ()
Protected Attributes
QSqlDatabase m_db
QString m_szLastError
Additional Inherited Members

Member Function Documentation
bool cSQLitePlugin::config ()[virtual]

Returns:
bool 
Implements cInterface (p.pagenum).
Referenced by pluginType().
Here is the caller graph for this function:
IMAGE

bool cSQLitePlugin::connect ()[virtual]

Returns:
bool 
Implements cDBInterface (p.pagenum).
References m_db, open(), and pluginName().
Referenced by pluginType().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

bool cSQLitePlugin::init ()[virtual]

Returns:
bool 
Implements cDBInterface (p.pagenum).
References cDBInterface::m_bConnected, m_db, m_szLastError, and pluginName().
Referenced by pluginType().
Here is the call graph for this function:
IMAGE

Here is the caller graph for this function:
IMAGE

QString cSQLitePlugin::lastError ()

Returns:
QString 
References m_szLastError.
Referenced by pluginType().
Here is the caller graph for this function:
IMAGE

bool cSQLitePlugin::open ()[protected]

Returns:
bool 
References cDBInterface::m_bConnected, m_db, and m_szLastError.
Referenced by connect(), and pluginType().
Here is the caller graph for this function:
IMAGE

qint16 cSQLitePlugin::pluginAPIVersion ()[inline], [virtual]

Returns:
qint16 
Implements cInterface (p.pagenum).
QString cSQLitePlugin::pluginName ()[inline], [virtual]

Returns:
QString 
Implements cInterface (p.pagenum).
Referenced by connect(), and init().
Here is the caller graph for this function:
IMAGE

iType cSQLitePlugin::pluginType ()[inline], [virtual]

Returns:
iType 
Implements cInterface (p.pagenum).
References config(), connect(), init(), cInterface::iTypeDB, lastError(), and open().
Here is the call graph for this function:
IMAGE

qint16 cSQLitePlugin::pluginVersion ()[inline], [virtual]

Returns:
qint16 
Implements cInterface (p.pagenum).

Member Data Documentation
QSqlDatabase cSQLitePlugin::m_db[protected]
TODO: describe 
Referenced by connect(), init(), and open().
QString cSQLitePlugin::m_szLastError[protected]
TODO: describe 
Referenced by init(), lastError(), and open().

The documentation for this class was generated from the following files:
dSQLite/csqliteplugin.h
dSQLite/csqliteplugin.cpp

qt_meta_stringdata_cErnaehrungPlugin_t Struct Reference
Public Attributes
QByteArrayData data [1]
char stringdata [19]

Member Data Documentation
QByteArrayData qt_meta_stringdata_cErnaehrungPlugin_t::data[1]
char qt_meta_stringdata_cErnaehrungPlugin_t::stringdata[19]

The documentation for this struct was generated from the following file:
iErnaehrung/moc_cernaehrungplugin.cpp

tagGROUPNAME Struct Reference
Public Attributes
QString szName
QString szGroup
cIngredient::iIngredient iIngredient

Member Data Documentation
cIngredient::iIngredient tagGROUPNAME::iIngredient
QString tagGROUPNAME::szGroup
QString tagGROUPNAME::szName

The documentation for this struct was generated from the following file:
Kooky/cingredient.cpp

tagMAPPER Struct Reference
Public Attributes
QString key
qint16 value

Member Data Documentation
QString tagMAPPER::key

Referenced by cBleibFitPlugin::load().
qint16 tagMAPPER::value

Referenced by cBleibFitPlugin::load().

The documentation for this struct was generated from the following file:
iBleibFit/cbleibfitplugin.cpp

tagVALUES Struct Reference
Public Attributes
QString szSearch
cIngredient::iIngredient iIngredient
qreal dValue

Member Data Documentation
qreal tagVALUES::dValue

Referenced by cErnaehrungPlugin::load(), and cErnaehrungPlugin::value().
cIngredient::iIngredient tagVALUES::iIngredient

Referenced by cErnaehrungPlugin::value().
QString tagVALUES::szSearch

Referenced by cErnaehrungPlugin::load().

The documentation for this struct was generated from the following file:
iErnaehrung/cernaehrungplugin.cpp

File Documentation
dMySQL/cconfigdialog.cpp File Reference
#include "cconfigdialog.h"
#include "ui_cconfigdialog.h"
#include <QMessageBox>
#include <QSettings>
#include <QCloseEvent>
Include dependency graph for cconfigdialog.cpp:
IMAGE

dMySQL/cconfigdialog.h File Reference
#include <QDialog>
#include <QCloseEvent>
Include dependency graph for cconfigdialog.h:
IMAGE

This graph shows which files directly or indirectly include this file:
IMAGE

Classes
class cConfigDialog
Configuration Dialog for dMySQL. Namespaces
 Ui

dMySQL/cmysqlplugin.cpp File Reference
#include "cmysqlplugin.h"
#include "cconfigdialog.h"
#include <QSqlError>
#include <QSettings>
#include <QSqlQuery>
#include <QMessageBox>
Include dependency graph for cmysqlplugin.cpp:
IMAGE

dMySQL/cmysqlplugin.h File Reference
#include "cdbinterface.h"
#include <QtCore>
#include <QObject>
#include <QString>
#include <QSqlDatabase>
Include dependency graph for cmysqlplugin.h:
IMAGE

This graph shows which files directly or indirectly include this file:
IMAGE

Classes
class cMySQLPlugin
MySQL Database Connector Plugin class. 

dSQLite/csqliteplugin.cpp File Reference
#include "csqliteplugin.h"
#include <QSqlError>
#include <QSettings>
#include <QSqlQuery>
#include <QMessageBox>
Include dependency graph for csqliteplugin.cpp:
IMAGE

dSQLite/csqliteplugin.h File Reference
#include "cdbinterface.h"
#include <QtCore>
#include <QObject>
#include <QString>
#include <QSqlDatabase>
Include dependency graph for csqliteplugin.h:
IMAGE

This graph shows which files directly or indirectly include this file:
IMAGE

Classes
class cSQLitePlugin

iBleibFit/cbleibfitplugin.cpp File Reference
#include "cbleibfitplugin.h"
#include <QNetworkAccessManager>
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QEventLoop>
#include <QMessageBox>
Include dependency graph for cbleibfitplugin.cpp:
IMAGE

Classes
struct tagMAPPER
Typedefs
typedef struct tagMAPPER MAPPER
Variables
MAPPER g_ingredientMapper []

Typedef Documentation
typedef struct tagMAPPER	 MAPPER

Variable Documentation
MAPPER g_ingredientMapper[]

iBleibFit/cbleibfitplugin.h File Reference
#include <QtCore>
#include <QObject>
#include <QString>
#include "cimportinterface.h"
Include dependency graph for cbleibfitplugin.h:
IMAGE

This graph shows which files directly or indirectly include this file:
IMAGE

Classes
class cBleibFitPlugin

iErnaehrung/cernaehrungplugin.cpp File Reference
#include "cernaehrungplugin.h"
#include <QNetworkAccessManager>
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QEventLoop>
#include <QMessageBox>
#include <QTextDocument>
Include dependency graph for cernaehrungplugin.cpp:
IMAGE

Classes
struct tagVALUES
Typedefs
typedef struct tagVALUES VALUES
Functions
double toValue (const QString &sz)
Variables
VALUES g_values []

Typedef Documentation
typedef struct tagVALUES  VALUES

Function Documentation
double toValue (const QString &  sz)

Referenced by cErnaehrungPlugin::load().
Here is the caller graph for this function:
IMAGE

Variable Documentation
VALUES g_values[]

iErnaehrung/cernaehrungplugin.h File Reference
#include <QtCore>
#include <QObject>
#include <QString>
#include "cimportinterface.h"
Include dependency graph for cernaehrungplugin.h:
IMAGE

This graph shows which files directly or indirectly include this file:
IMAGE

Classes
class cErnaehrungPlugin

iErnaehrung/moc_cernaehrungplugin.cpp File Reference
#include "cernaehrungplugin.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/qplugin.h>
Include dependency graph for moc_cernaehrungplugin.cpp:
IMAGE

Classes
struct qt_meta_stringdata_cErnaehrungPlugin_t
Macros
#define QT_MOC_LITERAL(idx,  ofs,  len)
Variables
static const qt_meta_stringdata_cErnaehrungPlugin_t qt_meta_stringdata_cErnaehrungPlugin
static const uint qt_meta_data_cErnaehrungPlugin []
QT_PLUGIN_METADATA_SECTION const uint qt_section_alignment_dummy = 42
static QT_PLUGIN_METADATA_SECTION const unsigned char qt_pluginMetaData []

Macro Definition Documentation
#define QT_MOC_LITERAL( idx,  ofs,  len)
Value:Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    offsetof(qt_meta_stringdata_cErnaehrungPlugin_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData) \
    )

Variable Documentation
const uint qt_meta_data_cErnaehrungPlugin[][static]
Initial value:= {

       7,       
       0,       
       0,    0, 
       0,    0, 
       0,    0, 
       0,    0, 
       0,    0, 
       0,       
       0,       

       0        
}
const qt_meta_stringdata_cErnaehrungPlugin_t qt_meta_stringdata_cErnaehrungPlugin[static]
Initial value:= {
    {

    },
    "cErnaehrungPlugin\0"
}
QT_PLUGIN_METADATA_SECTION const unsigned char qt_pluginMetaData[][static]
Initial value:= {
    'Q', 'T', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', ' ', ' ',
    0x71, 0x62, 0x6a, 0x73, 0x01, 0x00, 0x00, 0x00,
    0xb8, 0x00, 0x00, 0x00, 0x0b, 0x00, 0x00, 0x00,
    0xa4, 0x00, 0x00, 0x00, 0x1b, 0x03, 0x00, 0x00,
    0x03, 0x00, 0x49, 0x49, 0x44, 0x00, 0x00, 0x00,
    0x11, 0x00, 0x63, 0x45, 0x72, 0x6e, 0x61, 0x65,
    0x68, 0x72, 0x75, 0x6e, 0x67, 0x50, 0x6c, 0x75,
    0x67, 0x69, 0x6e, 0x00, 0x95, 0x07, 0x00, 0x00,
    0x08, 0x00, 0x4d, 0x65, 0x74, 0x61, 0x44, 0x61,
    0x74, 0x61, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00,
    0x03, 0x00, 0x00, 0x00, 0x24, 0x00, 0x00, 0x00,
    0x14, 0x03, 0x00, 0x00, 0x04, 0x00, 0x4b, 0x65,
    0x79, 0x73, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x0c, 0x00, 0x00, 0x00, 0x9b, 0x0e, 0x00, 0x00,
    0x09, 0x00, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x4e,
    0x61, 0x6d, 0x65, 0x00, 0x11, 0x00, 0x63, 0x45,
    0x72, 0x6e, 0x61, 0x65, 0x68, 0x72, 0x75, 0x6e,
    0x67, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x00,
    0x31, 0x00, 0x00, 0x00, 0x05, 0x00, 0x64, 0x65,
    0x62, 0x75, 0x67, 0x00, 0x3a, 0x40, 0xa0, 0x00,
    0x07, 0x00, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
    0x6e, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00,
    0x2c, 0x00, 0x00, 0x00, 0x64, 0x00, 0x00, 0x00,
    0x88, 0x00, 0x00, 0x00, 0x94, 0x00, 0x00, 0x00
}
QT_PLUGIN_METADATA_SECTION const uint qt_section_alignment_dummy = 42

Kooky/cdbinterface.cpp File Reference
#include "cdbinterface.h"
Include dependency graph for cdbinterface.cpp:
IMAGE

Kooky/cdbinterface.h File Reference
#include "cInterface.h"
#include <QtPlugin>
#include <QString>
#include <QStringList>
Include dependency graph for cdbinterface.h:
IMAGE

This graph shows which files directly or indirectly include this file:
IMAGE

Classes
class cDBInterface
This is the base class for all database connector plugins. Functions
QT_BEGIN_NAMESPACE Q_DECLARE_INTERFACE (cDBInterface,"WIN-DESIGN.cDBInterface/1.0")

Function Documentation
QT_BEGIN_NAMESPACE Q_DECLARE_INTERFACE (cDBInterface , "WIN-DESIGN.cDBInterface/1.0" )

Kooky/cimportingredientdialog.cpp File Reference
#include "cimportingredientdialog.h"
#include "ui_cimportingredientdialog.h"
#include "cmessageanimatedialog.h"
Include dependency graph for cimportingredientdialog.cpp:
IMAGE

Kooky/cimportingredientdialog.h File Reference
#include "cplugin.h"
#include <QDialog>
#include <QList>
#include <QStandardItemModel>
#include <QItemSelection>
Include dependency graph for cimportingredientdialog.h:
IMAGE

This graph shows which files directly or indirectly include this file:
IMAGE

Classes
class cImportIngredientDialog
This dialog imports ingredients based on the selected import plugin. Namespaces
 Ui

Kooky/cimportinterface.cpp File Reference
#include "cimportinterface.h"
Include dependency graph for cimportinterface.cpp:
IMAGE

Kooky/cimportinterface.h File Reference
#include "cingredient.h"
#include "cInterface.h"
#include <QtPlugin>
#include <QString>
#include <QStringList>
#include <QMap>
Include dependency graph for cimportinterface.h:
IMAGE

This graph shows which files directly or indirectly include this file:
IMAGE

Classes
class cImportInterface
Interface class for importing data. Functions
QT_BEGIN_NAMESPACE Q_DECLARE_INTERFACE (cImportInterface,"WIN-DESIGN.cImportInterface/1.0")

Function Documentation
QT_BEGIN_NAMESPACE Q_DECLARE_INTERFACE (cImportInterface , "WIN-DESIGN.cImportInterface/1.0" )

Kooky/cingredient.cpp File Reference
#include "cingredient.h"
#include <QFile>
#include <QXmlStreamWriter>
Include dependency graph for cingredient.cpp:
IMAGE

Classes
struct tagGROUPNAME
Typedefs
typedef struct tagGROUPNAME GROUPNAME
Variables
static GROUPNAME g_groupname []

Typedef Documentation
typedef struct tagGROUPNAME	 GROUPNAME

Variable Documentation
GROUPNAME g_groupname[][static]

Kooky/cingredient.h File Reference
#include <QDate>
#include <QString>
#include <QFile>
#include <QDomDocument>
Include dependency graph for cingredient.h:
IMAGE

This graph shows which files directly or indirectly include this file:
IMAGE

Classes
class cIngredient
This class holds data of an ingredient. 

Kooky/cInterface.h File Reference
#include <QString>
Include dependency graph for cInterface.h:
IMAGE

This graph shows which files directly or indirectly include this file:
IMAGE

Classes
class cInterface
This is the base class for all plugins. 

Kooky/cmainwindow.cpp File Reference
#include "cmainwindow.h"
#include "ui_cmainwindow.h"
#include "cimportinterface.h"
#include "cingredient.h"
#include "coptions.h"
#include "cimportingredientdialog.h"
#include <QPluginLoader>
#include <QDebug>
#include <QMessageBox>
#include <QSettings>
#include <QDir>
#include <QImage>
#include <QContextMenuEvent>
Include dependency graph for cmainwindow.cpp:
IMAGE

Kooky/cmainwindow.h File Reference
#include "cplugin.h"
#include <QList>
#include <QMainWindow>
#include <QStandardItemModel>
Include dependency graph for cmainwindow.h:
IMAGE

This graph shows which files directly or indirectly include this file:
IMAGE

Classes
class cMainWindow
This is the class that implements the main window. Namespaces
 Ui

Kooky/cmdiarea.cpp File Reference
#include "cmdiarea.h"
#include <QSettings>
#include <QPainter>
Include dependency graph for cmdiarea.cpp:
IMAGE

Kooky/cmdiarea.h File Reference
#include <QMdiArea>
#include <QImage>
Include dependency graph for cmdiarea.h:
IMAGE

This graph shows which files directly or indirectly include this file:
IMAGE

Classes
class cMdiArea

Kooky/cmessageanimatedialog.cpp File Reference
#include "cmessageanimatedialog.h"
#include "ui_cmessageanimatedialog.h"
Include dependency graph for cmessageanimatedialog.cpp:
IMAGE

Kooky/cmessageanimatedialog.h File Reference
#include <QDialog>
#include <QTimer>
Include dependency graph for cmessageanimatedialog.h:
IMAGE

This graph shows which files directly or indirectly include this file:
IMAGE

Classes
class cMessageAnimateDialog
Class to display a modal message dialog. Namespaces
 Ui

Kooky/coptions.cpp File Reference
#include "coptions.h"
#include "ui_coptions.h"
#include "coptionsplugins.h"
#include <QTreeWidgetItem>
Include dependency graph for coptions.cpp:
IMAGE

Kooky/coptions.h File Reference
#include "cmainwindow.h"
#include <QDialog>
#include <QStandardItemModel>
#include <QItemSelection>
Include dependency graph for coptions.h:
IMAGE

This graph shows which files directly or indirectly include this file:
IMAGE

Classes
class cOptions
This dialog displays all options. Namespaces
 Ui

Kooky/coptionsplugins.cpp File Reference
#include "coptionsplugins.h"
#include "ui_coptionsplugins.h"
#include <QCheckBox>
#include <QSettings>
Include dependency graph for coptionsplugins.cpp:
IMAGE

Kooky/coptionsplugins.h File Reference
#include "cplugin.h"
#include <QWidget>
#include <QStandardItemModel>
#include <QItemSelection>
Include dependency graph for coptionsplugins.h:
IMAGE

This graph shows which files directly or indirectly include this file:
IMAGE

Classes
class cOptionsPlugins
This dialog displays all plugins. Namespaces
 Ui

Kooky/cplugin.cpp File Reference
#include "cplugin.h"
#include <QObject>
Include dependency graph for cplugin.cpp:
IMAGE

Kooky/cplugin.h File Reference
#include "cimportinterface.h"
#include "cdbinterface.h"
#include <QPluginLoader>
#include <QAction>
Include dependency graph for cplugin.h:
IMAGE

This graph shows which files directly or indirectly include this file:
IMAGE

Classes
class cPlugin
This class holds data of an plugin. 

Kooky/main.cpp File Reference
#include "cmainwindow.h"
#include <QApplication>
Include dependency graph for main.cpp:
IMAGE

Functions
int main (int argc, char *argv[])

Function Documentation
int main (int  argc, char *  argv[])

Index
INDEX