2013-06-22 21:34:41 -04:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# Created By: Virgil Dupras
|
|
|
|
# Created On: 2009-10-16
|
2014-02-01 17:17:15 -05:00
|
|
|
# Copyright 2014 Hardcoded Software (http://www.hardcoded.net)
|
2013-06-22 21:34:41 -04:00
|
|
|
#
|
|
|
|
# This software is licensed under the "BSD" License as described in the "LICENSE" file,
|
|
|
|
# which should be included with this package. The terms are also available at
|
|
|
|
# http://www.hardcoded.net/licenses/bsd_license
|
|
|
|
|
2013-10-20 15:15:09 -04:00
|
|
|
from PyQt5.QtCore import SIGNAL, QTimer, QObject
|
2013-06-22 21:34:41 -04:00
|
|
|
|
|
|
|
class Application(QObject):
|
|
|
|
def __init__(self):
|
|
|
|
QObject.__init__(self)
|
|
|
|
QTimer.singleShot(0, self.__launchTimerTimedOut)
|
|
|
|
|
|
|
|
def __launchTimerTimedOut(self):
|
|
|
|
self.emit(SIGNAL('applicationFinishedLaunching()'))
|
|
|
|
|