1 | /* |
2 | kopeteuiglobal.h - Kopete UI Globals |
3 | |
4 | Copyright (c) 2004 by Richard Smith <kde@metafoo.co.uk> |
5 | |
6 | Kopete (c) 2004 by the Kopete developers <kopete-devel@kde.org> |
7 | |
8 | ************************************************************************* |
9 | * * |
10 | * This library is free software; you can redistribute it and/or * |
11 | * modify it under the terms of the GNU Lesser General Public * |
12 | * License as published by the Free Software Foundation; either * |
13 | * version 2 of the License, or (at your option) any later version. * |
14 | * * |
15 | ************************************************************************* |
16 | */ |
17 | |
18 | #ifndef KOPETEUIGLOBAL_H |
19 | #define KOPETEUIGLOBAL_H |
20 | |
21 | #include <QtGui/QWidget> |
22 | |
23 | #include "kopete_export.h" |
24 | |
25 | namespace Kopete |
26 | { |
27 | |
28 | namespace UI |
29 | { |
30 | |
31 | /** |
32 | * This namespace contains the Kopete user interface's global settings |
33 | */ |
34 | namespace Global |
35 | { |
36 | /** |
37 | * Set the main widget to widget |
38 | */ |
39 | KOPETE_EXPORT void setMainWidget( QWidget *widget ); |
40 | /** |
41 | * Returns the main widget - this is the widget that message boxes |
42 | * and KNotify stuff should use as a parent. |
43 | */ |
44 | KOPETE_EXPORT QWidget *mainWidget(); |
45 | } //Global::UI |
46 | |
47 | } //UI |
48 | |
49 | } |
50 | |
51 | #endif |
52 | |
53 | // vim: set noet ts=4 sts=4 sw=4: |
54 | |
55 | |