~ubuntu-branches/ubuntu/jaunty/psi/jaunty

« back to all changes in this revision

Viewing changes to src/options/opt_status.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2005-01-10 17:41:43 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050110174143-ltocv5zapl6blf5d
Tags: 0.9.3-1
* New upstream release
* Cleaned up debian/rules (some things are done by upstream Makefiles now)
* Fixed some lintian warnings:
  - removed executable bit from some .png files
  - moved psi.desktop to /usr/share/applications
* Updated menu files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef OPT_STATUS_H
 
2
#define OPT_STATUS_H
 
3
 
 
4
#include "optionstab.h"
 
5
 
 
6
class QWidget;
 
7
struct Options;
 
8
 
 
9
class OptionsTabStatus : public OptionsTab
 
10
{
 
11
        Q_OBJECT
 
12
public:
 
13
        OptionsTabStatus(QObject *parent);
 
14
        ~OptionsTabStatus();
 
15
 
 
16
        QWidget *widget();
 
17
        void applyOptions(Options *opt);
 
18
        void restoreOptions(const Options *opt);
 
19
 
 
20
        void setData(PsiCon *, QWidget *parentDialog);
 
21
        //bool stretchable() const { return true; }
 
22
 
 
23
private slots:
 
24
        void selectStatusPreset(int x);
 
25
        void newStatusPreset();
 
26
        void removeStatusPreset();
 
27
        void changeStatusPreset();
 
28
 
 
29
private:
 
30
        QWidget *w, *parentWidget;
 
31
        Options *o;
 
32
};
 
33
 
 
34
#endif