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

« back to all changes in this revision

Viewing changes to src/kvirc/kvi_tipotd.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
 
//   File : kvi_tipotd.h (/usr/build/NEW_kvirc/kvirc/src/kvirc/kvi_tipotd.h)
3
 
//   Last major modification : Tue Jul 6 1999 14:50:45 by Szymon Stefanek
4
 
//
5
 
//   This file is part of the KVirc irc client distribution
6
 
//   Copyright (C) 1999-2000 Till Bush (buti@geocities.com)
7
 
//
8
 
//   This program is FREE software. You can redistribute it and/or
9
 
//   modify it under the terms of the GNU General Public License
10
 
//   as published by the Free Software Foundation; either version 2
11
 
//   of the License, or (at your opinion) any later version.
12
 
//
13
 
//   This program is distributed in the HOPE that it will be USEFUL,
14
 
//   but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
//   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
 
//   See the GNU General Public License for more details.
17
 
//
18
 
//   You should have received a copy of the GNU General Public License
19
 
//   along with this program. If not, write to the Free Software Foundation,
20
 
//   Inc. ,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21
 
//
22
 
#ifndef _KVI_TIPOTD_H_INCLUDED_
23
 
#define _KVI_TIPOTD_H_INCLUDED_
24
 
 
25
 
#include <qdialog.h>
26
 
#include <qlabel.h>
27
 
#include <qpushbutton.h>
28
 
#include <qcheckbox.h>
29
 
 
30
 
#include "kvi_defines.h"
31
 
#include "kvi_string.h"
32
 
 
33
 
class KviOpaqueLabel;
34
 
 
35
 
class KviTipOfTheDay : public QDialog {
36
 
        Q_OBJECT
37
 
public:
38
 
        KviTipOfTheDay();
39
 
        ~KviTipOfTheDay();
40
 
 
41
 
        KviOpaqueLabel * m_pLabel;
42
 
        QPushButton * m_pNext;
43
 
        QPushButton * m_pClose;
44
 
        QCheckBox * m_pCheck;
45
 
        KviStr m_szTips;
46
 
signals:
47
 
        void closed();
48
 
public slots:
49
 
        void doNextTip();
50
 
protected:
51
 
        virtual void resizeEvent(QResizeEvent *);
52
 
        virtual void closeEvent(QCloseEvent *); 
53
 
        virtual void done(int r);
54
 
};
55
 
 
56
 
#endif