Date: Tuesday, April 9, 2013 @ 23:46:51
  Author: eric
Revision: 88005

archrelease: copy trunk to community-i686

Added:
  qgo/repos/community-i686/PKGBUILD
    (from rev 88004, qgo/trunk/PKGBUILD)
  qgo/repos/community-i686/gcc43.patch
    (from rev 88004, qgo/trunk/gcc43.patch)
  qgo/repos/community-i686/gcc45.patch
    (from rev 88004, qgo/trunk/gcc45.patch)
Deleted:
  qgo/repos/community-i686/PKGBUILD
  qgo/repos/community-i686/gcc43.patch
  qgo/repos/community-i686/gcc45.patch

-------------+
 PKGBUILD    |   71 ++++------
 gcc43.patch |   74 +++++-----
 gcc45.patch |  410 +++++++++++++++++++++++++++++-----------------------------
 3 files changed, 277 insertions(+), 278 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2013-04-09 21:46:27 UTC (rev 88004)
+++ PKGBUILD    2013-04-09 21:46:51 UTC (rev 88005)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <[email protected]>
-# Contributor: Douglas Soares de Andrade <[email protected]>
-
-pkgname=qgo
-pkgver=1.5.4
-pkgrel=5
-pkgdesc="Go client and full featured SGF editor"
-arch=('x86_64' 'i686')
-url="http://qgo.sourceforge.net/";
-license=('GPL')
-depends=('qt3' 'libsm')
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-r3.tar.gz";
-        'gcc43.patch'
-        'gcc45.patch')
-sha256sums=('ddfb66ada7027b844838895061f266bda03b327e8dfec2ee2782e14748bac104'
-            'f6ddd28325523e3d5aabac2284334c73114dd823e00bf282aae2646982206e78'
-            '7f94acfe58d75b57d55bab5b296a801d48f54c8e12dfc1556cd1586abebd3580')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  . /etc/profile.d/qt3.sh
-  patch -Np1 -i "$srcdir/gcc43.patch"
-  patch -Np1 -i "$srcdir/gcc45.patch"
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: qgo/repos/community-i686/PKGBUILD (from rev 88004, qgo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2013-04-09 21:46:51 UTC (rev 88005)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Alexander Rødseth <[email protected]>
+# Contributor: Douglas Soares de Andrade <[email protected]>
+
+pkgname=qgo
+pkgver=1.5.4
+pkgrel=5
+pkgdesc="Go client and full featured SGF editor"
+arch=('x86_64' 'i686')
+url="http://qgo.sourceforge.net/";
+license=('GPL')
+depends=('qt3' 'libsm')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-r3.tar.gz";
+        'gcc43.patch'
+        'gcc45.patch')
+sha256sums=('ddfb66ada7027b844838895061f266bda03b327e8dfec2ee2782e14748bac104'
+            'f6ddd28325523e3d5aabac2284334c73114dd823e00bf282aae2646982206e78'
+            '7f94acfe58d75b57d55bab5b296a801d48f54c8e12dfc1556cd1586abebd3580')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  patch -Np1 -i "$srcdir/gcc43.patch"
+  patch -Np1 -i "$srcdir/gcc45.patch"
+  ./configure --prefix=/usr --with-qt-includes=/usr/include/qt3
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: gcc43.patch
===================================================================
--- gcc43.patch 2013-04-09 21:46:27 UTC (rev 88004)
+++ gcc43.patch 2013-04-09 21:46:51 UTC (rev 88005)
@@ -1,37 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 05_g++-4.3.dpatch by Pierre Habouzit <[email protected]>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: g++-4.3 patch
-
-@DPATCH@
---- qgo-1.5.4-r2~/src/matrix.cpp       2004-10-30 20:49:50.000000000 +0000
-+++ qgo-1.5.4-r2/src/matrix.cpp        2008-03-16 23:04:18.306414183 +0000
-@@ -2,12 +2,14 @@
- * matrix.cpp
- */
- 
-+#include <cstdlib>
- #include "matrix.h"
--#include <stdlib.h>
- #ifndef NO_DEBUG
--#include <iostream.h>
-+#include <iostream>
- #endif
- 
-+using namespace std;
-+
- Matrix::Matrix(int s)
- : size(s)
- {
---- qgo-1.5.4-r2~/src/tree.cpp 2005-05-12 20:58:23.000000000 +0000
-+++ qgo-1.5.4-r2/src/tree.cpp  2008-03-16 23:04:50.660267034 +0000
-@@ -5,7 +5,7 @@
- #include "tree.h"
- #include "move.h"
- #include "qgo.h"
--#include <iostream.h>
-+#include <iostream>
- #include <qptrstack.h>
- 
- Tree::Tree(int board_size)

Copied: qgo/repos/community-i686/gcc43.patch (from rev 88004, 
qgo/trunk/gcc43.patch)
===================================================================
--- gcc43.patch                         (rev 0)
+++ gcc43.patch 2013-04-09 21:46:51 UTC (rev 88005)
@@ -0,0 +1,37 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 05_g++-4.3.dpatch by Pierre Habouzit <[email protected]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: g++-4.3 patch
+
+@DPATCH@
+--- qgo-1.5.4-r2~/src/matrix.cpp       2004-10-30 20:49:50.000000000 +0000
++++ qgo-1.5.4-r2/src/matrix.cpp        2008-03-16 23:04:18.306414183 +0000
+@@ -2,12 +2,14 @@
+ * matrix.cpp
+ */
+ 
++#include <cstdlib>
+ #include "matrix.h"
+-#include <stdlib.h>
+ #ifndef NO_DEBUG
+-#include <iostream.h>
++#include <iostream>
+ #endif
+ 
++using namespace std;
++
+ Matrix::Matrix(int s)
+ : size(s)
+ {
+--- qgo-1.5.4-r2~/src/tree.cpp 2005-05-12 20:58:23.000000000 +0000
++++ qgo-1.5.4-r2/src/tree.cpp  2008-03-16 23:04:50.660267034 +0000
+@@ -5,7 +5,7 @@
+ #include "tree.h"
+ #include "move.h"
+ #include "qgo.h"
+-#include <iostream.h>
++#include <iostream>
+ #include <qptrstack.h>
+ 
+ Tree::Tree(int board_size)

Deleted: gcc45.patch
===================================================================
--- gcc45.patch 2013-04-09 21:46:27 UTC (rev 88004)
+++ gcc45.patch 2013-04-09 21:46:51 UTC (rev 88005)
@@ -1,205 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## Description: fix builiding with gcc4.5
-## Origin/Author: Ubuntu
-## Bug: http://bugs.launchpad.net/bugs/756004
-## 06_ftbfs_gcc45.dpatch by Andreas Moog <[email protected]>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: fix build with gcc 4.5
-
-@DPATCH@
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' 
'--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' 
qgo-1.5.4-r3~/src/gamedialog.cpp qgo-1.5.4-r3/src/gamedialog.cpp
---- qgo-1.5.4-r3~/src/gamedialog.cpp   2011-04-12 20:03:12.000000000 +0200
-+++ qgo-1.5.4-r3/src/gamedialog.cpp    2011-04-12 20:03:15.640382627 +0200
-@@ -512,7 +512,7 @@
-               if (handicapSpin->value() != val.toInt())
-               {
-                       handicapSpin->setValue(val.toInt());
--                      
handicapSpin->setPaletteBackgroundColor(QColor::QColor("cyan"));
-+                      handicapSpin->setPaletteBackgroundColor(QColor("cyan"));
-               }
-               else
-                       handicapSpin->unsetPalette();
-@@ -521,7 +521,7 @@
-               if (boardSizeSpin->value() != val.toInt())
-               {
-                       boardSizeSpin->setValue(val.toInt());
--                      
boardSizeSpin->setPaletteBackgroundColor(QColor::QColor("cyan"));
-+                      
boardSizeSpin->setPaletteBackgroundColor(QColor("cyan"));
-               }
-               else
-                       boardSizeSpin->unsetPalette();
-@@ -530,7 +530,7 @@
-               if (timeSpin->value() != val.toInt()/60)
-               {
-                       timeSpin->setValue(val.toInt()/60);
--                      
timeSpin->setPaletteBackgroundColor(QColor::QColor("cyan"));
-+                      timeSpin->setPaletteBackgroundColor(QColor("cyan"));
-               }
-               else
-                       timeSpin->unsetPalette();
-@@ -539,7 +539,7 @@
-               if (byoTimeSpin->value() != val.toInt()/60)
-               {
-                       byoTimeSpin->setValue(val.toInt()/60);
--                      
byoTimeSpin->setPaletteBackgroundColor(QColor::QColor("cyan"));
-+                      byoTimeSpin->setPaletteBackgroundColor(QColor("cyan"));
-               }
-               else
-                       byoTimeSpin->unsetPalette();    
-@@ -550,25 +550,25 @@
-               val = element(line,0," ");
-               if ( !(play_nigiri_button->isChecked()) && (val == "N"))
-               {
--                      
play_nigiri_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
--                      
play_white_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
--                      
play_black_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
-+                      
play_nigiri_button->setPaletteBackgroundColor(QColor("cyan"));
-+                      
play_white_button->setPaletteBackgroundColor(QColor("cyan"));
-+                      
play_black_button->setPaletteBackgroundColor(QColor("cyan"));
-                       play_nigiri_button->setChecked(true);
- 
-               }
-               else if ( (play_black_button->isChecked()) && (val == "B"))
-               {
--                      
play_nigiri_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
--                      
play_white_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
--                      
play_black_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
-+                      
play_nigiri_button->setPaletteBackgroundColor(QColor("cyan"));
-+                      
play_white_button->setPaletteBackgroundColor(QColor("cyan"));
-+                      
play_black_button->setPaletteBackgroundColor(QColor("cyan"));
-                       play_white_button->setChecked(true);
- 
-               }
-               else if ( (play_white_button->isChecked()) && (val == "W"))
-               {
--                      
play_nigiri_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
--                      
play_white_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
--                      
play_black_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
-+                      
play_nigiri_button->setPaletteBackgroundColor(QColor("cyan"));
-+                      
play_white_button->setPaletteBackgroundColor(QColor("cyan"));
-+                      
play_black_button->setPaletteBackgroundColor(QColor("cyan"));
-                       play_black_button->setChecked(true);
- 
-               }
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' 
'--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' 
qgo-1.5.4-r3~/src/mainwin.cpp qgo-1.5.4-r3/src/mainwin.cpp
---- qgo-1.5.4-r3~/src/mainwin.cpp      2011-04-12 20:03:12.000000000 +0200
-+++ qgo-1.5.4-r3/src/mainwin.cpp       2011-04-12 20:03:15.640382627 +0200
-@@ -68,35 +68,35 @@
- {
- 
- 
--      prefsIcon= 
QPixmap::QPixmap(qembed_findImage("package_settings"));//QPixmap(ICON_PREFS);
-+      prefsIcon= 
QPixmap(qembed_findImage("package_settings"));//QPixmap(ICON_PREFS);
- //    infoIcon= QPixmap(ICON_GAMEINFO);
--      exitIcon =  
QPixmap::QPixmap(qembed_findImage("exit"));//QPixmap(ICON_EXIT);
--      fileNewboardIcon = 
QPixmap::QPixmap(qembed_findImage("newboard"));//QPixmap(ICON_FILENEWBOARD);
--      fileNewIcon = 
QPixmap::QPixmap(qembed_findImage("filenew"));//QPixmap(ICON_FILENEW);
--      fileOpenIcon = 
QPixmap::QPixmap(qembed_findImage("fileopen"));//QPixmap(ICON_FILEOPEN);
-+      exitIcon =  QPixmap(qembed_findImage("exit"));//QPixmap(ICON_EXIT);
-+      fileNewboardIcon = 
QPixmap(qembed_findImage("newboard"));//QPixmap(ICON_FILENEWBOARD);
-+      fileNewIcon = 
QPixmap(qembed_findImage("filenew"));//QPixmap(ICON_FILENEW);
-+      fileOpenIcon = 
QPixmap(qembed_findImage("fileopen"));//QPixmap(ICON_FILEOPEN);
- //    fileSaveIcon = QPixmap(ICON_FILESAVE);
- //    fileSaveAsIcon = QPixmap(ICON_FILESAVEAS);
- //    transformIcon = QPixmap(ICON_TRANSFORM);
- //    charIcon = QPixmap(ICON_CHARSET);
--      manualIcon = 
QPixmap::QPixmap(qembed_findImage("help"));//QPixmap(ICON_MANUAL);
-+      manualIcon = QPixmap(qembed_findImage("help"));//QPixmap(ICON_MANUAL);
- //    autoplayIcon = QPixmap(ICON_AUTOPLAY);
--      connectedIcon = 
QPixmap::QPixmap(qembed_findImage("connected"));//QPixmap(ICON_CONNECTED);      
       
--      disconnectedIcon = 
QPixmap::QPixmap(qembed_findImage("connect_no"));//QPixmap(ICON_DISCONNECTED);  
     
--      OpenIcon = 
QPixmap::QPixmap(qembed_findImage("open"));//QPixmap(ICON_OPEN);              
--      LookingIcon = 
QPixmap::QPixmap(qembed_findImage("looking"));//QPixmap(ICON_LOOKING);
--      QuietIcon= 
QPixmap::QPixmap(qembed_findImage("quiet"));//QPixmap(ICON_QUIET);
--      NotOpenIcon = 
QPixmap::QPixmap(qembed_findImage("not_open"));//QPixmap(ICON_NOT_OPEN);
--      NotLookingIcon = 
QPixmap::QPixmap(qembed_findImage("not_looking"));//QPixmap(ICON_NOT_LOOKING);
--      NotQuietIcon= 
QPixmap::QPixmap(qembed_findImage("not_quiet"));//QPixmap(ICON_NOT_QUIET);      
 
--      RefreshPlayersIcon = 
QPixmap::QPixmap(qembed_findImage("refresh_players"));//QPixmap(ICON_REFRESH_PLAYERS);
    
--      RefreshGamesIcon = 
QPixmap::QPixmap(qembed_findImage("refresh_games"));//QPixmap(ICON_REFRESH_GAMES);
        
--      ComputerPlayIcon = 
QPixmap::QPixmap(qembed_findImage("computerplay"));//QPixmap(ICON_COMPUTER_PLAY);
--      qgoIcon = 
QPixmap::QPixmap(qembed_findImage("Bowl"));//QPixmap(ICON_COMPUTER_PLAY);  
--      NotSeekingIcon = QPixmap::QPixmap(qembed_findImage("not_seeking"));
--      seekingIcon[0] = QPixmap::QPixmap(qembed_findImage("seeking1"));
--      seekingIcon[1] = QPixmap::QPixmap(qembed_findImage("seeking2"));
--      seekingIcon[2] = QPixmap::QPixmap(qembed_findImage("seeking3"));
--      seekingIcon[3] = QPixmap::QPixmap(qembed_findImage("seeking4"));
-+      connectedIcon = 
QPixmap(qembed_findImage("connected"));//QPixmap(ICON_CONNECTED);             
-+      disconnectedIcon = 
QPixmap(qembed_findImage("connect_no"));//QPixmap(ICON_DISCONNECTED);       
-+      OpenIcon = QPixmap(qembed_findImage("open"));//QPixmap(ICON_OPEN);      
        
-+      LookingIcon = 
QPixmap(qembed_findImage("looking"));//QPixmap(ICON_LOOKING);
-+      QuietIcon= QPixmap(qembed_findImage("quiet"));//QPixmap(ICON_QUIET);
-+      NotOpenIcon = 
QPixmap(qembed_findImage("not_open"));//QPixmap(ICON_NOT_OPEN);
-+      NotLookingIcon = 
QPixmap(qembed_findImage("not_looking"));//QPixmap(ICON_NOT_LOOKING);
-+      NotQuietIcon= 
QPixmap(qembed_findImage("not_quiet"));//QPixmap(ICON_NOT_QUIET);       
-+      RefreshPlayersIcon = 
QPixmap(qembed_findImage("refresh_players"));//QPixmap(ICON_REFRESH_PLAYERS);   
 
-+      RefreshGamesIcon = 
QPixmap(qembed_findImage("refresh_games"));//QPixmap(ICON_REFRESH_GAMES);       
 
-+      ComputerPlayIcon = 
QPixmap(qembed_findImage("computerplay"));//QPixmap(ICON_COMPUTER_PLAY);
-+      qgoIcon = 
QPixmap(qembed_findImage("Bowl"));//QPixmap(ICON_COMPUTER_PLAY);  
-+      NotSeekingIcon = QPixmap(qembed_findImage("not_seeking"));
-+      seekingIcon[0] = QPixmap(qembed_findImage("seeking1"));
-+      seekingIcon[1] = QPixmap(qembed_findImage("seeking2"));
-+      seekingIcon[2] = QPixmap(qembed_findImage("seeking3"));
-+      seekingIcon[3] = QPixmap(qembed_findImage("seeking4"));
- 
-       // init
- 
-@@ -576,7 +576,7 @@
-       if (e->timerId() == seekButtonTimer)
-       {       
-               imagecounter = (imagecounter+1) % 4;
--              
toolSeek->setIconSet(QIconSet::QIconSet(seekingIcon[imagecounter]));
-+              toolSeek->setIconSet(QIconSet(seekingIcon[imagecounter]));
-               return;
-       }
- 
-@@ -2950,17 +2950,17 @@
-       //tb->setProperty( "geometry", QRect(0, 0, 20, 20));
- 
-       //added the icons
--      refreshPlayers->setIconSet(QIconSet::QIconSet(RefreshPlayersIcon));
--      refreshGames->setIconSet(QIconSet::QIconSet(RefreshGamesIcon));
--      fileNew->setIconSet(QIconSet::QIconSet(fileNewIcon));
--      fileNewBoard->setIconSet(QIconSet::QIconSet(fileNewboardIcon));
--      fileOpen->setIconSet(QIconSet::QIconSet(fileOpenIcon));
--      fileQuit->setIconSet(QIconSet::QIconSet(exitIcon));
--      computerPlay->setIconSet(QIconSet::QIconSet(ComputerPlayIcon));
--      Connect->setIconSet(QIconSet::QIconSet(connectedIcon));
--      Disconnect->setIconSet(QIconSet::QIconSet(disconnectedIcon));
--      helpManual->setIconSet(QIconSet::QIconSet(manualIcon));
--      setPreferences->setIconSet(QIconSet::QIconSet(prefsIcon));
-+      refreshPlayers->setIconSet(QIconSet(RefreshPlayersIcon));
-+      refreshGames->setIconSet(QIconSet(RefreshGamesIcon));
-+      fileNew->setIconSet(QIconSet(fileNewIcon));
-+      fileNewBoard->setIconSet(QIconSet(fileNewboardIcon));
-+      fileOpen->setIconSet(QIconSet(fileOpenIcon));
-+      fileQuit->setIconSet(QIconSet(exitIcon));
-+      computerPlay->setIconSet(QIconSet(ComputerPlayIcon));
-+      Connect->setIconSet(QIconSet(connectedIcon));
-+      Disconnect->setIconSet(QIconSet(disconnectedIcon));
-+      helpManual->setIconSet(QIconSet(manualIcon));
-+      setPreferences->setIconSet(QIconSet(prefsIcon));
-       setIcon(qgoIcon);
- 
-   UserToolbar->show();
-@@ -3218,7 +3218,7 @@
-       toolSeek->setOn(false);
-       toolSeek->setPopup(seekMenu);
-       toolSeek->setPopupDelay(1);
--      toolSeek->setIconSet(QIconSet::QIconSet(NotSeekingIcon));
-+      toolSeek->setIconSet(QIconSet(NotSeekingIcon));
-       killTimer(seekButtonTimer);
-       seekButtonTimer = 0;
- }
-diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' 
'--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' 
qgo-1.5.4-r3~/src/qgtp.cpp qgo-1.5.4-r3/src/qgtp.cpp
---- qgo-1.5.4-r3~/src/qgtp.cpp 2011-04-12 20:03:12.000000000 +0200
-+++ qgo-1.5.4-r3/src/qgtp.cpp  2011-04-12 20:03:22.360029899 +0200
-@@ -277,7 +277,7 @@
-       _cpt++;
- 
-       qDebug(QString("flush -> %1").arg(s));
--    programProcess->writeToStdin(QString::QString(s));
-+    programProcess->writeToStdin(QString(s));
-       
-       
- }

Copied: qgo/repos/community-i686/gcc45.patch (from rev 88004, 
qgo/trunk/gcc45.patch)
===================================================================
--- gcc45.patch                         (rev 0)
+++ gcc45.patch 2013-04-09 21:46:51 UTC (rev 88005)
@@ -0,0 +1,205 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## Description: fix builiding with gcc4.5
+## Origin/Author: Ubuntu
+## Bug: http://bugs.launchpad.net/bugs/756004
+## 06_ftbfs_gcc45.dpatch by Andreas Moog <[email protected]>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: fix build with gcc 4.5
+
+@DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' 
'--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' 
qgo-1.5.4-r3~/src/gamedialog.cpp qgo-1.5.4-r3/src/gamedialog.cpp
+--- qgo-1.5.4-r3~/src/gamedialog.cpp   2011-04-12 20:03:12.000000000 +0200
++++ qgo-1.5.4-r3/src/gamedialog.cpp    2011-04-12 20:03:15.640382627 +0200
+@@ -512,7 +512,7 @@
+               if (handicapSpin->value() != val.toInt())
+               {
+                       handicapSpin->setValue(val.toInt());
+-                      
handicapSpin->setPaletteBackgroundColor(QColor::QColor("cyan"));
++                      handicapSpin->setPaletteBackgroundColor(QColor("cyan"));
+               }
+               else
+                       handicapSpin->unsetPalette();
+@@ -521,7 +521,7 @@
+               if (boardSizeSpin->value() != val.toInt())
+               {
+                       boardSizeSpin->setValue(val.toInt());
+-                      
boardSizeSpin->setPaletteBackgroundColor(QColor::QColor("cyan"));
++                      
boardSizeSpin->setPaletteBackgroundColor(QColor("cyan"));
+               }
+               else
+                       boardSizeSpin->unsetPalette();
+@@ -530,7 +530,7 @@
+               if (timeSpin->value() != val.toInt()/60)
+               {
+                       timeSpin->setValue(val.toInt()/60);
+-                      
timeSpin->setPaletteBackgroundColor(QColor::QColor("cyan"));
++                      timeSpin->setPaletteBackgroundColor(QColor("cyan"));
+               }
+               else
+                       timeSpin->unsetPalette();
+@@ -539,7 +539,7 @@
+               if (byoTimeSpin->value() != val.toInt()/60)
+               {
+                       byoTimeSpin->setValue(val.toInt()/60);
+-                      
byoTimeSpin->setPaletteBackgroundColor(QColor::QColor("cyan"));
++                      byoTimeSpin->setPaletteBackgroundColor(QColor("cyan"));
+               }
+               else
+                       byoTimeSpin->unsetPalette();    
+@@ -550,25 +550,25 @@
+               val = element(line,0," ");
+               if ( !(play_nigiri_button->isChecked()) && (val == "N"))
+               {
+-                      
play_nigiri_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
+-                      
play_white_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
+-                      
play_black_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
++                      
play_nigiri_button->setPaletteBackgroundColor(QColor("cyan"));
++                      
play_white_button->setPaletteBackgroundColor(QColor("cyan"));
++                      
play_black_button->setPaletteBackgroundColor(QColor("cyan"));
+                       play_nigiri_button->setChecked(true);
+ 
+               }
+               else if ( (play_black_button->isChecked()) && (val == "B"))
+               {
+-                      
play_nigiri_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
+-                      
play_white_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
+-                      
play_black_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
++                      
play_nigiri_button->setPaletteBackgroundColor(QColor("cyan"));
++                      
play_white_button->setPaletteBackgroundColor(QColor("cyan"));
++                      
play_black_button->setPaletteBackgroundColor(QColor("cyan"));
+                       play_white_button->setChecked(true);
+ 
+               }
+               else if ( (play_white_button->isChecked()) && (val == "W"))
+               {
+-                      
play_nigiri_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
+-                      
play_white_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
+-                      
play_black_button->setPaletteBackgroundColor(QColor::QColor("cyan"));
++                      
play_nigiri_button->setPaletteBackgroundColor(QColor("cyan"));
++                      
play_white_button->setPaletteBackgroundColor(QColor("cyan"));
++                      
play_black_button->setPaletteBackgroundColor(QColor("cyan"));
+                       play_black_button->setChecked(true);
+ 
+               }
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' 
'--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' 
qgo-1.5.4-r3~/src/mainwin.cpp qgo-1.5.4-r3/src/mainwin.cpp
+--- qgo-1.5.4-r3~/src/mainwin.cpp      2011-04-12 20:03:12.000000000 +0200
++++ qgo-1.5.4-r3/src/mainwin.cpp       2011-04-12 20:03:15.640382627 +0200
+@@ -68,35 +68,35 @@
+ {
+ 
+ 
+-      prefsIcon= 
QPixmap::QPixmap(qembed_findImage("package_settings"));//QPixmap(ICON_PREFS);
++      prefsIcon= 
QPixmap(qembed_findImage("package_settings"));//QPixmap(ICON_PREFS);
+ //    infoIcon= QPixmap(ICON_GAMEINFO);
+-      exitIcon =  
QPixmap::QPixmap(qembed_findImage("exit"));//QPixmap(ICON_EXIT);
+-      fileNewboardIcon = 
QPixmap::QPixmap(qembed_findImage("newboard"));//QPixmap(ICON_FILENEWBOARD);
+-      fileNewIcon = 
QPixmap::QPixmap(qembed_findImage("filenew"));//QPixmap(ICON_FILENEW);
+-      fileOpenIcon = 
QPixmap::QPixmap(qembed_findImage("fileopen"));//QPixmap(ICON_FILEOPEN);
++      exitIcon =  QPixmap(qembed_findImage("exit"));//QPixmap(ICON_EXIT);
++      fileNewboardIcon = 
QPixmap(qembed_findImage("newboard"));//QPixmap(ICON_FILENEWBOARD);
++      fileNewIcon = 
QPixmap(qembed_findImage("filenew"));//QPixmap(ICON_FILENEW);
++      fileOpenIcon = 
QPixmap(qembed_findImage("fileopen"));//QPixmap(ICON_FILEOPEN);
+ //    fileSaveIcon = QPixmap(ICON_FILESAVE);
+ //    fileSaveAsIcon = QPixmap(ICON_FILESAVEAS);
+ //    transformIcon = QPixmap(ICON_TRANSFORM);
+ //    charIcon = QPixmap(ICON_CHARSET);
+-      manualIcon = 
QPixmap::QPixmap(qembed_findImage("help"));//QPixmap(ICON_MANUAL);
++      manualIcon = QPixmap(qembed_findImage("help"));//QPixmap(ICON_MANUAL);
+ //    autoplayIcon = QPixmap(ICON_AUTOPLAY);
+-      connectedIcon = 
QPixmap::QPixmap(qembed_findImage("connected"));//QPixmap(ICON_CONNECTED);      
       
+-      disconnectedIcon = 
QPixmap::QPixmap(qembed_findImage("connect_no"));//QPixmap(ICON_DISCONNECTED);  
     
+-      OpenIcon = 
QPixmap::QPixmap(qembed_findImage("open"));//QPixmap(ICON_OPEN);              
+-      LookingIcon = 
QPixmap::QPixmap(qembed_findImage("looking"));//QPixmap(ICON_LOOKING);
+-      QuietIcon= 
QPixmap::QPixmap(qembed_findImage("quiet"));//QPixmap(ICON_QUIET);
+-      NotOpenIcon = 
QPixmap::QPixmap(qembed_findImage("not_open"));//QPixmap(ICON_NOT_OPEN);
+-      NotLookingIcon = 
QPixmap::QPixmap(qembed_findImage("not_looking"));//QPixmap(ICON_NOT_LOOKING);
+-      NotQuietIcon= 
QPixmap::QPixmap(qembed_findImage("not_quiet"));//QPixmap(ICON_NOT_QUIET);      
 
+-      RefreshPlayersIcon = 
QPixmap::QPixmap(qembed_findImage("refresh_players"));//QPixmap(ICON_REFRESH_PLAYERS);
    
+-      RefreshGamesIcon = 
QPixmap::QPixmap(qembed_findImage("refresh_games"));//QPixmap(ICON_REFRESH_GAMES);
        
+-      ComputerPlayIcon = 
QPixmap::QPixmap(qembed_findImage("computerplay"));//QPixmap(ICON_COMPUTER_PLAY);
+-      qgoIcon = 
QPixmap::QPixmap(qembed_findImage("Bowl"));//QPixmap(ICON_COMPUTER_PLAY);  
+-      NotSeekingIcon = QPixmap::QPixmap(qembed_findImage("not_seeking"));
+-      seekingIcon[0] = QPixmap::QPixmap(qembed_findImage("seeking1"));
+-      seekingIcon[1] = QPixmap::QPixmap(qembed_findImage("seeking2"));
+-      seekingIcon[2] = QPixmap::QPixmap(qembed_findImage("seeking3"));
+-      seekingIcon[3] = QPixmap::QPixmap(qembed_findImage("seeking4"));
++      connectedIcon = 
QPixmap(qembed_findImage("connected"));//QPixmap(ICON_CONNECTED);             
++      disconnectedIcon = 
QPixmap(qembed_findImage("connect_no"));//QPixmap(ICON_DISCONNECTED);       
++      OpenIcon = QPixmap(qembed_findImage("open"));//QPixmap(ICON_OPEN);      
        
++      LookingIcon = 
QPixmap(qembed_findImage("looking"));//QPixmap(ICON_LOOKING);
++      QuietIcon= QPixmap(qembed_findImage("quiet"));//QPixmap(ICON_QUIET);
++      NotOpenIcon = 
QPixmap(qembed_findImage("not_open"));//QPixmap(ICON_NOT_OPEN);
++      NotLookingIcon = 
QPixmap(qembed_findImage("not_looking"));//QPixmap(ICON_NOT_LOOKING);
++      NotQuietIcon= 
QPixmap(qembed_findImage("not_quiet"));//QPixmap(ICON_NOT_QUIET);       
++      RefreshPlayersIcon = 
QPixmap(qembed_findImage("refresh_players"));//QPixmap(ICON_REFRESH_PLAYERS);   
 
++      RefreshGamesIcon = 
QPixmap(qembed_findImage("refresh_games"));//QPixmap(ICON_REFRESH_GAMES);       
 
++      ComputerPlayIcon = 
QPixmap(qembed_findImage("computerplay"));//QPixmap(ICON_COMPUTER_PLAY);
++      qgoIcon = 
QPixmap(qembed_findImage("Bowl"));//QPixmap(ICON_COMPUTER_PLAY);  
++      NotSeekingIcon = QPixmap(qembed_findImage("not_seeking"));
++      seekingIcon[0] = QPixmap(qembed_findImage("seeking1"));
++      seekingIcon[1] = QPixmap(qembed_findImage("seeking2"));
++      seekingIcon[2] = QPixmap(qembed_findImage("seeking3"));
++      seekingIcon[3] = QPixmap(qembed_findImage("seeking4"));
+ 
+       // init
+ 
+@@ -576,7 +576,7 @@
+       if (e->timerId() == seekButtonTimer)
+       {       
+               imagecounter = (imagecounter+1) % 4;
+-              
toolSeek->setIconSet(QIconSet::QIconSet(seekingIcon[imagecounter]));
++              toolSeek->setIconSet(QIconSet(seekingIcon[imagecounter]));
+               return;
+       }
+ 
+@@ -2950,17 +2950,17 @@
+       //tb->setProperty( "geometry", QRect(0, 0, 20, 20));
+ 
+       //added the icons
+-      refreshPlayers->setIconSet(QIconSet::QIconSet(RefreshPlayersIcon));
+-      refreshGames->setIconSet(QIconSet::QIconSet(RefreshGamesIcon));
+-      fileNew->setIconSet(QIconSet::QIconSet(fileNewIcon));
+-      fileNewBoard->setIconSet(QIconSet::QIconSet(fileNewboardIcon));
+-      fileOpen->setIconSet(QIconSet::QIconSet(fileOpenIcon));
+-      fileQuit->setIconSet(QIconSet::QIconSet(exitIcon));
+-      computerPlay->setIconSet(QIconSet::QIconSet(ComputerPlayIcon));
+-      Connect->setIconSet(QIconSet::QIconSet(connectedIcon));
+-      Disconnect->setIconSet(QIconSet::QIconSet(disconnectedIcon));
+-      helpManual->setIconSet(QIconSet::QIconSet(manualIcon));
+-      setPreferences->setIconSet(QIconSet::QIconSet(prefsIcon));
++      refreshPlayers->setIconSet(QIconSet(RefreshPlayersIcon));
++      refreshGames->setIconSet(QIconSet(RefreshGamesIcon));
++      fileNew->setIconSet(QIconSet(fileNewIcon));
++      fileNewBoard->setIconSet(QIconSet(fileNewboardIcon));
++      fileOpen->setIconSet(QIconSet(fileOpenIcon));
++      fileQuit->setIconSet(QIconSet(exitIcon));
++      computerPlay->setIconSet(QIconSet(ComputerPlayIcon));
++      Connect->setIconSet(QIconSet(connectedIcon));
++      Disconnect->setIconSet(QIconSet(disconnectedIcon));
++      helpManual->setIconSet(QIconSet(manualIcon));
++      setPreferences->setIconSet(QIconSet(prefsIcon));
+       setIcon(qgoIcon);
+ 
+   UserToolbar->show();
+@@ -3218,7 +3218,7 @@
+       toolSeek->setOn(false);
+       toolSeek->setPopup(seekMenu);
+       toolSeek->setPopupDelay(1);
+-      toolSeek->setIconSet(QIconSet::QIconSet(NotSeekingIcon));
++      toolSeek->setIconSet(QIconSet(NotSeekingIcon));
+       killTimer(seekButtonTimer);
+       seekButtonTimer = 0;
+ }
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' 
'--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' 
qgo-1.5.4-r3~/src/qgtp.cpp qgo-1.5.4-r3/src/qgtp.cpp
+--- qgo-1.5.4-r3~/src/qgtp.cpp 2011-04-12 20:03:12.000000000 +0200
++++ qgo-1.5.4-r3/src/qgtp.cpp  2011-04-12 20:03:22.360029899 +0200
+@@ -277,7 +277,7 @@
+       _cpt++;
+ 
+       qDebug(QString("flush -> %1").arg(s));
+-    programProcess->writeToStdin(QString::QString(s));
++    programProcess->writeToStdin(QString(s));
+       
+       
+ }

Reply via email to