Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

KDEFrontEnd Class Reference

frontend for KDE. More...

#include <kdeFrontEnd.h>

Inherits FrontEnd.

List of all members.

Public Methods

 KDEFrontEnd (int argc, char** argv)
 ~KDEFrontEnd ()
void init ()
 Initialization function. More...

void update ()
 Update function. More...

void displayUsers (int users)
 Display logged in Users. More...

void displayMatrices (int matrices)
 Display open matrices (OBSOLETE!!). More...

void displayDebugMessage (const char*)
 Display a debug message. More...


Private Attributes

int argc
char** argv


Detailed Description

frontend for KDE.

Definition at line 7 of file kdeFrontEnd.h.

00007 {
00008     public:
00009     KDEFrontEnd (int argc, char** argv);
00010     ~KDEFrontEnd ();
00011 
00012     void    init ();
00013 
00014     void    update ();
00015 
00016     void    displayUsers (int users);   // amount of users logged in
00017     void    displayMatrices (int matrices); // amount of active matrices
00018 
00019     void    displayDebugMessage (const char*);
00020 
00021     private:
00022     int    argc;
00023     char** argv;
00024 }

Constructor & Destructor Documentation

KDEFrontEnd::KDEFrontEnd ( int argc,
char ** argv)

Definition at line 11 of file kdeFrontEnd.cpp.

00011 {
00012     this->argc = argc;
00013     this->argv = argv;
00014 }

KDEFrontEnd::~KDEFrontEnd ()

Definition at line 27 of file kdeFrontEnd.cpp.

00027 {
00028     printf ("KDEFrontEnd Destructor\n");
00029 }

Member Function Documentation

void KDEFrontEnd::displayDebugMessage ( const char * msg) [virtual]

Display a debug message.

Parameters:
msg   the debug message

Reimplemented from FrontEnd.

void KDEFrontEnd::displayMatrices ( int matrices) [virtual]

Display open matrices (OBSOLETE!!).

Parameters:
matrices   number of open matrices

Reimplemented from FrontEnd.

Definition at line 37 of file kdeFrontEnd.cpp.

00037 {
00038 }

void KDEFrontEnd::displayUsers ( int users) [virtual]

Display logged in Users.

Parameters:
users   number of users to be displayed

Reimplemented from FrontEnd.

Definition at line 34 of file kdeFrontEnd.cpp.

00034 {
00035 }

void KDEFrontEnd::init () [virtual]

Initialization function.

Reimplemented from FrontEnd.

Definition at line 16 of file kdeFrontEnd.cpp.

00016 {
00017     KApplication* frontApp;
00018     frontApp = new KApplication (argc, argv);
00019     
00020     printf ("KDEFrontEnd Constructor: %p\n", frontApp);
00021 
00022     mainWidget.show ();
00023     frontApp->setMainWidget (&mainWidget);
00024     frontApp->exec ();    
00025 }

void KDEFrontEnd::update () [virtual]

Update function.

Reimplemented from FrontEnd.

Definition at line 31 of file kdeFrontEnd.cpp.

00031 {
00032 }

Member Data Documentation

int KDEFrontEnd::argc [private]

Definition at line 22 of file kdeFrontEnd.h.

char ** KDEFrontEnd::argv [private]

Definition at line 23 of file kdeFrontEnd.h.


The documentation for this class was generated from the following files:
Generated at Sat May 13 13:50:25 2000 for 3Dsia by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000