aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/actioneditor/actioneditor.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/actioneditor/actioneditor.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/actioneditor/actioneditor.cpp')
-rw-r--r--src/modules/actioneditor/actioneditor.cpp12
1 files changed, 6 insertions, 6 deletions
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);