not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / kcontrol / randr / krandrapp.h
blob715c8cadfe22f6590b048a4f66543329ebc3fcd7
1 /*
2 * Copyright (c) 2007 Gustavo Pichorim Boiko <gustavo.boiko@kdemail.net>
3 * Copyright (c) 2002 Hamish Rodda <rodda@kde.org>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef KRANDRAPP_H
21 #define KRANDRAPP_H
23 #include <kuniqueapplication.h>
25 class KRandRSystemTray;
26 class RandRConfig;
27 class RandRDisplay;
29 class KRandRApp : public KUniqueApplication
31 Q_OBJECT
33 public:
34 KRandRApp();
36 virtual bool x11EventFilter(XEvent * e);
38 private:
39 KRandRSystemTray *m_tray;
40 RandRConfig *m_widget;
41 RandRDisplay *m_display;
44 #endif