You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
825 B
37 lines
825 B
/***
|
|
* Copyright (c) 2001 Charles Samuels <charles@kde.org>
|
|
* 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
|
|
|
|
public:
|
|
MimeTypeTree(TQWidget *parent);
|
|
|
|
private:
|
|
TQListViewItem *addMajor(const TQString &name);
|
|
private slots:
|
|
void sel(TQListViewItem *item);
|
|
|
|
signals:
|
|
void selected(const TQString &mimetype);
|
|
};
|
|
|
|
#endif
|
|
|