~ubuntu-branches/ubuntu/hoary/kvirc/hoary

« back to all changes in this revision

Viewing changes to src/kvirc/kvi_toolbar.h

  • Committer: Bazaar Package Importer
  • Author(s): Robin Verduijn
  • Date: 2004-12-14 15:32:19 UTC
  • mfrom: (0.2.1 upstream) (1.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20041214153219-fdink3gyp2s20b6g
Tags: 2:2.1.3.1-2
* Change Recommends on xmms to a Suggests.
* Rebuild against KDE 3.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//
2
 
//   This file is part of the KVirc irc client distribution
3
 
//   Copyright (C) 1999-2000 Szymon Stefanek (stefanek@tin.it)
4
 
//
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.
9
 
//
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.
14
 
//
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.
18
 
//
19
 
 
20
 
 
21
 
#ifndef _KVI_TOOLBAR_H_INCLUDED_
22
 
#define _KVI_TOOLBAR_H_INCLUDED_
23
 
 
24
 
#include <qtoolbar.h>
25
 
 
26
 
class QPixmap;
27
 
class QToolButton;
28
 
//class KviSysTray;
29
 
class KviFrame;
30
 
class KviToolBarButton;
31
 
 
32
 
class KviToolBar : public QToolBar
33
 
{
34
 
        Q_OBJECT
35
 
public:         // Consruction & Destruction
36
 
        KviToolBar(KviFrame *parent,QMainWindow::ToolBarDock dock);
37
 
        ~KviToolBar();
38
 
public:         // Fields
39
 
        KviToolBarButton *m_pConnectButton;
40
 
//      KviSysTray  *m_pSysTray;
41
 
public:         // Methods
42
 
        void setConnectButtonState(int state);
43
 
};
44
 
 
45
 
#define KVI_CONNECT_BUTTON_STATE_READY 0
46
 
#define KVI_CONNECT_BUTTON_STATE_BUSY 1
47
 
#define KVI_CONNECT_BUTTON_STATE_CONNECTED 2
48
 
 
49
 
class KviMdiToolBar : public QToolBar
50
 
{
51
 
        Q_OBJECT
52
 
public:
53
 
        KviMdiToolBar(KviFrame *parent,QMainWindow::ToolBarDock dock);
54
 
        ~KviMdiToolBar();
55
 
};
56
 
 
57
 
#endif //_KVI_TOOLBAR_H_INCLUDED_