Show invite menu in wlm chat window immediately
[kdenetwork.git] / kopete / libkopete / kopeteuiglobal.cpp
blobdd450338c02b58c879c9e0c81aebfb93a5f72a69
1 /*
2 kopeteuiglobal.cpp - Kopete UI Globals
4 Copyright (c) 2004 by Richard Smith <kde@metafoo.co.uk>
6 Kopete (c) 2004 by the Kopete developers <kopete-devel@kde.org>
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 *************************************************************************
18 #include "kopeteuiglobal.h"
20 #include <qpointer.h>
23 namespace Kopete
27 namespace
29 QPointer<QWidget> g_mainWidget;
32 void UI::Global::setMainWidget( QWidget *widget )
34 g_mainWidget = widget;
37 QWidget *UI::Global::mainWidget()
39 return g_mainWidget;
43 // vim: set noet ts=4 sts=4 sw=4: