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 KITATHREADLISTHEADERVIEW_H
11 #define KITATHREADLISTHEADERVIEW_H
13 #include <QtGui/QHeaderView>
17 struct ColumnAttribute
19 const char* const labelName; /// for header's label
20 const char* const itemName; /// for header's popupItem
21 QString keyName; /// for KConfig's key
22 bool showDefault; /// default setting.
27 class ThreadListHeaderView : public QHeaderView
32 explicit ThreadListHeaderView(QWidget* parent = 0);
33 static const ColumnAttribute attribute[];
36 void contextMenuEvent(QContextMenuEvent *event);
38 KAction* m_autoResizeAct;