~ubuntu-branches/ubuntu/warty/kdebase/warty

« back to all changes in this revision

Viewing changes to kcontrol/kcontrol/helpwidget.h

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-09-16 04:51:45 UTC
  • Revision ID: james.westby@ubuntu.com-20040916045145-9vr63kith3k1cpza
Tags: upstream-3.2.2
ImportĀ upstreamĀ versionĀ 3.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  Copyright (c) 2000 Matthias Elter <elter@kde.org>
 
3
 
 
4
  This program is free software; you can redistribute it and/or modify
 
5
  it under the terms of the GNU General Public License as published by
 
6
  the Free Software Foundation; either version 2 of the License, or
 
7
  (at your option) any later version.
 
8
 
 
9
  This program is distributed in the hope that it will be useful,
 
10
  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
  GNU General Public License for more details.
 
13
 
 
14
  You should have received a copy of the GNU General Public License
 
15
  along with this program; if not, write to the Free Software
 
16
  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
17
 
 
18
*/
 
19
 
 
20
#ifndef __helpwidget_h__
 
21
#define __helpwidget_h__
 
22
 
 
23
#include <qwidget.h>
 
24
 
 
25
class QuickHelp;
 
26
 
 
27
class HelpWidget : public QWidget
 
28
{
 
29
  Q_OBJECT
 
30
 
 
31
public:
 
32
  HelpWidget(QWidget *parent, const char *name=0);
 
33
 
 
34
  void setText( const QString& docPath, const QString& text);
 
35
  void setBaseText();
 
36
 
 
37
protected slots:
 
38
  void urlClicked(const QString &);
 
39
  void mailClicked(const QString &,const QString &);
 
40
 
 
41
private:
 
42
  QuickHelp *_browser;
 
43
  QString docpath;
 
44
};
 
45
 
 
46
#endif