1 /***************************************************************************
2 * Copyright (C) 2003 by Hideki Ikemoto *
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 #ifndef KITATHREADLISTVIEW_H
11 #define KITATHREADLISTVIEW_H
13 #include <QtCore/QList>
15 #include "ui_threadlistviewbase.h"
23 @author Hideki Ikemoto
25 class ThreadListView : public QWidget, public Ui::ThreadListViewBase
30 explicit ThreadListView(QWidget* parent = 0);
31 virtual ~ThreadListView();
34 QStringList m_prevquery;
35 unsigned m_nextHitIndex;
36 QList<QTableWidgetItem *> m_hitList;
37 KAction* m_deleteLogAct;
39 void insertSearchCombo();
40 void searchNext(const QStringList& input);
41 void searchNew(const QStringList& query);
43 void hideColumn(int col);
44 void showColumn(int col);
45 void contextMenuEvent(QContextMenuEvent* event);
46 virtual void deleteLog(const KUrl& url);
49 void slotHideButton(bool on);
50 void slotItemClicked(QTableWidgetItem*);
53 void slotSearchButton();
56 KAction* m_openWithBrowserAct;
57 KAction* m_copyUrlAct;
58 KAction* m_copyTitleAndUrlAct;
59 KAction* m_favoritesAct;
60 KAction* m_propertyAct;