OSDN Git Service

move files.
[kita/kita.git] / kita / src / thread / respopup.h
1 /***************************************************************************
2 *   Copyright (C) 2007 by Kita Developers                                 *
3 *   ikemo@users.sourceforge.jp                                            *
4 *                                                                         *
5 *   This program is free software; you can redistribute it and/or modify  *
6 *   it under the terms of the GNU General Public License as published by  *
7 *   the Free Software Foundation; either version 2 of the License, or     *
8 *   (at your option) any later version.                                   *
9 ***************************************************************************/
10
11 #ifndef RESPOPUP_H
12 #define RESPOPUP_H
13
14 #include <qframe.h>
15
16 #include "htmlpart.h"
17
18 namespace Kita
19 {
20     class ResPopup : public QFrame
21     {
22         Q_OBJECT
23
24         KitaHTMLPart* m_htmlPart;
25         KURL m_url;
26
27
28     public:
29         ResPopup( KHTMLView* view, const KURL& datURL );
30         ~ResPopup();
31         void setText( const QString& str );
32         void adjustSize();
33         void adjustPos( QPoint pos );
34         void moveMouseAbove();
35
36     private:
37         void showImage( const KURL& url );
38
39     signals:
40         void hideChildPopup();
41     };
42 }
43
44 #endif