Skip to content

Commit

Permalink
Merge branch 'package-reorg' of git://github.com/kmike/qtreactor into…
Browse files Browse the repository at this point in the history
… kmike-package-reorg
  • Loading branch information
ghtdak committed Sep 22, 2014
2 parents c57641c + 0e8eef2 commit 5109dc2
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion bin/gtrial
Expand Up @@ -22,6 +22,6 @@ if hasattr(os, "getuid") and os.getuid() != 0:
sys.path[:] = map(os.path.abspath, sys.path)
# end chdir armor

from gtrial import run
from qtreactor.gtrial import run

run()
4 changes: 2 additions & 2 deletions ghtTests/fakeAppButtonStress.py
Expand Up @@ -7,9 +7,9 @@

app = QtGui.QApplication(sys.argv)

import qt4reactor
from qtreactor import pyqt4reactor

qt4reactor.install()
pyqt4reactor.install()

from twisted.internet import reactor, task

Expand Down
4 changes: 2 additions & 2 deletions ghtTests/ircClient.py
@@ -1,11 +1,11 @@
from __future__ import print_function

import qt4reactor
from qtreactor import pyqt4reactor

from PyQt4 import QtGui

app = QtGui.QApplication(sys.argv)
qt4reactor.install()
pyqt4reactor.install()

from twisted.words.protocols import irc
from twisted.internet import reactor, protocol
Expand Down
4 changes: 2 additions & 2 deletions ghtTests/testIterate.py
Expand Up @@ -7,9 +7,9 @@

app = QtGui.QApplication(sys.argv)

import qt4reactor
from qtreactor import pyqt4reactor

qt4reactor.install()
pyqt4reactor.install()

from twisted.internet import reactor, task
from twisted.python import log
Expand Down
4 changes: 2 additions & 2 deletions qtreactor/gtrial.py
@@ -1,4 +1,4 @@
from __future__ import print_function
from __future__ import print_function, absolute_import

import sys

Expand All @@ -8,7 +8,7 @@

app = QtGui.QApplication(sys.argv)

import pyqt4reactor
from qtreactor import pyqt4reactor

pyqt4reactor.install()

Expand Down
6 changes: 3 additions & 3 deletions qtreactor/pyqt4reactor.py
Expand Up @@ -11,15 +11,15 @@
"""

from __future__ import print_function
from __future__ import print_function, absolute_import

from twisted.python import runtime

import qtreactor_config
from qtreactor import qtreactor_config

qtreactor_config.set_qt_name("PyQt4")

import qt4base
from qtreactor import qt4base

class pyqt4reactor(qt4base.QtReactor):
pass
Expand Down
6 changes: 3 additions & 3 deletions qtreactor/pyside4reactor.py
Expand Up @@ -11,15 +11,15 @@
"""

from __future__ import print_function
from __future__ import print_function, absolute_import

from twisted.python import runtime

import qtreactor_config
from qtreactor import qtreactor_config

qtreactor_config.set_qt_name("PySide")

import qt4base
from qtreactor import qt4base

class pyqt4reactor(qt4base.QtReactor):
pass
Expand Down
4 changes: 2 additions & 2 deletions qtreactor/qt4base.py
Expand Up @@ -11,15 +11,15 @@
"""

from __future__ import print_function
from __future__ import print_function, absolute_import
import sys

from zope.interface import implements
from twisted.internet.interfaces import IReactorFDSet
from twisted.python import log, runtime
from twisted.internet import posixbase

import qtreactor_config
from qtreactor import qtreactor_config

if qtreactor_config.get_qt_name() == "PyQt4":
from PyQt4 import QtCore
Expand Down

0 comments on commit 5109dc2

Please sign in to comment.