Import and typo fixes

This commit is contained in:
Jon Tibble 2010-04-19 19:43:20 +01:00
parent 884fdc513f
commit 17ec820b79
4 changed files with 6 additions and 8 deletions

View File

@ -671,7 +671,7 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
def serviceChanged(self, reset=False, serviceName=None):
"""
Hook to change the main window title when the service chmainwindow.pyanges
Hook to change the main window title when the service changes
``reset``
Shows if the service has been cleared or saved

View File

@ -26,7 +26,6 @@
from PyQt4 import QtCore, QtGui
from openlp.core.lib import SettingsTab, str_to_bool
from openlp.plugins.alerts.lib.models import AlertItem
class AlertsTab(SettingsTab):
"""

View File

@ -29,22 +29,19 @@
# http://www.oooforum.org/forum/viewtopic.phtml?t=14409
# http://wiki.services.openoffice.org/wiki/Python
import re
import os
import time
from PyQt4 import QtCore
import re
from songimport import SongImport
from oooimport import OooImport
if os.name == u'nt':
from win32com.client import Dispatch
BOLD = 150.0
ITALIC = 2
PAGE_BEFORE = 4
PAGE_AFTER = 5
PAGE_BOTH = 6
else:
import uno
from com.sun.star.awt.FontWeight import BOLD
from com.sun.star.awt.FontSlant import ITALIC
from com.sun.star.style.BreakType import PAGE_BEFORE, PAGE_AFTER, PAGE_BOTH

View File

@ -24,7 +24,9 @@
###############################################################################
import string
from PyQt4 import QtGui, QtCore
from PyQt4 import QtGui
from openlp.core.lib import SongXMLBuilder
from openlp.plugins.songs.lib.models import Song, Author, Topic, Book