~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to editors/qeditor/qeditor_texthint.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2006-05-23 18:39:42 UTC
  • Revision ID: james.westby@ubuntu.com-20060523183942-hucifbvh68k2bwz7
Tags: upstream-3.3.2
Import upstream version 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  Copyright (C) 2003 Roberto Raggi (roberto@kdevelop.org)
 
3
 *
 
4
 *  This program is free software; you can redistribute it and/or
 
5
 *  modify it under the terms of the GNU General Public
 
6
 *  License as published by the Free Software Foundation; either
 
7
 *  version 2 of the License, or (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 GNU
 
12
 *  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; see the file COPYING.  If not, write to
 
16
 *  the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
17
 *  Boston, MA 02111-1307, USA.
 
18
 *
 
19
 */
 
20
 
 
21
#ifndef QEDITOR_TEXTHINT_H
 
22
#define QEDITOR_TEXTHINT_H
 
23
 
 
24
#include <qtooltip.h>
 
25
 
 
26
class QEditor;
 
27
class QEditorView;
 
28
 
 
29
class QEditorTextHint : public QToolTip
 
30
{
 
31
public:
 
32
    QEditorTextHint( QEditorView* editorView );
 
33
    virtual ~QEditorTextHint();
 
34
 
 
35
protected:
 
36
    virtual void maybeTip( const QPoint& pt );
 
37
 
 
38
private:
 
39
    QEditorView* m_editorView;
 
40
};
 
41
 
 
42
#endif