Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into...
[openembedded.git] / recipes / qpe-gaim / files / libopie2.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- qpe-gaim/src/QGaimNotify.cpp~libopie2
7 +++ qpe-gaim/src/QGaimNotify.cpp
8 @@ -28,9 +28,9 @@
9  #include <qmessagebox.h>
10  #include <qtextview.h>
11  
12 -#include <opie/odevice.h>
13 +#include <opie2/odevice.h>
14  
15 -using namespace Opie;
16 +using namespace Opie::Core;
17  
18  static int notifyActiveCount = 0;
19  
20 @@ -215,7 +215,7 @@
21         if (!gaim_prefs_get_bool("/gaim/qpe/notify/use_buzzer"))
22                 return;
23  
24 -       ODevice::inst()->alarmSound();
25 +       ODevice::inst()->playAlarmSound();
26  }
27  
28  void
29 --- qpe-gaim/src/QGaimPrefsDialog.cpp~libopie2
30 +++ qpe-gaim/src/QGaimPrefsDialog.cpp
31 @@ -30,8 +30,8 @@
32  #include <qvbox.h>
33  #include <qvgroupbox.h>
34  
35 -#include <opie/otabwidget.h>
36 -#include <opie/owait.h>
37 +#include <opie2/otabwidget.h>
38 +#include <opie2/owait.h>
39  
40  #include <qpe/resource.h>
41  
42 @@ -306,7 +306,7 @@
43         layout = new QVBoxLayout(this);
44         layout->setAutoAdd(true);
45  
46 -       tabs = new OTabWidget(this, "pref tabs");
47 +       tabs = new Opie::Ui::OTabWidget(this, "pref tabs");
48  
49         blistPage    = new QGaimBlistPrefPage(this,  "blist page");
50         notifyPage   = new QGaimNotifyPrefPage(this, "notify page");
51 @@ -332,7 +332,7 @@
52  void
53  QGaimPrefsDialog::accept()
54  {
55 -       OWait wait(this);
56 +       Opie::Ui::OWait wait(this);
57  
58         wait.show();
59  
60 --- qpe-gaim/src/QGaimPrefsDialog.h~libopie2
61 +++ qpe-gaim/src/QGaimPrefsDialog.h
62 @@ -22,8 +22,8 @@
63  #define _QGAIM_PREFS_DIALOG_H_
64  
65  #include <qdialog.h>
66 +#include <opie2/otabwidget.h>
67  
68 -class OTabWidget;
69  class QCheckBox;
70  
71  class QGaimPrefPage : public QWidget
72 @@ -150,7 +150,7 @@
73                 void buildInterface();
74  
75         private:
76 -               OTabWidget *tabs;
77 +               Opie::Ui::OTabWidget *tabs;
78  
79                 QGaimPrefPage *blistPage;
80                 QGaimPrefPage *convPage;
81 --- qpe-gaim/src/main.cpp~libopie2
82 +++ qpe-gaim/src/main.cpp
83 @@ -20,7 +20,7 @@
84   */
85  #include "QGaimMainWindow.h"
86  
87 -#include <qpe/qpeapplication.h>
88 -#include <opie/oapplicationfactory.h>
89 +#include <opie2/oapplicationfactory.h>
90 +using namespace Opie::Core;
91  
92  OPIE_EXPORT_APP(OApplicationFactory<QGaimMainWindow>)