OSDN Git Service

use signal/slot
[kita/kita.git] / src / kitasubjectview.h
1 /***************************************************************************
2  *   Copyright (C) 2003 by Hideki Ikemoto                                  *
3  *   ikemo@wakaba.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 _KITASUBJECTVIEW_H_
12 #define _KITASUBJECTVIEW_H_
13
14 #include <qwidget.h>
15 #include <kurl.h>
16 #include "kitasubjectviewbase.h"
17
18 class Kita;
19
20 /**
21  * 
22  * Hideki Ikemoto
23  **/
24 class KitaSubjectView : public KitaSubjectViewBase
25 {
26   Q_OBJECT
27
28 public:
29   KitaSubjectView(QWidget *parent, Kita* _mainWindow, const char *name=0);
30   ~KitaSubjectView();
31 public slots:
32   void reloadSubject();
33   void loadThread(QListViewItem* item);
34   void slotLoadBoard(const KURL& url, const QString& boardName);
35 private: // Private attributes
36   Kita* mainWindow;
37   KURL boardURL;
38   QString m_boardName;
39 signals:
40   void signalShowThread(const KURL& datURL, const KURL& boardURL, const QString& boardName);
41 };
42
43 #endif