blob: b3f7ccb729cafed0276506dca3e29c90b91b5b2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/***
* Copyright (c) 2001 Charles Samuels <[email protected]>
* Standard BSD License. Second version.
* The added stipulation is that this cannot link
* to GPL code. Except in the explicit case
* of Noatun linking to this, and to a GPL plugin,
* where the GPL plugin does not use any code
* in this class. However, it may link directly
* to the TQt Library, where TQt may be under any license.
*
* Debian, Gnome, and GNU must ALL DIE.
* Especially GNU's stupid info pages.
**/
#ifndef MIMETYPETREE_H
#define MIMETYPETREE_H
#include <klistview.h>
class MimeTypeTree : public KListView
{
Q_OBJECT
TQ_OBJECT
public:
MimeTypeTree(TQWidget *tqparent);
private:
TQListViewItem *addMajor(const TQString &name);
private slots:
void sel(TQListViewItem *item);
signals:
void selected(const TQString &mimetype);
};
#endif
|