]> git.sesse.net Git - vlc/blob - modules/gui/kde/pluginsbox.h
Avoid \r\n problems between platforms
[vlc] / modules / gui / kde / pluginsbox.h
1 /*****************************************************************************
2  * pluginbox.h: includes for the pluginbox class
3  *****************************************************************************
4  * Copyright (C) 2001 VideoLAN
5  * $Id$
6  *
7  * Authors: Sigmund Augdal <sigmunau@idi.ntnu.no> Mon Aug 12 2002
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  * 
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
22  *****************************************************************************/
23 #ifndef _KDE_PLUGINBOX_H_
24 #define _KDE_PLUGINBOX_H_
25 #include <qgroupbox.h>
26 #include <klistview.h>
27 #include <qpushbutton.h>
28 #include <klineedit.h>
29 #include "preferences.h"
30 class KPluginsBox : public QGroupBox
31 {
32     Q_OBJECT
33  public:
34     KPluginsBox(intf_thread_t *p_intf, QString title, QString value,
35                 QWidget *parent, int spacing, KPreferences *pref);
36     ~KPluginsBox();
37
38     QListView *getListView(void);
39
40  private slots:
41     void selectClicked(void);
42     void selectionChanged( QListViewItem * );
43
44  signals:
45     void selectionChanged(const QString &text);
46     
47  private:
48     intf_thread_t *p_intf;
49     KListView *listView;
50     QPushButton *selectButton;
51     KLineEdit *line;
52     KPreferences *owner;
53 };
54 #endif