nixview-python/communicator.py

9 lines
259 B
Python

from PyQt5.QtCore import QObject, pyqtSignal
class Communicate(QObject):
"""
Small class for across app communication. Defines signals, to which other classes can connect.
"""
open_recent = pyqtSignal(str)
communicator = Communicate()