#!/usr/bin/python
# -*- coding: utf-8 -*-
#
-# Copyright (C) 2011 Sebastien Helleu <flashcode@flashtux.org>
+# about.py - about dialog box
+#
+# Copyright (C) 2011-2013 Sebastien Helleu <flashcode@flashtux.org>
#
# This file is part of QWeeChat, a Qt remote GUI for WeeChat.
#
# along with QWeeChat. If not, see <http://www.gnu.org/licenses/>.
#
-#
-# About dialog box.
-#
-
import qt_compat
QtCore = qt_compat.import_module('QtCore')
QtGui = qt_compat.import_module('QtGui')
"""About dialog."""
def __init__(self, name, messages, *args):
- apply(QtGui.QDialog.__init__, (self,) + args)
+ QtGui.QDialog.__init__(*(self,) + args)
self.setModal(True)
self.setWindowTitle(name)