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

« back to all changes in this revision

Viewing changes to src/alerticon.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:
23
23
 
24
24
#include "iconset.h"
25
25
 
26
 
class AlertIcon : public Icon
 
26
class QPixmap;
 
27
class Impix;
 
28
class QString;
 
29
class QIcon;
 
30
class QImage;
 
31
 
 
32
class AlertIcon : public PsiIcon
27
33
{
28
34
        Q_OBJECT
29
35
public:
30
 
        AlertIcon(const Icon *icon);
 
36
        AlertIcon(const PsiIcon *icon);
31
37
        ~AlertIcon();
32
38
 
33
 
        bool isAnimated() const;
34
 
        const QPixmap &pixmap() const;
35
 
        const QImage &image() const;
36
 
        const QIconSet & iconSet() const;
37
 
        const Impix &impix() const;
38
 
        int framenumber() const;
39
 
        const QString &name() const;
 
39
        // reimplemented
 
40
        virtual bool isAnimated() const;
 
41
        virtual const QPixmap &pixmap() const;
 
42
        virtual const QImage &image() const;
 
43
        virtual const QIcon & icon() const;
 
44
        virtual const Impix &impix() const;
 
45
        virtual int frameNumber() const;
 
46
        virtual const QString &name() const;
 
47
 
 
48
        virtual PsiIcon *copy() const;
40
49
 
41
50
public slots:
42
51
        void activated(bool playSound = true);