2
// This file is part of the KVirc irc client distribution
3
// Copyright (C) 1999-2000 Szymon Stefanek (stefanek@tin.it)
5
// This program is FREE software. You can redistribute it and/or
6
// modify it under the terms of the GNU General Public License
7
// as published by the Free Software Foundation; either version 2
8
// of the License, or (at your opinion) 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.
13
// See the 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 Foundation,
17
// Inc. ,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21
#ifndef _KVI_TOOLBAR_H_INCLUDED_
22
#define _KVI_TOOLBAR_H_INCLUDED_
30
class KviToolBarButton;
32
class KviToolBar : public QToolBar
35
public: // Consruction & Destruction
36
KviToolBar(KviFrame *parent,QMainWindow::ToolBarDock dock);
39
KviToolBarButton *m_pConnectButton;
40
// KviSysTray *m_pSysTray;
42
void setConnectButtonState(int state);
45
#define KVI_CONNECT_BUTTON_STATE_READY 0
46
#define KVI_CONNECT_BUTTON_STATE_BUSY 1
47
#define KVI_CONNECT_BUTTON_STATE_CONNECTED 2
49
class KviMdiToolBar : public QToolBar
53
KviMdiToolBar(KviFrame *parent,QMainWindow::ToolBarDock dock);
57
#endif //_KVI_TOOLBAR_H_INCLUDED_