forked from openlp/openlp
- updated the resources.patch file, so that the resources.py file is conform to our standards
bzr-revno: 2206
This commit is contained in:
commit
3b1dd3e764
@ -1,14 +1,16 @@
|
|||||||
--- openlp/core/resources.py.old Mon Jun 21 23:16:19 2010
|
=== modified file 'openlp/core/resources.py'
|
||||||
+++ openlp/core/resources.py Mon Jun 21 23:27:48 2010
|
--- openlp/core/resources.py 2013-03-12 08:44:54 +0000
|
||||||
|
+++ openlp/core/resources.py 2013-03-12 08:45:42 +0000
|
||||||
@@ -1,10 +1,35 @@
|
@@ -1,10 +1,35 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
+# vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4
|
-
|
||||||
|
|
||||||
-# Resource object code
|
-# Resource object code
|
||||||
-#
|
-#
|
||||||
-#
|
-#
|
||||||
-# WARNING! All changes made in this file will be lost!
|
-# WARNING! All changes made in this file will be lost!
|
||||||
-
|
-
|
||||||
|
+# vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4
|
||||||
|
+
|
||||||
+###############################################################################
|
+###############################################################################
|
||||||
+# OpenLP - Open Source Lyrics Projection #
|
+# OpenLP - Open Source Lyrics Projection #
|
||||||
+# --------------------------------------------------------------------------- #
|
+# --------------------------------------------------------------------------- #
|
||||||
@ -41,23 +43,21 @@
|
|||||||
from PyQt4 import QtCore
|
from PyQt4 import QtCore
|
||||||
|
|
||||||
qt_resource_data = "\
|
qt_resource_data = "\
|
||||||
@@ -48643,9 +48664,16 @@
|
@@ -71953,9 +71978,14 @@
|
||||||
"
|
"
|
||||||
|
|
||||||
def qInitResources():
|
def qInitResources():
|
||||||
- QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data)
|
|
||||||
+ """
|
+ """
|
||||||
+ Initialise OpenLP resources at application startup.
|
+ Initialise OpenLP resources at application startup.
|
||||||
+ """
|
+ """
|
||||||
+ QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name,
|
QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data)
|
||||||
+ qt_resource_data)
|
|
||||||
|
|
||||||
def qCleanupResources():
|
def qCleanupResources():
|
||||||
- QtCore.qUnregisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data)
|
|
||||||
+ """
|
+ """
|
||||||
+ Cleanup OpenLP resources when the application shuts down.
|
+ Cleanup OpenLP resources when the application shuts down.
|
||||||
+ """
|
+ """
|
||||||
+ QtCore.qUnregisterResourceData(0x01, qt_resource_struct, qt_resource_name,
|
QtCore.qUnregisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data)
|
||||||
+ qt_resource_data)
|
|
||||||
|
|
||||||
-qInitResources()
|
-qInitResources()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user