|
|
// ************************************************************************** // * // * File: Application.h // * Created: Sat Dec 4 1999 // * (C) 1999 by David M. <captjay@superlink.net> // * // ************************************************************************** // ************************************************************************** // * * // * This program is free software; you can redistribute it and/or modify * // * it under the terms of the GNU General Public License as published by * // * the Free Software Foundation; either version 2 of the License, or * // * (at your option) any later version. * // * * // ************************************************************************** #ifndef APPLICATION_H #define APPLICATION_H #include <qapplication.h> /** * @author David M. * @short Abstract class for application objects. * * Application is used as an abstract class for application objects. */ class Application : public QApplication { Q_OBJECT public: Application(int argc, char** argv); virtual ~Application(); /** * Start the application. This performs all the application's * initialization, then calls execProc() to perform * user-specified initializations. */ void execute(); public slots: /** * Redefine this method in subclasses to include * your one-time initialization. execProc() is called * once on startup of the application. */ virtual void execProc() = 0; }; #endif
Generated by: nightsky@centauri on Sat Jan 15 23:06:10 2000, using kdoc 2.0a30. |