%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/DistUpgrade/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/DistUpgrade/__pycache__/QUrlOpener.cpython-312.pyc

�

>I�c����	ddlmZe�dk(re�ddlmZmZmZmZddlm	Z	ddlZddl
Z
d�ZeGd�d	e��Zy#e$rddl
mZmZmZmZddlm	Z	Y�5wxYw)
�)�get_dist�trusty�)�QObject�QCoreApplication�pyqtSlot�QUrl)�QDesktopServicesNc����i���fd�}|S)Nc�,����vr�|i|����<��S�N�)�args�kwargs�class_�	instancess  ���8/usr/lib/python3/dist-packages/DistUpgrade/QUrlOpener.py�instancezsingleton.<locals>.instance+s*�����"� &�� 7�� 7�I�f���� � �r)rrrs` @r�	singletonr(s����I�!��Orc�4�eZdZd�Zd�Zee�d��Zy)�
QUrlOpenerc�t�tj|�|jtj��yr
)r�__init__�	setParentrr��selfs rrzQUrlOpener.__init__4s&����������'�0�0�2�3rc�`�tjd|d�tjd|d�y)N�http�openUrl�https)r
�
setUrlHandlerrs r�setupUrlHandleszQUrlOpener.setupUrlHandles8s(��
	�&�&�v�t�Y�?��&�&�w��i�@rc��|j�}	tjjd�rd|g}nptjjd�rd|g}nLtjjd�rd|g}n(tjjd�rd|g}nd	|g}tj�d
k(r,dtj
vrdd
dtj
dg|z}t
j|�y)Nz/usr/bin/xdg-openzxdg-openz/usr/bin/kde-openzkde-openz/usr/bin/exo-openzexo-openz/usr/bin/gnome-openz
gnome-openz
x-www-browserr�	SUDO_USER�sudoz
--set-homez-u)�toString�os�path�exists�getuid�environ�
subprocess�Popen)r�url�commands   rr zQUrlOpener.openUrlAs����l�l�n��1�
�7�7�>�>�-�.�!�3�'�G�
�W�W�^�^�/�
0�!�3�'�G�
�W�W�^�^�/�
0�!�3�'�G�
�W�W�^�^�1�
2�#�S�)�G�&��,�G�
�9�9�;�!���r�z�z� 9��#��R�Z�Z��4�6�8?�@�G�	����!rN)�__name__�
__module__�__qualname__rr#rr	r rrrrr2s%��4�A��d�^�"��"rr)�utilsr�ImportError�PyQt5.QtCorerrrr	�PyQt5.QtGuir
�PyQt4.QtCore�PyQt4.QtGuir(r-rrrrr�<module>r:sj��&-� ��z�X����F�F�,�

����""��""��""��'�-�F�F�,�-�s�$A�A�A

Zerion Mini Shell 1.0