1999-08-19 23:26:42 +00:00
|
|
|
#ifndef MAIN_H
|
|
|
|
#define MAIN_H
|
|
|
|
|
1999-11-01 23:41:44 +00:00
|
|
|
#include <kapp.h>
|
1999-08-19 23:26:42 +00:00
|
|
|
#include "workspace.h"
|
2000-02-12 00:25:21 +00:00
|
|
|
#include <dcopobject.h>
|
|
|
|
|
|
|
|
class kwiniface : virtual public DCOPObject
|
|
|
|
{
|
|
|
|
K_DCOP
|
2000-02-12 01:00:30 +00:00
|
|
|
public:
|
|
|
|
kwiniface() : DCOPObject("kwiniface") {}
|
|
|
|
~kwiniface() {}
|
|
|
|
void logout();
|
2000-02-12 00:25:21 +00:00
|
|
|
};
|
1999-08-19 23:26:42 +00:00
|
|
|
|
|
|
|
typedef QValueList<Workspace*> WorkspaceList;
|
1999-11-01 23:41:44 +00:00
|
|
|
class Application : public KApplication
|
1999-08-19 23:26:42 +00:00
|
|
|
{
|
|
|
|
public:
|
2000-01-12 15:08:42 +00:00
|
|
|
Application();
|
1999-08-19 23:26:42 +00:00
|
|
|
~Application();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
bool x11EventFilter( XEvent * );
|
|
|
|
|
|
|
|
private:
|
|
|
|
WorkspaceList workspaces;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|