~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to noatun/noatun/library/mimetypetree.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

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