~ubuntu-branches/ubuntu/karmic/psi/karmic

« back to all changes in this revision

Viewing changes to src/options/opt_plugins.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2008-04-14 18:57:30 UTC
  • mfrom: (2.1.9 hardy)
  • Revision ID: james.westby@ubuntu.com-20080414185730-528re3zp0m2hdlhi
Tags: 0.11-8
* added CONFIG -= link_prl to .pro files and removed dependencies
  which are made unnecessary by this change
* Fix segfault when closing last chat tab with qt4.4
  (This is from upstream svn, rev. 1101) (Closes: Bug#476122)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef OPT_PLUGINS_H
 
2
#define OPT_PLUGNS_H
 
3
 
 
4
#include "optionstab.h"
 
5
 
 
6
class QWidget;
 
7
struct Options;
 
8
 
 
9
class OptionsTabPlugins : public OptionsTab
 
10
{
 
11
        Q_OBJECT
 
12
public:
 
13
        OptionsTabPlugins(QObject *parent);
 
14
        ~OptionsTabPlugins();
 
15
 
 
16
        QWidget *widget();
 
17
        void applyOptions(Options *opt);
 
18
        void restoreOptions(const Options *opt);
 
19
 
 
20
private:
 
21
        QWidget *w;
 
22
        QWidget *pluginWidget;
 
23
 
 
24
private slots:
 
25
        void listPlugins();
 
26
        void pluginSelected(int index);
 
27
        void loadToggled(int state);
 
28
};
 
29
 
 
30
#endif