summaryrefslogtreecommitdiffstats
path: root/parts/fileview/addfilegroupdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/fileview/addfilegroupdlg.cpp')
-rw-r--r--parts/fileview/addfilegroupdlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/parts/fileview/addfilegroupdlg.cpp b/parts/fileview/addfilegroupdlg.cpp
index b59f2ad2..112eec4a 100644
--- a/parts/fileview/addfilegroupdlg.cpp
+++ b/parts/fileview/addfilegroupdlg.cpp
@@ -20,8 +20,8 @@
#include "addfilegroupdlg.h"
-AddFileGroupDialog::AddFileGroupDialog(const TQString& old_title, const TQString& old_pattern, TQWidget *parent, const char *name)
- : TQDialog(parent, name, true)
+AddFileGroupDialog::AddFileGroupDialog(const TQString& old_title, const TQString& old_pattern, TQWidget *tqparent, const char *name)
+ : TQDialog(tqparent, name, true)
{
TQLabel *title_label = new TQLabel(i18n("&Title:"), this);
title_edit = new KLineEdit(old_title, this);
@@ -35,10 +35,10 @@ AddFileGroupDialog::AddFileGroupDialog(const TQString& old_title, const TQString
TQFontMetrics fm(pattern_edit->fontMetrics());
pattern_edit->setMinimumWidth(fm.width('X')*35);
connect( pattern_edit, TQT_SIGNAL( textChanged ( const TQString & ) ), this, TQT_SLOT( slotTextChanged() ) );
- TQVBoxLayout *layout = new TQVBoxLayout(this, 10);
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(this, 10);
TQGridLayout *grid = new TQGridLayout(2, 2);
- layout->addLayout(grid);
+ tqlayout->addLayout(grid);
grid->addWidget(title_label, 0, 0);
grid->addWidget(title_edit, 0, 1);
grid->addWidget(pattern_label, 1, 0);
@@ -46,7 +46,7 @@ AddFileGroupDialog::AddFileGroupDialog(const TQString& old_title, const TQString
TQFrame *frame = new TQFrame(this);
frame->setFrameStyle(TQFrame::HLine | TQFrame::Sunken);
- layout->addWidget(frame, 0);
+ tqlayout->addWidget(frame, 0);
KButtonBox *buttonbox = new KButtonBox(this);
buttonbox->addStretch();
@@ -56,8 +56,8 @@ AddFileGroupDialog::AddFileGroupDialog(const TQString& old_title, const TQString
m_pOk->setDefault(true);
connect( m_pOk, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()) );
connect( cancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()) );
- buttonbox->layout();
- layout->addWidget(buttonbox, 0);
+ buttonbox->tqlayout();
+ tqlayout->addWidget(buttonbox, 0);
slotTextChanged();
}