From 7a03271a4a4d26c5213a4b4c46f0eee6410e88f4 Mon Sep 17 00:00:00 2001 From: Noldor Date: Wed, 30 Apr 2008 10:28:19 +0000 Subject: Removed obsolete QGridLayout QT3 constructor. git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1626 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/actioneditor/actioneditor.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/modules/actioneditor/actioneditor.cpp') diff --git a/src/modules/actioneditor/actioneditor.cpp b/src/modules/actioneditor/actioneditor.cpp index 9b227c480..c9d8ee097 100644 --- a/src/modules/actioneditor/actioneditor.cpp +++ b/src/modules/actioneditor/actioneditor.cpp @@ -143,7 +143,7 @@ KviSingleActionEditor::KviSingleActionEditor(QWidget * par,KviActionEditor * ed) m_pActionEditor = ed; m_pActionData = 0; - QGridLayout * g = new QGridLayout(this,3,2,0,4); + QGridLayout * g = new QGridLayout(this); QLabel * l = new QLabel(__tr2qs("Name:"),this); g->addWidget(l,0,0); @@ -162,7 +162,7 @@ KviSingleActionEditor::KviSingleActionEditor(QWidget * par,KviActionEditor * ed) // code tab QWidget * tab = new QWidget(tw); - QGridLayout * gl = new QGridLayout(tab,1,1,8,4); + QGridLayout * gl = new QGridLayout(tab); m_pScriptEditor = KviScriptEditor::createInstance(tab); gl->addWidget(m_pScriptEditor,0,0); @@ -172,7 +172,7 @@ KviSingleActionEditor::KviSingleActionEditor(QWidget * par,KviActionEditor * ed) // properties tab tab = new QWidget(tw); - gl = new QGridLayout(tab,7,4,8,4); + gl = new QGridLayout(tab); l = new QLabel(__tr2qs("Category:"),tab); gl->addWidget(l,0,0); @@ -237,7 +237,7 @@ KviSingleActionEditor::KviSingleActionEditor(QWidget * par,KviActionEditor * ed) // flags tab tab = new QWidget(tw); - gl = new QGridLayout(tab,12,4,8,4); + gl = new QGridLayout(tab); m_pNeedsContextCheck = new KviStyledCheckBox(__tr2qs("Needs IRC Context"),tab); @@ -635,7 +635,7 @@ KviActionEditor::KviActionEditor(QWidget * par) : QWidget(par) { - QGridLayout * l = new QGridLayout(this,1,1,2,2); + QGridLayout * l = new QGridLayout(this); m_pSplitter = new QSplitter(Qt::Horizontal,this); m_pSplitter->setOpaqueResize(false); l->addWidget(m_pSplitter,0,0); @@ -897,7 +897,7 @@ KviActionEditorWindow::KviActionEditorWindow(KviFrame * lpFrm) m_pEditor = new KviActionEditor(this); m_pBase = new QWidget(this); - QGridLayout * g = new QGridLayout(m_pBase,1,4,4,4); + QGridLayout * g = new QGridLayout(m_pBase); QPushButton * btn = new QPushButton(__tr2qs("OK"),m_pBase); btn->setMinimumWidth(80); -- cgit v1.3.1-10-gc9f91