aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/theme/packthemedialog.cpp
diff options
context:
space:
mode:
authorGravatar Noldor2008-04-30 10:28:19 +0000
committerGravatar Noldor2008-04-30 10:28:19 +0000
commit7a03271a4a4d26c5213a4b4c46f0eee6410e88f4 (patch)
tree4459594873310eae967f6c2a9404f6772353ef7e /src/modules/theme/packthemedialog.cpp
parentremoved useless class; fixed cmake/automake rules; little fixes around (diff)
downloadKVIrc-7a03271a4a4d26c5213a4b4c46f0eee6410e88f4.tar.gz
KVIrc-7a03271a4a4d26c5213a4b4c46f0eee6410e88f4.tar.bz2
KVIrc-7a03271a4a4d26c5213a4b4c46f0eee6410e88f4.zip
Removed obsolete QGridLayout QT3 constructor.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1626 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/theme/packthemedialog.cpp')
-rw-r--r--src/modules/theme/packthemedialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/theme/packthemedialog.cpp b/src/modules/theme/packthemedialog.cpp
index e36f148ca..ccf44505f 100644
--- a/src/modules/theme/packthemedialog.cpp
+++ b/src/modules/theme/packthemedialog.cpp
@@ -117,7 +117,7 @@ KviPackThemeDialog::KviPackThemeDialog(QWidget * pParent,KviPointerList<KviTheme
// welcome page ==================================================================================
QWidget * pPage = new QWidget(this);
- QGridLayout * pLayout = new QGridLayout(pPage,2,1,4,4);
+ QGridLayout * pLayout = new QGridLayout(pPage);
QLabel * pLabel = new QLabel(pPage);
QString szText = "<p>";
@@ -141,7 +141,7 @@ KviPackThemeDialog::KviPackThemeDialog(QWidget * pParent,KviPointerList<KviTheme
// theme data name ================================================================================
pPage = new QWidget(this);
- pLayout = new QGridLayout(pPage,2,1,4,4);
+ pLayout = new QGridLayout(pPage);
pLabel = new QLabel(pPage);
pLabel->setText(__tr2qs_ctx("This is the information list for the themes you're packaging. If it looks OK press \"Next\" to continue, otherwise press \"Cancel\" and rewiew your themes first.","theme"));
@@ -203,7 +203,7 @@ KviPackThemeDialog::KviPackThemeDialog(QWidget * pParent,KviPointerList<KviTheme
// packager informations ================================================================================
pPage = new QWidget(this);
- pLayout = new QGridLayout(pPage,5,2,4,4);
+ pLayout = new QGridLayout(pPage);
pLabel = new QLabel(pPage);
pLabel->setText(__tr2qs_ctx("Here you need to provide informations about you (the packager) and a short description of the package you're creating.","theme"));
@@ -255,7 +255,7 @@ KviPackThemeDialog::KviPackThemeDialog(QWidget * pParent,KviPointerList<KviTheme
// screenshot/logo/icon ================================================================================
pPage = new QWidget(this);
- pLayout = new QGridLayout(pPage,3,1,4,4);
+ pLayout = new QGridLayout(pPage);
pLabel = new QLabel(pPage);
pLabel->setText(__tr2qs_ctx("Here you can choose the image that will appear in the installation dialog for your theme package. It can be an icon, a logo or a screenshot and it should be not larger than 300x225. If you don't provide an image a simple default icon will be used at installation stage.","theme"));
@@ -284,7 +284,7 @@ KviPackThemeDialog::KviPackThemeDialog(QWidget * pParent,KviPointerList<KviTheme
// save file name ================================================================================
pPage = new QWidget(this);
- pLayout = new QGridLayout(pPage,4,1,4,4);
+ pLayout = new QGridLayout(pPage);
pLabel = new QLabel(pPage);
pLabel->setText(__tr2qs_ctx("Here you must choose the file name for the theme package. It should have a *.%1 extension.","theme").arg(KVI_FILEEXTENSION_THEMEPACKAGE));