1
#ifndef _KVI_TAL_APPLICATION_H_
2
#define _KVI_TAL_APPLICATION_H_
3
//=============================================================================
5
// File : KviTalApplication.h
6
// Creation date : Sun Jun 18 2000 12:53:08 by Szymon Stefanek
8
// This file is part of the KVIrc irc client distribution
9
// Copyright (C) 2000-2010 Szymon Stefanek (pragma at kvirc dot net)
11
// This program is FREE software. You can redistribute it and/or
12
// modify it under the terms of the GNU General Public License
13
// as published by the Free Software Foundation; either version 2
14
// of the License, or (at your opinion) any later version.
16
// This program is distributed in the HOPE that it will be USEFUL,
17
// but WITHOUT ANY WARRANTY; without even the implied warranty of
18
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19
// See the GNU General Public License for more details.
21
// You should have received a copy of the GNU General Public License
22
// along with this program. If not, write to the Free Software Foundation,
23
// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25
//=============================================================================
27
// This file was originally named kvi_appbase_kde.h, created on 1999
29
//=============================================================================
32
* \file KviTalApplication.h
33
* \author Szymon Stefanek
34
* \brief Toolkit Abstraction Level class
37
#include "kvi_settings.h"
40
* \class KviTalApplication
41
* \brief Toolkit Abstraction Layer: application class
44
#ifdef COMPILE_KDE_SUPPORT
46
#include <KApplication>
47
class KVILIB_API KviTalApplication : public KApplication
50
#include <QApplication>
51
class KVILIB_API KviTalApplication : public QApplication
57
* \brief Constructs the application object
58
* \param iArgc The number of arguments
59
* \param ppcArgv The arguments list
60
* \return KviTalApplication
62
KviTalApplication(int & iArgc, char ** ppcArgv);
65
* \brief Destructs the application object
70
* \brief Commits the data and save the session
71
* \param manager The session manager
74
void commitData(QSessionManager & manager);
77
* \brief Saves configuration to disk
80
virtual void saveConfiguration() = 0;
83
#endif // _KVI_TAL_APPLICATION_H_