~ubuntu-branches/ubuntu/feisty/kdetv/feisty

« back to all changes in this revision

Viewing changes to kdetv/libkdetv/pluginwidgetimpl.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2005-09-17 23:25:16 UTC
  • Revision ID: james.westby@ubuntu.com-20050917232516-9wdsn3ckagbqieh8
Tags: upstream-0.8.8
ImportĀ upstreamĀ versionĀ 0.8.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// -*- c++ -*-
 
2
/***************************************************************************
 
3
                          pluginwidgetimpl.h  -  description
 
4
                             -------------------
 
5
    begin                : Sat Jun 8 2002
 
6
    copyright            : (C) 2002 by Kevin Hessels
 
7
    email                : khessels@shaw.ca
 
8
 ***************************************************************************/
 
9
 
 
10
/*
 
11
 * This library is free software; you can redistribute it and/or
 
12
 * modify it under the terms of the GNU Library General Public
 
13
 * License as published by the Free Software Foundation; either
 
14
 * version 2 of the License, or (at your option) any later version.
 
15
 *
 
16
 * This library is distributed in the hope that it will be useful,
 
17
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
19
 * Library General Public License for more details.
 
20
 *
 
21
 * You should have received a copy of the GNU Library General Public License
 
22
 * along with this library; see the file COPYING.LIB.  If not, write to
 
23
 * the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
 
24
 * Boston, MA 02110-1301, USA.
 
25
 */
 
26
 
 
27
#ifndef PLUGINWIDGETIMPL_H
 
28
#define PLUGINWIDGETIMPL_H
 
29
 
 
30
#include <qtabwidget.h>
 
31
#include "pluginfactory.h"
 
32
#include "pluginwidget.h"
 
33
#include "settingsdialogpage.h"
 
34
 
 
35
class Kdetv;
 
36
class ConfigData;
 
37
class KConfig;
 
38
 
 
39
/**
 
40
 * @author Kevin Hessels, George Staikos, Dirk Ziegelmeier
 
41
 */
 
42
 
 
43
class PluginWidgetImpl : public PluginWidget, public SettingsDialogPage
 
44
{
 
45
    Q_OBJECT
 
46
    
 
47
    
 
48
public: 
 
49
    PluginWidgetImpl(QWidget*, Kdetv*, ConfigData*);
 
50
    ~PluginWidgetImpl();
 
51
 
 
52
 
 
53
public slots:
 
54
    virtual void setup();
 
55
    virtual void apply();
 
56
    virtual void defaults();
 
57
 
 
58
 
 
59
private slots:
 
60
    void configureMiscPlugin();
 
61
    void configureVbiPlugin();
 
62
 
 
63
    void miscSelectionChanged();
 
64
    void vbiSelectionChanged();
 
65
 
 
66
 
 
67
private:
 
68
    Kdetv*      _ktv;
 
69
    ConfigData* _cfg;
 
70
};
 
71
 
 
72
#endif