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

« back to all changes in this revision

Viewing changes to src/psiapplication.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:
21
21
#ifndef PSIAPPLICATION_H
22
22
#define PSIAPPLICATION_H
23
23
 
24
 
#include <qapplication.h>
25
 
 
 
24
#include <QApplication>
26
25
#ifdef Q_WS_MAC
27
26
#include <Carbon/Carbon.h>
28
27
#endif
 
28
#ifdef Q_WS_WIN
 
29
#include <qt_windows.h>
 
30
#endif
 
31
 
 
32
class QEvent;
29
33
 
30
34
class PsiApplication : public QApplication
31
35
{
41
45
#ifdef Q_WS_MAC
42
46
        bool macEventFilter(EventHandlerCallRef, EventRef);
43
47
#endif
 
48
#ifdef Q_WS_WIN
 
49
        bool winEventFilter(MSG* msg, long* result);
 
50
#endif
44
51
 
45
52
signals:
46
53
        void dockActivated();