Changeset 112


Ignore:
Timestamp:
07/11/10 12:14:46 (11 years ago)
Author:
sc
Message:

QTcpServer.listen() and QTcpSocket.readyRead() not working

Location:
remote_control
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • remote_control/puzzlebox_brainstorms_network_client.py

    r111 r112  
    1616import signal 
    1717 
    18 try: 
    19         import PySide as PyQt4 
    20         from PySide import QtCore, QtGui, QtNetwork 
    21 except: 
    22         print "Using PyQt4 module" 
    23         from PyQt4 import QtCore, QtGui, QtNetwork 
    24 else: 
    25         print "Using PySide module" 
    26  
    27 #from PyQt4 import QtCore, QtGui, QtNetwork 
     18#try: 
     19        #import PySide as PyQt4 
     20        #from PySide import QtCore, QtGui, QtNetwork 
     21#except: 
     22        #print "Using PyQt4 module" 
     23        #from PyQt4 import QtCore, QtGui, QtNetwork 
     24#else: 
     25        #print "Using PySide module" 
     26 
     27from PyQt4 import QtCore, QtGui, QtNetwork 
    2828 
    2929import simplejson as json 
  • remote_control/puzzlebox_brainstorms_network_client_thinkgear.py

    r111 r112  
    1616import signal 
    1717 
    18 try: 
    19         import PySide as PyQt4 
    20         from PySide import QtCore, QtNetwork 
    21 except: 
    22         print "Using PyQt4 module" 
    23         from PyQt4 import QtCore, QtNetwork 
    24 else: 
    25         print "Using PySide module" 
    26  
    27 #from PyQt4 import QtCore, QtNetwork 
     18#try: 
     19        #import PySide as PyQt4 
     20        #from PySide import QtCore, QtNetwork 
     21#except: 
     22        #print "Using PyQt4 module" 
     23        #from PyQt4 import QtCore, QtNetwork 
     24#else: 
     25        #print "Using PySide module" 
     26 
     27from PyQt4 import QtCore, QtNetwork 
    2828 
    2929import simplejson as json 
  • remote_control/puzzlebox_brainstorms_network_server.py

    r111 r112  
    1818import simplejson as json 
    1919 
    20 try: 
    21         import PySide as PyQt4 
    22         from PySide import QtCore, QtNetwork 
    23 except: 
    24         print "Using PyQt4 module" 
    25         from PyQt4 import QtCore, QtNetwork 
    26 else: 
    27         print "Using PySide module" 
    28  
    29 #from PyQt4 import QtCore, QtNetwork 
     20#try: 
     21        #import PySide as PyQt4 
     22        #from PySide import QtCore, QtNetwork 
     23#except: 
     24        #print "Using PyQt4 module" 
     25        #from PyQt4 import QtCore, QtNetwork 
     26#else: 
     27        #print "Using PySide module" 
     28 
     29from PyQt4 import QtCore, QtNetwork 
    3030 
    3131import puzzlebox_brainstorms_configuration as configuration 
Note: See TracChangeset for help on using the changeset viewer.