Rename obsolete tq methods to standard names

(cherry picked from commit 18ee04827d)
v3.5.13-sru
Timothy Pearson 13 years ago committed by Slávek Banko
parent b93a818468
commit 4a59b684a1

@ -39,15 +39,15 @@ namespace KileDialog
// label widgets // label widgets
TQWidget *labelwidget = new TQWidget(plainPage()); TQWidget *labelwidget = new TQWidget(plainPage());
TQHBoxLayout *labeltqlayout = new TQHBoxLayout(labelwidget); TQHBoxLayout *labellayout = new TQHBoxLayout(labelwidget);
// line 1: picture and label // line 1: picture and label
TQLabel *picture = new TQLabel("", labelwidget); TQLabel *picture = new TQLabel("", labelwidget);
picture->setPixmap( KGlobal::instance()->iconLoader()->loadIcon("messagebox_warning", KIcon::NoGroup, KIcon::SizeMedium) ); picture->setPixmap( KGlobal::instance()->iconLoader()->loadIcon("messagebox_warning", KIcon::NoGroup, KIcon::SizeMedium) );
TQLabel *label = new TQLabel(i18n( "Do you really want to delete these files?" ), labelwidget); TQLabel *label = new TQLabel(i18n( "Do you really want to delete these files?" ), labelwidget);
labeltqlayout->addWidget(picture); labellayout->addWidget(picture);
labeltqlayout->addSpacing(20); labellayout->addSpacing(20);
labeltqlayout->addWidget(label); labellayout->addWidget(label);
// line 2: listview // line 2: listview
listview = new KListView(plainPage()); listview = new KListView(plainPage());

@ -852,7 +852,7 @@ namespace KileDocument
TQString CodeCompletion::stripParameter( const TQString &text ) TQString CodeCompletion::stripParameter( const TQString &text )
{ {
TQString s = ""; TQString s = "";
const TQChar *ch = text.tqunicode(); const TQChar *ch = text.unicode();
bool ignore = false; bool ignore = false;

@ -74,9 +74,9 @@ ConfigChecker::ConfigChecker(TQWidget* parent) :
KDialogBase( Plain, i18n("System Check"), Ok|Cancel|User1, Ok, parent, 0, true, true, KGuiItem("&Save Results...")), KDialogBase( Plain, i18n("System Check"), Ok|Cancel|User1, Ok, parent, 0, true, true, KGuiItem("&Save Results...")),
m_tester(0L) m_tester(0L)
{ {
TQGridLayout *tqlayout = new TQGridLayout(plainPage(), 1, 1); TQGridLayout *layout = new TQGridLayout(plainPage(), 1, 1);
m_widget = new ConfigCheckerWidget(plainPage()); m_widget = new ConfigCheckerWidget(plainPage());
tqlayout->addWidget(m_widget, 1, 1); layout->addWidget(m_widget, 1, 1);
enableButton(Ok, false); enableButton(Ok, false);
enableButton(User1, false); enableButton(User1, false);

@ -70,9 +70,9 @@ ConfigCodeCompletion::ConfigCodeCompletion(KConfig *config, KileWidget::LogMsg *
// below: OptionBox // below: OptionBox
TQButtonGroup *bg_options = new TQButtonGroup( this, "bgOptions" ); TQButtonGroup *bg_options = new TQButtonGroup( this, "bgOptions" );
bg_options->setColumnLayout(0, Qt::Vertical ); bg_options->setColumnLayout(0, Qt::Vertical );
bg_options->tqlayout()->setSpacing( 6 ); bg_options->layout()->setSpacing( 6 );
bg_options->tqlayout()->setMargin( 11 ); bg_options->layout()->setMargin( 11 );
TQGridLayout *bg_optionsLayout = new TQGridLayout( bg_options->tqlayout() ); TQGridLayout *bg_optionsLayout = new TQGridLayout( bg_options->layout() );
bg_optionsLayout->setAlignment( TQt::AlignTop ); bg_optionsLayout->setAlignment( TQt::AlignTop );
cb_setcursor = new TQCheckBox(i18n("Place cursor"),bg_options); cb_setcursor = new TQCheckBox(i18n("Place cursor"),bg_options);
@ -107,7 +107,7 @@ ConfigCodeCompletion::ConfigCodeCompletion(KConfig *config, KileWidget::LogMsg *
bg_optionsLayout->addWidget(cb_autocompleteabbrev,3,2); bg_optionsLayout->addWidget(cb_autocompleteabbrev,3,2);
bg_optionsLayout->addMultiCellWidget(cb_citeoutofbraces,4,4,0,7); bg_optionsLayout->addMultiCellWidget(cb_citeoutofbraces,4,4,0,7);
// tune tqlayout // tune layout
bg_optionsLayout->setColSpacing(1,20); bg_optionsLayout->setColSpacing(1,20);
bg_optionsLayout->setColSpacing(3,12); bg_optionsLayout->setColSpacing(3,12);
bg_optionsLayout->setColSpacing(5,8); bg_optionsLayout->setColSpacing(5,8);
@ -126,7 +126,7 @@ ConfigCodeCompletion::ConfigCodeCompletion(KConfig *config, KileWidget::LogMsg *
// bottom: warning // bottom: warning
TQLabel *lb_automodes = new TQLabel(i18n("Warning: all autocompletion modes will be disabled, if you enable KTextEditor plugin word completion."),this); TQLabel *lb_automodes = new TQLabel(i18n("Warning: all autocompletion modes will be disabled, if you enable KTextEditor plugin word completion."),this);
// add OptionBox and TabDialog into the tqlayout // add OptionBox and TabDialog into the layout
vbox->addWidget(gb_tab); vbox->addWidget(gb_tab);
vbox->addWidget(bg_options); vbox->addWidget(bg_options);
vbox->addWidget(lb_automodes); vbox->addWidget(lb_automodes);

@ -167,11 +167,11 @@ ConfigStructure::ConfigStructure(TQWidget *parent, const char *name )
hbox4->addWidget(add); hbox4->addWidget(add);
hbox4->addWidget(remove); hbox4->addWidget(remove);
// add widgets to the left vertical tqlayout // add widgets to the left vertical layout
vbox1->addWidget(m_entriestable); vbox1->addWidget(m_entriestable);
vbox1->addStretch(); vbox1->addStretch();
// add widgets to the right vertical tqlayout // add widgets to the right vertical layout
vbox2->addWidget(widget3); vbox2->addWidget(widget3);
vbox2->addSpacing(10); vbox2->addSpacing(10);
vbox2->addWidget(m_sectioningtable); vbox2->addWidget(m_sectioningtable);
@ -180,7 +180,7 @@ ConfigStructure::ConfigStructure(TQWidget *parent, const char *name )
vbox2->addWidget(classGroup); vbox2->addWidget(classGroup);
vbox2->addStretch(); vbox2->addStretch();
// add both groupboxes to horizontal tqlayout // add both groupboxes to horizontal layout
hbox->addWidget(gb_entries); hbox->addWidget(gb_entries);
hbox->addWidget(gb_sectioning); hbox->addWidget(gb_sectioning);
hbox->setStretchFactor(gb_entries,3); hbox->setStretchFactor(gb_entries,3);

@ -83,7 +83,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -39,24 +39,24 @@ FloatEnvironmentDialog::FloatEnvironmentDialog(KConfig *config, KileInfo *ki, TQ
// environment groupbox // environment groupbox
TQButtonGroup *egroup = new TQButtonGroup( i18n("Environment"),page); TQButtonGroup *egroup = new TQButtonGroup( i18n("Environment"),page);
egroup->setColumnLayout(0, Qt::Vertical ); egroup->setColumnLayout(0, Qt::Vertical );
egroup->tqlayout()->setSpacing( 6 ); egroup->layout()->setSpacing( 6 );
egroup->tqlayout()->setMargin( 11 ); egroup->layout()->setMargin( 11 );
TQGridLayout *egrouptqlayout = new TQGridLayout( egroup->tqlayout() ); TQGridLayout *egrouplayout = new TQGridLayout( egroup->layout() );
egrouptqlayout->setAlignment( TQt::AlignTop ); egrouplayout->setAlignment( TQt::AlignTop );
m_rbFigure = new TQRadioButton(i18n("&Figure"), egroup); m_rbFigure = new TQRadioButton(i18n("&Figure"), egroup);
m_rbTable = new TQRadioButton(i18n("T&able"), egroup); m_rbTable = new TQRadioButton(i18n("T&able"), egroup);
egrouptqlayout->addWidget( m_rbFigure, 0,0 ); egrouplayout->addWidget( m_rbFigure, 0,0 );
egrouptqlayout->addWidget( m_rbTable, 0,1 ); egrouplayout->addWidget( m_rbTable, 0,1 );
// position groupbox // position groupbox
TQButtonGroup *pgroup = new TQButtonGroup( i18n("Position"),page); TQButtonGroup *pgroup = new TQButtonGroup( i18n("Position"),page);
pgroup->setColumnLayout(0, Qt::Vertical ); pgroup->setColumnLayout(0, Qt::Vertical );
pgroup->tqlayout()->setSpacing( 6 ); pgroup->layout()->setSpacing( 6 );
pgroup->tqlayout()->setMargin( 11 ); pgroup->layout()->setMargin( 11 );
TQGridLayout *pgrouptqlayout = new TQGridLayout( pgroup->tqlayout() ); TQGridLayout *pgrouplayout = new TQGridLayout( pgroup->layout() );
pgrouptqlayout->setAlignment( TQt::AlignTop ); pgrouplayout->setAlignment( TQt::AlignTop );
TQLabel *label1 = new TQLabel(i18n("Here exact:"), pgroup); TQLabel *label1 = new TQLabel(i18n("Here exact:"), pgroup);
TQLabel *label2 = new TQLabel(i18n("Top of page:"), pgroup); TQLabel *label2 = new TQLabel(i18n("Top of page:"), pgroup);
@ -67,14 +67,14 @@ FloatEnvironmentDialog::FloatEnvironmentDialog(KConfig *config, KileInfo *ki, TQ
m_cbBottom = new TQCheckBox(pgroup); m_cbBottom = new TQCheckBox(pgroup);
m_cbPage = new TQCheckBox(pgroup); m_cbPage = new TQCheckBox(pgroup);
pgrouptqlayout->addWidget( label1, 0,0 ); pgrouplayout->addWidget( label1, 0,0 );
pgrouptqlayout->addWidget( label2, 1,0 ); pgrouplayout->addWidget( label2, 1,0 );
pgrouptqlayout->addWidget( label3, 0,2 ); pgrouplayout->addWidget( label3, 0,2 );
pgrouptqlayout->addWidget( label4, 1,2 ); pgrouplayout->addWidget( label4, 1,2 );
pgrouptqlayout->addWidget( m_cbHere, 0,1 ); pgrouplayout->addWidget( m_cbHere, 0,1 );
pgrouptqlayout->addWidget( m_cbTop, 1,1 ); pgrouplayout->addWidget( m_cbTop, 1,1 );
pgrouptqlayout->addWidget( m_cbBottom, 0,3 ); pgrouplayout->addWidget( m_cbBottom, 0,3 );
pgrouptqlayout->addWidget( m_cbPage, 1,3 ); pgrouplayout->addWidget( m_cbPage, 1,3 );
// center environment // center environment
TQLabel *label5 = new TQLabel(i18n("Center:"),page); TQLabel *label5 = new TQLabel(i18n("Center:"),page);

@ -99,7 +99,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -148,7 +148,7 @@ IncludeGraphics::IncludeGraphics(TQWidget *parent, const TQString &startdir, Kil
grid_fig->addWidget( lb_caption,2,0); grid_fig->addWidget( lb_caption,2,0);
grid_fig->addWidget( edit_caption, 2,1); grid_fig->addWidget( edit_caption, 2,1);
// add to tqlayout // add to layout
vbox->addWidget(group); vbox->addWidget(group);
vbox->addWidget(gb_opt); vbox->addWidget(gb_opt);
vbox->addWidget(gb_fig); vbox->addWidget(gb_fig);

@ -484,7 +484,7 @@ const long* TextInfo::getStatistics()
return m_arStatistics; return m_arStatistics;
} }
// FIXME for KDE 4.0, rearrange the hole docinfo tqlayout to get rid of this hack // FIXME for KDE 4.0, rearrange the hole docinfo layout to get rid of this hack
KURL TextInfo::url() KURL TextInfo::url()
{ {
KURL url; KURL url;

@ -2662,14 +2662,14 @@ void EditorExtension::sectioningCommand(KileListViewItem *item, int id)
switch ( id ) switch ( id )
{ {
case KileWidget::Structure::SectioningCut: case KileWidget::Structure::SectioningCut:
TQApplication::tqclipboard()->setText( doc->text(row1,col1,row2,col2) ); // copy -> clipboard TQApplication::clipboard()->setText( doc->text(row1,col1,row2,col2) ); // copy -> clipboard
doc->removeText(row1,col1,row2,col2); // delete doc->removeText(row1,col1,row2,col2); // delete
break; break;
case KileWidget::Structure::SectioningCopy: case KileWidget::Structure::SectioningCopy:
TQApplication::tqclipboard()->setText( doc->text(row1,col1,row2,col2) ); // copy -> clipboard TQApplication::clipboard()->setText( doc->text(row1,col1,row2,col2) ); // copy -> clipboard
break; break;
case KileWidget::Structure::SectioningPaste: case KileWidget::Structure::SectioningPaste:
text = TQApplication::tqclipboard()->text(); // clipboard -> text text = TQApplication::clipboard()->text(); // clipboard -> text
if ( ! text.isEmpty() ) if ( ! text.isEmpty() )
{ {
view->setCursorPositionReal(row2,col2); // insert view->setCursorPositionReal(row2,col2); // insert

@ -88,10 +88,10 @@ KileGrepDialog::KileGrepDialog(TQWidget *parent, KileInfo *ki, KileGrep::Mode mo
// project groupbox // project groupbox
TQGroupBox *projectgroup = new TQGroupBox( i18n("Project"),page); TQGroupBox *projectgroup = new TQGroupBox( i18n("Project"),page);
projectgroup->setColumnLayout(0, Qt::Vertical ); projectgroup->setColumnLayout(0, Qt::Vertical );
projectgroup->tqlayout()->setSpacing( 6 ); projectgroup->layout()->setSpacing( 6 );
projectgroup->tqlayout()->setMargin( 11 ); projectgroup->layout()->setMargin( 11 );
TQGridLayout *projectgrouptqlayout = new TQGridLayout( projectgroup->tqlayout() ); TQGridLayout *projectgrouplayout = new TQGridLayout( projectgroup->layout() );
projectgrouptqlayout->setAlignment( TQt::AlignTop ); projectgrouplayout->setAlignment( TQt::AlignTop );
TQLabel *project_label = new TQLabel(i18n("Name:"), projectgroup); TQLabel *project_label = new TQLabel(i18n("Name:"), projectgroup);
int labelwidth = project_label->sizeHint().width(); int labelwidth = project_label->sizeHint().width();
@ -103,19 +103,19 @@ KileGrepDialog::KileGrepDialog(TQWidget *parent, KileInfo *ki, KileGrep::Mode mo
projectname_label = new TQLabel(projectgroup); projectname_label = new TQLabel(projectgroup);
projectdirname_label = new TQLabel(projectgroup); projectdirname_label = new TQLabel(projectgroup);
projectgrouptqlayout->addWidget(project_label, 0,0, AlignLeft | AlignVCenter); projectgrouplayout->addWidget(project_label, 0,0, AlignLeft | AlignVCenter);
projectgrouptqlayout->addWidget(projectname_label, 0,1, AlignLeft | AlignVCenter); projectgrouplayout->addWidget(projectname_label, 0,1, AlignLeft | AlignVCenter);
projectgrouptqlayout->addWidget(projectdir_label, 1,0, AlignLeft | AlignVCenter); projectgrouplayout->addWidget(projectdir_label, 1,0, AlignLeft | AlignVCenter);
projectgrouptqlayout->addWidget(projectdirname_label, 1,1, AlignLeft | AlignVCenter); projectgrouplayout->addWidget(projectdirname_label, 1,1, AlignLeft | AlignVCenter);
projectgrouptqlayout->setColStretch(1,1); projectgrouplayout->setColStretch(1,1);
// search groupbox // search groupbox
TQGroupBox *searchgroup = new TQGroupBox( i18n("Search"),page); TQGroupBox *searchgroup = new TQGroupBox( i18n("Search"),page);
searchgroup->setColumnLayout(0, Qt::Vertical ); searchgroup->setColumnLayout(0, Qt::Vertical );
searchgroup->tqlayout()->setSpacing( 6 ); searchgroup->layout()->setSpacing( 6 );
searchgroup->tqlayout()->setMargin( 11 ); searchgroup->layout()->setMargin( 11 );
TQGridLayout *searchgrouptqlayout = new TQGridLayout( searchgroup->tqlayout() ); TQGridLayout *searchgrouplayout = new TQGridLayout( searchgroup->layout() );
searchgrouptqlayout->setAlignment( TQt::AlignTop ); searchgrouplayout->setAlignment( TQt::AlignTop );
TQLabel *pattern_label = new TQLabel(i18n("Pattern:"), searchgroup); TQLabel *pattern_label = new TQLabel(i18n("Pattern:"), searchgroup);
if ( pattern_label->sizeHint().width() > labelwidth ) if ( pattern_label->sizeHint().width() > labelwidth )
@ -156,18 +156,18 @@ KileGrepDialog::KileGrepDialog(TQWidget *parent, KileInfo *ki, KileGrep::Mode mo
template_label->setBuddy(template_edit); template_label->setBuddy(template_edit);
template_layout->addWidget(template_edit); template_layout->addWidget(template_edit);
searchgrouptqlayout->addWidget(pattern_label, 0,0, AlignLeft | AlignVCenter); searchgrouplayout->addWidget(pattern_label, 0,0, AlignLeft | AlignVCenter);
searchgrouptqlayout->addWidget(pattern_combo, 0,1); searchgrouplayout->addWidget(pattern_combo, 0,1);
searchgrouptqlayout->addWidget(template_label, 1,0, AlignLeft | AlignVCenter); searchgrouplayout->addWidget(template_label, 1,0, AlignLeft | AlignVCenter);
searchgrouptqlayout->addLayout(template_layout, 1,1); searchgrouplayout->addLayout(template_layout, 1,1);
// filter groupbox // filter groupbox
TQGroupBox *filtergroup = new TQGroupBox( i18n("Directory Options"),page); TQGroupBox *filtergroup = new TQGroupBox( i18n("Directory Options"),page);
filtergroup->setColumnLayout(0, Qt::Vertical ); filtergroup->setColumnLayout(0, Qt::Vertical );
filtergroup->tqlayout()->setSpacing( 6 ); filtergroup->layout()->setSpacing( 6 );
filtergroup->tqlayout()->setMargin( 11 ); filtergroup->layout()->setMargin( 11 );
TQGridLayout *filtergrouptqlayout = new TQGridLayout( filtergroup->tqlayout() ); TQGridLayout *filtergrouplayout = new TQGridLayout( filtergroup->layout() );
filtergrouptqlayout->setAlignment( TQt::AlignTop ); filtergrouplayout->setAlignment( TQt::AlignTop );
TQLabel *files_label = new TQLabel(i18n("Filter:"), filtergroup); TQLabel *files_label = new TQLabel(i18n("Filter:"), filtergroup);
if ( files_label->sizeHint().width() > labelwidth ) if ( files_label->sizeHint().width() > labelwidth )
@ -191,12 +191,12 @@ KileGrepDialog::KileGrepDialog(TQWidget *parent, KileInfo *ki, KileGrep::Mode mo
recursive_box = new TQCheckBox(i18n("Scan directories recursively"), filtergroup); recursive_box = new TQCheckBox(i18n("Scan directories recursively"), filtergroup);
recursive_box->setMinimumWidth(recursive_box->sizeHint().width()); recursive_box->setMinimumWidth(recursive_box->sizeHint().width());
filtergrouptqlayout->addWidget(files_label, 2,0, AlignLeft | AlignVCenter); filtergrouplayout->addWidget(files_label, 2,0, AlignLeft | AlignVCenter);
filtergrouptqlayout->addWidget(filter_combo, 2, 1); filtergrouplayout->addWidget(filter_combo, 2, 1);
filtergrouptqlayout->addWidget(dir_label, 3,0, AlignLeft | AlignVCenter); filtergrouplayout->addWidget(dir_label, 3,0, AlignLeft | AlignVCenter);
filtergrouptqlayout->addLayout(dir_layout, 3,1); filtergrouplayout->addLayout(dir_layout, 3,1);
filtergrouptqlayout->addMultiCellWidget(recursive_box, 4,4, 1,2); filtergrouplayout->addMultiCellWidget(recursive_box, 4,4, 1,2);
filtergrouptqlayout->setColStretch(1,1); filtergrouplayout->setColStretch(1,1);
// result box // result box
resultbox = new KListBox(page); resultbox = new KListBox(page);
@ -215,7 +215,7 @@ KileGrepDialog::KileGrepDialog(TQWidget *parent, KileInfo *ki, KileGrep::Mode mo
#else #else
close_button = actionbox->addButton(i18n("Cl&ose")); close_button = actionbox->addButton(i18n("Cl&ose"));
#endif #endif
actionbox->tqlayout(); actionbox->layout();
// adjust labels // adjust labels
project_label->setFixedWidth(labelwidth); project_label->setFixedWidth(labelwidth);

@ -39,7 +39,7 @@
// tbraun 27.06.2007 // tbraun 27.06.2007
// it _looks_ like texlive 2007 has the same tqlayout than texlive 2005 so don't get confused about the variable names :) // it _looks_ like texlive 2007 has the same layout than texlive 2005 so don't get confused about the variable names :)
namespace KileHelp namespace KileHelp
{ {

@ -93,7 +93,7 @@ namespace KJS {
UString::UString(const TQString &d) { UString::UString(const TQString &d) {
unsigned int len = d.length(); unsigned int len = d.length();
UChar *dat = new UChar[len]; UChar *dat = new UChar[len];
memcpy(dat, d.tqunicode(), len * sizeof(UChar)); memcpy(dat, d.unicode(), len * sizeof(UChar));
rep = UString::Rep::create(dat, len); rep = UString::Rep::create(dat, len);
} }

@ -31,10 +31,10 @@
KileListSelectorBase::KileListSelectorBase(const TQStringList &list, const TQString &caption, const TQString &select, TQWidget *parent, const char *name) : KileListSelectorBase::KileListSelectorBase(const TQStringList &list, const TQString &caption, const TQString &select, TQWidget *parent, const char *name) :
KDialogBase( KDialogBase::Plain, caption, Ok|Cancel,Ok, parent, name, true, true ) KDialogBase( KDialogBase::Plain, caption, Ok|Cancel,Ok, parent, name, true, true )
{ {
TQVBoxLayout *tqlayout = new TQVBoxLayout(plainPage()); TQVBoxLayout *layout = new TQVBoxLayout(plainPage());
tqlayout->addWidget(new TQLabel(select, plainPage())); layout->addWidget(new TQLabel(select, plainPage()));
tqlayout->addSpacing(8); layout->addSpacing(8);
m_listview = new KListView(plainPage()); m_listview = new KListView(plainPage());
m_listview->addColumn(i18n("Files")); m_listview->addColumn(i18n("Files"));
@ -50,7 +50,7 @@ KileListSelectorBase::KileListSelectorBase(const TQStringList &list, const TQStr
#if KDE_VERSION >= KDE_MAKE_VERSION(3,4,0) #if KDE_VERSION >= KDE_MAKE_VERSION(3,4,0)
m_listview->setShadeSortColumn(false); m_listview->setShadeSortColumn(false);
#endif #endif
tqlayout->addWidget(m_listview); layout->addWidget(m_listview);
insertStringList(list); insertStringList(list);

@ -491,7 +491,7 @@ TQSize KileMultiTabBarButton::sizeHint() const
} }
#endif #endif
if ( isMenuButton() ) if ( isMenuButton() )
w += tqstyle().pixelMetric(TQStyle::PM_MenuButtonIndicator, this); w += style().pixelMetric(TQStyle::PM_MenuButtonIndicator, this);
if ( pixmap() ) { if ( pixmap() ) {
TQPixmap *pm = (TQPixmap *)pixmap(); TQPixmap *pm = (TQPixmap *)pixmap();
@ -510,7 +510,7 @@ TQSize KileMultiTabBarButton::sizeHint() const
h = TQMAX(h, sz.height()); h = TQMAX(h, sz.height());
} }
return (tqstyle().tqsizeFromContents(TQStyle::CT_ToolButton, this, TQSize(w, h)). return (style().tqsizeFromContents(TQStyle::CT_ToolButton, this, TQSize(w, h)).
expandedTo(TQApplication::globalStrut())); expandedTo(TQApplication::globalStrut()));
} }

@ -62,9 +62,9 @@ KileProjectDlgBase::KileProjectDlgBase(const TQString &caption, KileDocument::Ex
// properties groupbox // properties groupbox
m_pgroup = new TQVGroupBox(i18n("Project"), plainPage()); m_pgroup = new TQVGroupBox(i18n("Project"), plainPage());
m_pgroup->setColumnLayout(0, Qt::Vertical ); m_pgroup->setColumnLayout(0, Qt::Vertical );
m_pgroup->tqlayout()->setSpacing( 6 ); m_pgroup->layout()->setSpacing( 6 );
m_pgroup->tqlayout()->setMargin( 11 ); m_pgroup->layout()->setMargin( 11 );
m_pgrid = new TQGridLayout( m_pgroup->tqlayout() ); m_pgrid = new TQGridLayout( m_pgroup->layout() );
m_pgrid->setAlignment( TQt::AlignTop ); m_pgrid->setAlignment( TQt::AlignTop );
m_title = new KLineEdit(m_pgroup, "le_projectname"); m_title = new KLineEdit(m_pgroup, "le_projectname");
@ -76,9 +76,9 @@ KileProjectDlgBase::KileProjectDlgBase(const TQString &caption, KileDocument::Ex
// extensions groupbox // extensions groupbox
m_egroup= new TQVGroupBox(i18n("Extensions"), plainPage()); m_egroup= new TQVGroupBox(i18n("Extensions"), plainPage());
m_egroup->setColumnLayout(0, Qt::Vertical ); m_egroup->setColumnLayout(0, Qt::Vertical );
m_egroup->tqlayout()->setSpacing( 6 ); m_egroup->layout()->setSpacing( 6 );
m_egroup->tqlayout()->setMargin( 11 ); m_egroup->layout()->setMargin( 11 );
m_egrid = new TQGridLayout( m_egroup->tqlayout() ); m_egrid = new TQGridLayout( m_egroup->layout() );
m_egrid->setAlignment( TQt::AlignTop ); m_egrid->setAlignment( TQt::AlignTop );
m_extensions = new KLineEdit(m_egroup, "le_ext"); m_extensions = new KLineEdit(m_egroup, "le_ext");
@ -262,7 +262,7 @@ KileNewProjectDlg::KileNewProjectDlg(KileTemplate::Manager *templateManager, Kil
m_egrid->addWidget(m_lbPredefinedExtensions, 7,0); m_egrid->addWidget(m_lbPredefinedExtensions, 7,0);
m_egrid->addMultiCellWidget(m_lbStandardExtensions, 7,7, 1,3); m_egrid->addMultiCellWidget(m_lbStandardExtensions, 7,7, 1,3);
// add to tqlayout // add to layout
vbox->addWidget(m_pgroup); vbox->addWidget(m_pgroup);
vbox->addWidget(group2); vbox->addWidget(group2);
vbox->addWidget(m_egroup); vbox->addWidget(m_egroup);
@ -492,9 +492,9 @@ KileProjectOptionsDlg::KileProjectOptionsDlg(KileProject *project, KileDocument:
// third groupbox // third groupbox
TQVGroupBox* group3 = new TQVGroupBox(i18n("Properties"), plainPage()); TQVGroupBox* group3 = new TQVGroupBox(i18n("Properties"), plainPage());
group3->setColumnLayout(0, Qt::Vertical ); group3->setColumnLayout(0, Qt::Vertical );
group3->tqlayout()->setSpacing( 6 ); group3->layout()->setSpacing( 6 );
group3->tqlayout()->setMargin( 11 ); group3->layout()->setMargin( 11 );
TQGridLayout *grid3 = new TQGridLayout( group3->tqlayout() ); TQGridLayout *grid3 = new TQGridLayout( group3->layout() );
grid3->setAlignment( TQt::AlignTop ); grid3->setAlignment( TQt::AlignTop );
m_master = new KComboBox(false, group3, "master"); m_master = new KComboBox(false, group3, "master");
@ -547,7 +547,7 @@ KileProjectOptionsDlg::KileProjectOptionsDlg(KileProject *project, KileDocument:
grid3->addMultiCellWidget(m_leMakeIndex,2,2,1,2); grid3->addMultiCellWidget(m_leMakeIndex,2,2,1,2);
grid3->setColStretch(2,1); grid3->setColStretch(2,1);
// add to tqlayout // add to layout
vbox->addWidget(m_pgroup); vbox->addWidget(m_pgroup);
vbox->addWidget(m_egroup); vbox->addWidget(m_egroup);
vbox->addWidget(group3); vbox->addWidget(group3);

@ -38,7 +38,7 @@ KileSideBar::KileSideBar(int size, TQWidget *parent, const char *name, Qt::Orien
setLineWidth(0); setLineWidth(0);
setSizePolicy(TQSizePolicy::Ignored, TQSizePolicy::Ignored); setSizePolicy(TQSizePolicy::Ignored, TQSizePolicy::Ignored);
TQLayout *tqlayout; TQLayout *layout;
m_tabStack = new TQWidgetStack(this); m_tabStack = new TQWidgetStack(this);
m_tabStack->setSizePolicy(TQSizePolicy::Ignored, TQSizePolicy::Ignored); m_tabStack->setSizePolicy(TQSizePolicy::Ignored, TQSizePolicy::Ignored);
@ -47,13 +47,13 @@ KileSideBar::KileSideBar(int size, TQWidget *parent, const char *name, Qt::Orien
KileMultiTabBar::KileMultiTabBarPosition tabbarpos = KileMultiTabBar::Top; KileMultiTabBar::KileMultiTabBarPosition tabbarpos = KileMultiTabBar::Top;
if ( orientation == Qt::Horizontal ) if ( orientation == Qt::Horizontal )
{ {
tqlayout = new TQVBoxLayout(this); layout = new TQVBoxLayout(this);
tabbarori = KileMultiTabBar::Horizontal; tabbarori = KileMultiTabBar::Horizontal;
tabbarpos = KileMultiTabBar::Top; tabbarpos = KileMultiTabBar::Top;
} }
else if ( orientation == Qt::Vertical ) else if ( orientation == Qt::Vertical )
{ {
tqlayout = new TQHBoxLayout(this); layout = new TQHBoxLayout(this);
tabbarori = KileMultiTabBar::Vertical; tabbarori = KileMultiTabBar::Vertical;
tabbarpos = KileMultiTabBar::Right; tabbarpos = KileMultiTabBar::Right;
} }
@ -72,16 +72,16 @@ KileSideBar::KileSideBar(int size, TQWidget *parent, const char *name, Qt::Orien
setMinimumHeight(m_tabBar->height()); setMinimumHeight(m_tabBar->height());
m_nMinSize = m_tabBar->height(); m_nMinSize = m_tabBar->height();
m_nMaxSize = m_tabBar->maximumHeight(); m_nMaxSize = m_tabBar->maximumHeight();
tqlayout->add(m_tabBar); layout->add(m_tabBar);
tqlayout->add(m_tabStack); layout->add(m_tabStack);
} }
else if ( orientation == Qt::Vertical ) else if ( orientation == Qt::Vertical )
{ {
setMinimumWidth(m_tabBar->width()); setMinimumWidth(m_tabBar->width());
m_nMinSize = m_tabBar->width(); m_nMinSize = m_tabBar->width();
m_nMaxSize = m_tabBar->maximumWidth(); m_nMaxSize = m_tabBar->maximumWidth();
tqlayout->add(m_tabStack); layout->add(m_tabStack);
tqlayout->add(m_tabBar); layout->add(m_tabBar);
} }
} }

@ -141,7 +141,7 @@ void KileStatsDlg::slotUser1() // Copy
KILE_DEBUG() << "Copy Button was clicked" << endl; KILE_DEBUG() << "Copy Button was clicked" << endl;
KILE_DEBUG() << "Open tab is " << activePageIndex() << ' ' + ( m_pagetoname.contains(activePageIndex()) ? m_pagetoname[activePageIndex()] : "No such entry" )<< endl; KILE_DEBUG() << "Open tab is " << activePageIndex() << ' ' + ( m_pagetoname.contains(activePageIndex()) ? m_pagetoname[activePageIndex()] : "No such entry" )<< endl;
TQClipboard *clip = KApplication::tqclipboard(); TQClipboard *clip = KApplication::clipboard();
TQString text; TQString text;
convertText(&text,false); convertText(&text,false);
clip->setText(text,TQClipboard::Selection); // the text will be available with the middle mouse button clip->setText(text,TQClipboard::Selection); // the text will be available with the middle mouse button
@ -152,7 +152,7 @@ void KileStatsDlg::slotUser2() // CopyAsLaTeX
KILE_DEBUG() << "CopyAsLateX Button was clicked" << endl; KILE_DEBUG() << "CopyAsLateX Button was clicked" << endl;
KILE_DEBUG() << "Open tab is " << activePageIndex() << ' ' + ( m_pagetoname.contains(activePageIndex()) ? m_pagetoname[activePageIndex()] : "No such entry" )<< endl; KILE_DEBUG() << "Open tab is " << activePageIndex() << ' ' + ( m_pagetoname.contains(activePageIndex()) ? m_pagetoname[activePageIndex()] : "No such entry" )<< endl;
TQClipboard *clip = KApplication::tqclipboard(); TQClipboard *clip = KApplication::clipboard();
TQString text; TQString text;
convertText(&text,true); convertText(&text,true);
clip->setText(text,TQClipboard::Selection); clip->setText(text,TQClipboard::Selection);

@ -34,10 +34,10 @@ KileWidgetStatistics::KileWidgetStatistics( TQWidget* parent, const char* name,
// characters groupbox // characters groupbox
TQGroupBox *chargroup = new TQGroupBox( i18n("Characters"),parent); TQGroupBox *chargroup = new TQGroupBox( i18n("Characters"),parent);
chargroup->setColumnLayout(0, Qt::Vertical ); chargroup->setColumnLayout(0, Qt::Vertical );
chargroup->tqlayout()->setSpacing( 6 ); chargroup->layout()->setSpacing( 6 );
chargroup->tqlayout()->setMargin( 11 ); chargroup->layout()->setMargin( 11 );
chargrouptqlayout = new TQGridLayout( chargroup->tqlayout() ); chargrouplayout = new TQGridLayout( chargroup->layout() );
chargrouptqlayout->setAlignment( TQt::AlignTop ); chargrouplayout->setAlignment( TQt::AlignTop );
m_wordCharText = new TQLabel(i18n("Words and numbers:"), chargroup); m_wordCharText = new TQLabel(i18n("Words and numbers:"), chargroup);
m_commandCharText = new TQLabel(i18n("LaTeX commands and environments:"), chargroup); m_commandCharText = new TQLabel(i18n("LaTeX commands and environments:"), chargroup);
@ -52,26 +52,26 @@ KileWidgetStatistics::KileWidgetStatistics( TQWidget* parent, const char* name,
charframe->setFrameStyle(TQFrame::HLine | TQFrame::Sunken); charframe->setFrameStyle(TQFrame::HLine | TQFrame::Sunken);
charframe->setLineWidth(1); charframe->setLineWidth(1);
chargrouptqlayout->addWidget( m_wordCharText, 0,0 ); chargrouplayout->addWidget( m_wordCharText, 0,0 );
chargrouptqlayout->addWidget( m_commandCharText, 1,0 ); chargrouplayout->addWidget( m_commandCharText, 1,0 );
chargrouptqlayout->addWidget( m_whitespaceCharText, 2,0 ); chargrouplayout->addWidget( m_whitespaceCharText, 2,0 );
chargrouptqlayout->addWidget( m_totalCharText, 4,0 ); chargrouplayout->addWidget( m_totalCharText, 4,0 );
chargrouptqlayout->addWidget( m_wordChar, 0,2,TQt::AlignRight ); chargrouplayout->addWidget( m_wordChar, 0,2,TQt::AlignRight );
chargrouptqlayout->addWidget( m_commandChar, 1,2,TQt::AlignRight ); chargrouplayout->addWidget( m_commandChar, 1,2,TQt::AlignRight );
chargrouptqlayout->addWidget( m_whitespaceChar, 2,2,TQt::AlignRight ); chargrouplayout->addWidget( m_whitespaceChar, 2,2,TQt::AlignRight );
chargrouptqlayout->addMultiCellWidget( charframe, 3,3,1,2 ); chargrouplayout->addMultiCellWidget( charframe, 3,3,1,2 );
chargrouptqlayout->addWidget( m_totalChar, 4,2,TQt::AlignRight ); chargrouplayout->addWidget( m_totalChar, 4,2,TQt::AlignRight );
chargrouptqlayout->setColSpacing(1,16); chargrouplayout->setColSpacing(1,16);
chargrouptqlayout->setColSpacing(3,1); chargrouplayout->setColSpacing(3,1);
chargrouptqlayout->setColStretch(3,1); chargrouplayout->setColStretch(3,1);
// string groupbox // string groupbox
TQGroupBox *stringgroup = new TQGroupBox( i18n("Strings"),parent); TQGroupBox *stringgroup = new TQGroupBox( i18n("Strings"),parent);
stringgroup->setColumnLayout(0, Qt::Vertical ); stringgroup->setColumnLayout(0, Qt::Vertical );
stringgroup->tqlayout()->setSpacing( 6 ); stringgroup->layout()->setSpacing( 6 );
stringgroup->tqlayout()->setMargin( 11 ); stringgroup->layout()->setMargin( 11 );
stringgrouptqlayout = new TQGridLayout( stringgroup->tqlayout() ); stringgrouplayout = new TQGridLayout( stringgroup->layout() );
stringgrouptqlayout->setAlignment( TQt::AlignTop ); stringgrouplayout->setAlignment( TQt::AlignTop );
m_wordStringText = new TQLabel(i18n("Words:"), stringgroup); m_wordStringText = new TQLabel(i18n("Words:"), stringgroup);
m_commandStringText = new TQLabel(i18n("LaTeX commands:"), stringgroup); m_commandStringText = new TQLabel(i18n("LaTeX commands:"), stringgroup);
@ -86,18 +86,18 @@ KileWidgetStatistics::KileWidgetStatistics( TQWidget* parent, const char* name,
stringframe->setFrameStyle(TQFrame::HLine | TQFrame::Sunken); stringframe->setFrameStyle(TQFrame::HLine | TQFrame::Sunken);
stringframe->setLineWidth(1); stringframe->setLineWidth(1);
stringgrouptqlayout->addWidget( m_wordStringText, 0,0 ); stringgrouplayout->addWidget( m_wordStringText, 0,0 );
stringgrouptqlayout->addWidget( m_commandStringText, 1,0 ); stringgrouplayout->addWidget( m_commandStringText, 1,0 );
stringgrouptqlayout->addWidget( m_environmentStringText, 2,0 ); stringgrouplayout->addWidget( m_environmentStringText, 2,0 );
stringgrouptqlayout->addWidget( m_totalStringText, 4,0 ); stringgrouplayout->addWidget( m_totalStringText, 4,0 );
stringgrouptqlayout->addWidget( m_wordString, 0,2,TQt::AlignRight ); stringgrouplayout->addWidget( m_wordString, 0,2,TQt::AlignRight );
stringgrouptqlayout->addWidget( m_commandString, 1,2,TQt::AlignRight ); stringgrouplayout->addWidget( m_commandString, 1,2,TQt::AlignRight );
stringgrouptqlayout->addWidget( m_environmentString, 2,2,TQt::AlignRight ); stringgrouplayout->addWidget( m_environmentString, 2,2,TQt::AlignRight );
stringgrouptqlayout->addMultiCellWidget( stringframe, 3,3,1,2 ); stringgrouplayout->addMultiCellWidget( stringframe, 3,3,1,2 );
stringgrouptqlayout->addWidget( m_totalString, 4,2,TQt::AlignRight ); stringgrouplayout->addWidget( m_totalString, 4,2,TQt::AlignRight );
stringgrouptqlayout->setColSpacing(1,16); stringgrouplayout->setColSpacing(1,16);
stringgrouptqlayout->setColSpacing(3,1); stringgrouplayout->setColSpacing(3,1);
stringgrouptqlayout->setColStretch(3,1); stringgrouplayout->setColStretch(3,1);
m_commentAboutHelp = new TQLabel(parent); m_commentAboutHelp = new TQLabel(parent);
m_warning = new TQLabel(parent); m_warning = new TQLabel(parent);
@ -112,7 +112,7 @@ KileWidgetStatistics::KileWidgetStatistics( TQWidget* parent, const char* name,
int w = m_commandCharText->sizeHint().width(); int w = m_commandCharText->sizeHint().width();
if ( m_whitespaceCharText->sizeHint().width() > w ) if ( m_whitespaceCharText->sizeHint().width() > w )
w = m_whitespaceCharText->sizeHint().width(); w = m_whitespaceCharText->sizeHint().width();
stringgrouptqlayout->setColSpacing(0,w); stringgrouplayout->setColSpacing(0,w);
} }
@ -125,8 +125,8 @@ void KileWidgetStatistics::updateColumns()
int w = m_totalChar->sizeHint().width(); int w = m_totalChar->sizeHint().width();
if ( m_totalString->sizeHint().width() > w ) if ( m_totalString->sizeHint().width() > w )
w = m_totalString->sizeHint().width(); w = m_totalString->sizeHint().width();
chargrouptqlayout->setColSpacing(2,w); chargrouplayout->setColSpacing(2,w);
stringgrouptqlayout->setColSpacing(2,w); stringgrouplayout->setColSpacing(2,w);
} }

@ -58,8 +58,8 @@ public:
void updateColumns(); void updateColumns();
private: private:
TQGridLayout *chargrouptqlayout; TQGridLayout *chargrouplayout;
TQGridLayout *stringgrouptqlayout; TQGridLayout *stringgrouplayout;
}; };

@ -35,7 +35,7 @@ void setupStdTags(KileInfo *ki, KMainWindow *parent)
(void) new KileAction::Tag(i18n("Document Class Selection - \\documentclass{}"),0,TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(), "tag_documentclass", (void) new KileAction::Tag(i18n("Document Class Selection - \\documentclass{}"),0,TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(), "tag_documentclass",
"\\documentclass[10pt]{","}", 21,0,i18n("\\documentclass[options]{class}\nclass : article,report,book,letter\nsize options : 10pt, 11pt, 12pt\npaper size options: a4paper, a5paper, b5paper, letterpaper, legalpaper, executivepaper\n" "\\documentclass[10pt]{","}", 21,0,i18n("\\documentclass[options]{class}\nclass : article,report,book,letter\nsize options : 10pt, 11pt, 12pt\npaper size options: a4paper, a5paper, b5paper, letterpaper, legalpaper, executivepaper\n"
"other options: \nlandscape -- selects landscape format; default is portrait. \ntitlepage, notitlepage -- selects if there should be a separate title page.\nleqno -- display equation number on left side of equations; default is right side.\n" "other options: \nlandscape -- selects landscape format; default is portrait. \ntitlepage, notitlepage -- selects if there should be a separate title page.\nleqno -- display equation number on left side of equations; default is right side.\n"
"fleqn -- display formulae flush left; default is centered.\nonecolumn, twocolumn -- one or two columns; defaults to one column\noneside, twoside -- selects one- or two-sided tqlayout.\n" )); "fleqn -- display formulae flush left; default is centered.\nonecolumn, twocolumn -- one or two columns; defaults to one column\noneside, twoside -- selects one- or two-sided layout.\n" ));
(void) new KileAction::Tag(i18n("Package Import - \\usepackage{}"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_usepackage", (void) new KileAction::Tag(i18n("Package Import - \\usepackage{}"),0, TQT_TQOBJECT(parent), TQT_SLOT(insertTag(const KileAction::TagData&)), parent->actionCollection(),"tag_usepackage",
"\\usepackage{","}",12,0,i18n("Any options given in the \\documentclass command that are unknown by the selected document class\n" "\\usepackage{","}",12,0,i18n("Any options given in the \\documentclass command that are unknown by the selected document class\n"

@ -825,7 +825,7 @@ namespace KileWidget
if ( id <= 3 ) if ( id <= 3 )
emit( sendText(s) ); emit( sendText(s) );
else else
TQApplication::tqclipboard()->setText(s); TQApplication::clipboard()->setText(s);
} }
// id's 10..16 (already checked) // id's 10..16 (already checked)

@ -236,7 +236,7 @@ namespace KileWidget
if (szHint.height() > 0) if (szHint.height() > 0)
m_configWidget->m_stackExtra->setMaximumHeight(szHint.height()); m_configWidget->m_stackExtra->setMaximumHeight(szHint.height());
} }
m_configWidget->tqlayout()->invalidate(); m_configWidget->layout()->invalidate();
} }
void ToolConfig::writeDefaults() void ToolConfig::writeDefaults()

@ -361,7 +361,7 @@ void Manager::onKatePopupMenuRequest(void)
if(!pasteAsLaTeXAction->isPlugged()) if(!pasteAsLaTeXAction->isPlugged())
pasteAsLaTeXAction->plug(viewPopupMenu); pasteAsLaTeXAction->plug(viewPopupMenu);
TQClipboard *clip = KApplication::tqclipboard(); TQClipboard *clip = KApplication::clipboard();
if(NULL != clip) if(NULL != clip)
pasteAsLaTeXAction->setEnabled(!clip->text().isNull()); pasteAsLaTeXAction->setEnabled(!clip->text().isNull());
} }
@ -464,7 +464,7 @@ void Manager::pasteAsLaTeX(void)
doc->removeSelectedText(); doc->removeSelectedText();
PlainToLaTeXConverter cvt; PlainToLaTeXConverter cvt;
TQString toPaste = cvt.ConvertToLaTeX(KApplication::tqclipboard()->text()); TQString toPaste = cvt.ConvertToLaTeX(KApplication::clipboard()->text());
doc->insertText(cursorLine, cursorCol, toPaste); doc->insertText(cursorLine, cursorCol, toPaste);
// End of the "atomic edit operation" // End of the "atomic edit operation"

@ -66,7 +66,7 @@ NewLatexCommand::NewLatexCommand(TQWidget *parent, const TQString &caption,
TQWidget *page = new TQWidget( this ); TQWidget *page = new TQWidget( this );
setMainWidget(page); setMainWidget(page);
// tqlayout // layout
TQVBoxLayout *vbox = new TQVBoxLayout(page, 6,6 ); TQVBoxLayout *vbox = new TQVBoxLayout(page, 6,6 );
TQLabel *label1 = new TQLabel(page); TQLabel *label1 = new TQLabel(page);

@ -43,8 +43,8 @@ MathEnvironmentDialog::MathEnvironmentDialog(TQWidget *parent, KConfig *config,
// environment groupbox // environment groupbox
TQButtonGroup *envgroup = new TQButtonGroup( i18n("Environment"),page); TQButtonGroup *envgroup = new TQButtonGroup( i18n("Environment"),page);
envgroup->setColumnLayout(0, Qt::Vertical ); envgroup->setColumnLayout(0, Qt::Vertical );
envgroup->tqlayout()->setSpacing( 6 ); envgroup->layout()->setSpacing( 6 );
envgroup->tqlayout()->setMargin( 11 ); envgroup->layout()->setMargin( 11 );
m_lbEnvironment = new TQLabel(i18n("&Name:"),envgroup); m_lbEnvironment = new TQLabel(i18n("&Name:"),envgroup);
m_lbStarred = new TQLabel(i18n("Without n&umbering:"),envgroup); m_lbStarred = new TQLabel(i18n("Without n&umbering:"),envgroup);
@ -70,28 +70,28 @@ MathEnvironmentDialog::MathEnvironmentDialog(TQWidget *parent, KConfig *config,
m_coDisplaymath = new TQComboBox(envgroup); m_coDisplaymath = new TQComboBox(envgroup);
m_cbBullets = new TQCheckBox(envgroup); m_cbBullets = new TQCheckBox(envgroup);
TQGridLayout *envtqlayout = new TQGridLayout( envgroup->tqlayout() ); TQGridLayout *envlayout = new TQGridLayout( envgroup->layout() );
envtqlayout->setAlignment( TQt::AlignTop ); envlayout->setAlignment( TQt::AlignTop );
envtqlayout->addWidget( m_lbEnvironment, 0,0 ); envlayout->addWidget( m_lbEnvironment, 0,0 );
envtqlayout->addWidget( m_lbStarred, 1,0 ); envlayout->addWidget( m_lbStarred, 1,0 );
envtqlayout->addWidget( m_lbRows, 2,0 ); envlayout->addWidget( m_lbRows, 2,0 );
envtqlayout->addWidget( m_lbCols, 3,0 ); envlayout->addWidget( m_lbCols, 3,0 );
envtqlayout->addWidget( m_lbTabulator, 5,0 ); envlayout->addWidget( m_lbTabulator, 5,0 );
envtqlayout->addWidget( m_lbDisplaymath, 6,0 ); envlayout->addWidget( m_lbDisplaymath, 6,0 );
envtqlayout->addWidget( m_coEnvironment, 0,1 ); envlayout->addWidget( m_coEnvironment, 0,1 );
envtqlayout->addWidget( m_cbStarred, 1,1 ); envlayout->addWidget( m_cbStarred, 1,1 );
envtqlayout->addWidget( m_spRows, 2,1 ); envlayout->addWidget( m_spRows, 2,1 );
envtqlayout->addWidget( m_spCols, 3,1 ); envlayout->addWidget( m_spCols, 3,1 );
envtqlayout->addWidget( m_coTabulator, 5,1 ); envlayout->addWidget( m_coTabulator, 5,1 );
envtqlayout->addWidget( m_coDisplaymath, 6,1 ); envlayout->addWidget( m_coDisplaymath, 6,1 );
envtqlayout->addWidget( m_lbSpace, 3,3 ); envlayout->addWidget( m_lbSpace, 3,3 );
envtqlayout->addWidget( m_lbBullets, 5,3 ); envlayout->addWidget( m_lbBullets, 5,3 );
envtqlayout->addWidget( m_edSpace, 3,4 ); envlayout->addWidget( m_edSpace, 3,4 );
envtqlayout->addWidget( m_cbBullets, 5,4 ); envlayout->addWidget( m_cbBullets, 5,4 );
envtqlayout->addMultiCellWidget(frame,4,4,0,4); envlayout->addMultiCellWidget(frame,4,4,0,4);
envtqlayout->setRowSpacing(4,30); envlayout->setRowSpacing(4,30);
envtqlayout->setColSpacing(2,20); envlayout->setColSpacing(2,20);
envtqlayout->setColStretch(4,1); envlayout->setColStretch(4,1);
// add widgets // add widgets
vbox->addWidget( envgroup); vbox->addWidget( envgroup);

@ -37,7 +37,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout2</cstring> <cstring>layout2</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -39,9 +39,9 @@ KileWidgetPreviewConfig::KileWidgetPreviewConfig(KConfig *config, KileTool::Quic
TQGroupBox *groupbox = new TQGroupBox( i18n("Quick Preview in a separate window"), this, "groupbox" ); TQGroupBox *groupbox = new TQGroupBox( i18n("Quick Preview in a separate window"), this, "groupbox" );
groupbox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)1, 0, 0, groupbox->sizePolicy().hasHeightForWidth() ) ); groupbox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)1, 0, 0, groupbox->sizePolicy().hasHeightForWidth() ) );
groupbox->setColumnLayout(0, Qt::Vertical ); groupbox->setColumnLayout(0, Qt::Vertical );
groupbox->tqlayout()->setSpacing( 6 ); groupbox->layout()->setSpacing( 6 );
groupbox->tqlayout()->setMargin( 11 ); groupbox->layout()->setMargin( 11 );
TQGridLayout *groupboxLayout = new TQGridLayout( groupbox->tqlayout() ); TQGridLayout *groupboxLayout = new TQGridLayout( groupbox->layout() );
groupboxLayout->setAlignment( TQt::AlignTop ); groupboxLayout->setAlignment( TQt::AlignTop );
TQLabel *label = new TQLabel( i18n("Select a configuration:"), groupbox, "label"); TQLabel *label = new TQLabel( i18n("Select a configuration:"), groupbox, "label");
@ -54,9 +54,9 @@ KileWidgetPreviewConfig::KileWidgetPreviewConfig(KConfig *config, KileTool::Quic
TQGroupBox *gbResolution = new TQGroupBox( i18n("Quick Preview in bottom bar"), this, "gbresolution" ); TQGroupBox *gbResolution = new TQGroupBox( i18n("Quick Preview in bottom bar"), this, "gbresolution" );
gbResolution->setColumnLayout(0, Qt::Vertical ); gbResolution->setColumnLayout(0, Qt::Vertical );
gbResolution->tqlayout()->setSpacing( 6 ); gbResolution->layout()->setSpacing( 6 );
gbResolution->tqlayout()->setMargin( 11 ); gbResolution->layout()->setMargin( 11 );
TQGridLayout *resLayout = new TQGridLayout( gbResolution->tqlayout() ); TQGridLayout *resLayout = new TQGridLayout( gbResolution->layout() );
resLayout->setAlignment( TQt::AlignTop ); resLayout->setAlignment( TQt::AlignTop );
TQLabel *resLabel = new TQLabel( i18n("&Resolution:"), gbResolution ); TQLabel *resLabel = new TQLabel( i18n("&Resolution:"), gbResolution );
@ -97,9 +97,9 @@ KileWidgetPreviewConfig::KileWidgetPreviewConfig(KConfig *config, KileTool::Quic
m_gbPreview = new TQGroupBox( i18n("Properties"), this, "gbpreview" ); m_gbPreview = new TQGroupBox( i18n("Properties"), this, "gbpreview" );
m_gbPreview->setColumnLayout(0, Qt::Vertical ); m_gbPreview->setColumnLayout(0, Qt::Vertical );
m_gbPreview->tqlayout()->setSpacing( 6 ); m_gbPreview->layout()->setSpacing( 6 );
m_gbPreview->tqlayout()->setMargin( 11 ); m_gbPreview->layout()->setMargin( 11 );
TQGridLayout *previewLayout = new TQGridLayout( m_gbPreview->tqlayout() ); TQGridLayout *previewLayout = new TQGridLayout( m_gbPreview->layout() );
previewLayout->setAlignment( TQt::AlignTop ); previewLayout->setAlignment( TQt::AlignTop );
TQLabel *labelPreviewWidget = new TQLabel(i18n("Show preview in bottom bar:"), m_gbPreview); TQLabel *labelPreviewWidget = new TQLabel(i18n("Show preview in bottom bar:"), m_gbPreview);

@ -2203,7 +2203,7 @@ QuickDocumentInputDialog::QuickDocumentInputDialog(const TQStringList &list,int
((TQLabel *)m_objectlist[i-1])->setBuddy(m_objectlist[i]); ((TQLabel *)m_objectlist[i-1])->setBuddy(m_objectlist[i]);
} }
// insert the new object into the tqlayout // insert the new object into the layout
vl->addWidget(m_objectlist[i]); vl->addWidget(m_objectlist[i]);
} }

@ -90,7 +90,7 @@
</widget> </widget>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout10</cstring> <cstring>layout10</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -32,7 +32,7 @@
</property> </property>
<widget class="TQLayoutWidget"> <widget class="TQLayoutWidget">
<property name="name"> <property name="name">
<cstring>tqlayout6</cstring> <cstring>layout6</cstring>
</property> </property>
<grid> <grid>
<property name="name"> <property name="name">
@ -40,7 +40,7 @@
</property> </property>
<widget class="TQLayoutWidget" row="0" column="1"> <widget class="TQLayoutWidget" row="0" column="1">
<property name="name"> <property name="name">
<cstring>tqlayout4</cstring> <cstring>layout4</cstring>
</property> </property>
<hbox> <hbox>
<property name="name"> <property name="name">

@ -261,56 +261,56 @@ TabCellDialog::TabCellDialog(TQWidget *parent, TabularCell::Data *data,
// font group // font group
TQGroupBox *fontgroup = new TQGroupBox( i18n("Font"),page); TQGroupBox *fontgroup = new TQGroupBox( i18n("Font"),page);
fontgroup->setColumnLayout(0, Qt::Vertical ); fontgroup->setColumnLayout(0, Qt::Vertical );
fontgroup->tqlayout()->setSpacing( 6 ); fontgroup->layout()->setSpacing( 6 );
fontgroup->tqlayout()->setMargin( 11 ); fontgroup->layout()->setMargin( 11 );
m_cbBold = new TQCheckBox(i18n("Bold"),fontgroup); m_cbBold = new TQCheckBox(i18n("Bold"),fontgroup);
m_cbItalic = new TQCheckBox(i18n("Italic"),fontgroup); m_cbItalic = new TQCheckBox(i18n("Italic"),fontgroup);
TQVBoxLayout *fontgrouptqlayout = new TQVBoxLayout( fontgroup->tqlayout() ); TQVBoxLayout *fontgrouplayout = new TQVBoxLayout( fontgroup->layout() );
fontgrouptqlayout->setAlignment( TQt::AlignTop ); fontgrouplayout->setAlignment( TQt::AlignTop );
fontgrouptqlayout->addWidget( m_cbBold ); fontgrouplayout->addWidget( m_cbBold );
fontgrouptqlayout->addWidget( m_cbItalic ); fontgrouplayout->addWidget( m_cbItalic );
// color group // color group
TQGroupBox *colorgroup = new TQGroupBox( i18n("Color"),page); TQGroupBox *colorgroup = new TQGroupBox( i18n("Color"),page);
colorgroup->setColumnLayout(0, Qt::Vertical ); colorgroup->setColumnLayout(0, Qt::Vertical );
colorgroup->tqlayout()->setSpacing( 6 ); colorgroup->layout()->setSpacing( 6 );
colorgroup->tqlayout()->setMargin( 11 ); colorgroup->layout()->setMargin( 11 );
TQLabel *label1 = new TQLabel(i18n("Background:"),colorgroup); TQLabel *label1 = new TQLabel(i18n("Background:"),colorgroup);
TQLabel *label2 = new TQLabel(i18n("Textcolor:"),colorgroup); TQLabel *label2 = new TQLabel(i18n("Textcolor:"),colorgroup);
m_ccBgcolor = new KColorCombo(colorgroup); m_ccBgcolor = new KColorCombo(colorgroup);
m_ccTextcolor = new KColorCombo(colorgroup); m_ccTextcolor = new KColorCombo(colorgroup);
TQGridLayout *colorgrouptqlayout = new TQGridLayout( colorgroup->tqlayout() ); TQGridLayout *colorgrouplayout = new TQGridLayout( colorgroup->layout() );
colorgrouptqlayout->setAlignment( TQt::AlignTop ); colorgrouplayout->setAlignment( TQt::AlignTop );
colorgrouptqlayout->addWidget( label1,0,0 ); colorgrouplayout->addWidget( label1,0,0 );
colorgrouptqlayout->addWidget( label2,1,0 ); colorgrouplayout->addWidget( label2,1,0 );
colorgrouptqlayout->addWidget( m_ccBgcolor,0,1 ); colorgrouplayout->addWidget( m_ccBgcolor,0,1 );
colorgrouptqlayout->addWidget( m_ccTextcolor,1,1 ); colorgrouplayout->addWidget( m_ccTextcolor,1,1 );
// alignment group // alignment group
TQButtonGroup *aligngroup = new TQButtonGroup( i18n("Alignment"),page); TQButtonGroup *aligngroup = new TQButtonGroup( i18n("Alignment"),page);
aligngroup->setColumnLayout(0, Qt::Vertical ); aligngroup->setColumnLayout(0, Qt::Vertical );
aligngroup->tqlayout()->setSpacing( 6 ); aligngroup->layout()->setSpacing( 6 );
aligngroup->tqlayout()->setMargin( 11 ); aligngroup->layout()->setMargin( 11 );
m_rbAlignleft = new TQRadioButton(i18n("Left"),aligngroup); m_rbAlignleft = new TQRadioButton(i18n("Left"),aligngroup);
m_rbAligncenter = new TQRadioButton(i18n("Center"),aligngroup); m_rbAligncenter = new TQRadioButton(i18n("Center"),aligngroup);
m_rbAlignright = new TQRadioButton(i18n("Right"),aligngroup); m_rbAlignright = new TQRadioButton(i18n("Right"),aligngroup);
TQVBoxLayout *aligngrouptqlayout = new TQVBoxLayout( aligngroup->tqlayout() ); TQVBoxLayout *aligngrouplayout = new TQVBoxLayout( aligngroup->layout() );
aligngrouptqlayout->setAlignment( TQt::AlignTop ); aligngrouplayout->setAlignment( TQt::AlignTop );
aligngrouptqlayout->addWidget( m_rbAlignleft ); aligngrouplayout->addWidget( m_rbAlignleft );
aligngrouptqlayout->addWidget( m_rbAligncenter ); aligngrouplayout->addWidget( m_rbAligncenter );
aligngrouptqlayout->addWidget( m_rbAlignright ); aligngrouplayout->addWidget( m_rbAlignright );
// frame group // frame group
TQGroupBox *framegroup = new TQGroupBox( i18n("Frame"),page); TQGroupBox *framegroup = new TQGroupBox( i18n("Frame"),page);
framegroup->setColumnLayout(0, Qt::Vertical ); framegroup->setColumnLayout(0, Qt::Vertical );
framegroup->tqlayout()->setSpacing( 6 ); framegroup->layout()->setSpacing( 6 );
framegroup->tqlayout()->setMargin( 11 ); framegroup->layout()->setMargin( 11 );
TQLabel *label3 = new TQLabel(i18n("Standard:"),framegroup); TQLabel *label3 = new TQLabel(i18n("Standard:"),framegroup);
TQLabel *label4 = new TQLabel(i18n("User defined:"),framegroup); TQLabel *label4 = new TQLabel(i18n("User defined:"),framegroup);
@ -339,45 +339,45 @@ TabCellDialog::TabCellDialog(TQWidget *parent, TabularCell::Data *data,
borderbox->addWidget(m_cellframe); borderbox->addWidget(m_cellframe);
borderbox->addStretch(1); borderbox->addStretch(1);
TQVBoxLayout *framegrouptqlayout = new TQVBoxLayout( framegroup->tqlayout() ); TQVBoxLayout *framegrouplayout = new TQVBoxLayout( framegroup->layout() );
framegrouptqlayout->setAlignment( TQt::AlignTop ); framegrouplayout->setAlignment( TQt::AlignTop );
framegrouptqlayout->addWidget( label3 ); framegrouplayout->addWidget( label3 );
framegrouptqlayout->addWidget( lineframe ); framegrouplayout->addWidget( lineframe );
framegrouptqlayout->addSpacing( 10 ); framegrouplayout->addSpacing( 10 );
framegrouptqlayout->addWidget( label4 ); framegrouplayout->addWidget( label4 );
framegrouptqlayout->addWidget( borderframe ); framegrouplayout->addWidget( borderframe );
// preamble group // preamble group
TQGroupBox *preamblegroup = new TQGroupBox( i18n("Preamble"),page); TQGroupBox *preamblegroup = new TQGroupBox( i18n("Preamble"),page);
preamblegroup->setColumnLayout(0, Qt::Vertical ); preamblegroup->setColumnLayout(0, Qt::Vertical );
preamblegroup->tqlayout()->setSpacing( 6 ); preamblegroup->layout()->setSpacing( 6 );
preamblegroup->tqlayout()->setMargin( 11 ); preamblegroup->layout()->setMargin( 11 );
m_cbPre = new TQCheckBox(i18n(">{decl}: insert before"),preamblegroup,"cb_pre"); m_cbPre = new TQCheckBox(i18n(">{decl}: insert before"),preamblegroup,"cb_pre");
m_cbPost = new TQCheckBox(i18n("<{decl}: insert after"),preamblegroup,"cb_post"); m_cbPost = new TQCheckBox(i18n("<{decl}: insert after"),preamblegroup,"cb_post");
m_cbAt = new TQCheckBox(i18n("@{decl}: suppress space"),preamblegroup,"cb_at"); m_cbAt = new TQCheckBox(i18n("@{decl}: suppress space"),preamblegroup,"cb_at");
m_cbSep = new TQCheckBox(i18n("!{decl}: do not suppress space"),preamblegroup,"cb_sep"); m_cbSep = new TQCheckBox(i18n("!{decl}: do not suppress space"),preamblegroup,"cb_sep");
TQVBoxLayout *preamblegrouptqlayout = new TQVBoxLayout( preamblegroup->tqlayout() ); TQVBoxLayout *preamblegrouplayout = new TQVBoxLayout( preamblegroup->layout() );
preamblegrouptqlayout->setAlignment( TQt::AlignTop ); preamblegrouplayout->setAlignment( TQt::AlignTop );
preamblegrouptqlayout->addWidget( m_cbPre ); preamblegrouplayout->addWidget( m_cbPre );
preamblegrouptqlayout->addWidget( m_cbPost ); preamblegrouplayout->addWidget( m_cbPost );
preamblegrouptqlayout->addWidget( m_cbAt ); preamblegrouplayout->addWidget( m_cbAt );
preamblegrouptqlayout->addWidget( m_cbSep ); preamblegrouplayout->addWidget( m_cbSep );
// header group // header group
TQGroupBox *headergroup = new TQGroupBox( i18n("Alignment"),page); TQGroupBox *headergroup = new TQGroupBox( i18n("Alignment"),page);
headergroup->setColumnLayout(0, Qt::Vertical ); headergroup->setColumnLayout(0, Qt::Vertical );
headergroup->tqlayout()->setSpacing( 6 ); headergroup->layout()->setSpacing( 6 );
headergroup->tqlayout()->setMargin( 11 ); headergroup->layout()->setMargin( 11 );
m_coHeader = new TQComboBox(headergroup); m_coHeader = new TQComboBox(headergroup);
TQVBoxLayout *headergrouptqlayout = new TQVBoxLayout( headergroup->tqlayout() ); TQVBoxLayout *headergrouplayout = new TQVBoxLayout( headergroup->layout() );
headergrouptqlayout->setAlignment( TQt::AlignTop ); headergrouplayout->setAlignment( TQt::AlignTop );
headergrouptqlayout->addStretch(1); headergrouplayout->addStretch(1);
headergrouptqlayout->addWidget(m_coHeader); headergrouplayout->addWidget(m_coHeader);
headergrouptqlayout->addStretch(1); headergrouplayout->addStretch(1);
// add widgets // add widgets
if ( m_header ) if ( m_header )
@ -1045,7 +1045,7 @@ void TabularTable::paintCell( TQPainter *p, int row, int col,
TQPen pen( p->pen() ); TQPen pen( p->pen() );
TQColor gridlinecolor; TQColor gridlinecolor;
int gridColor = tqstyle().styleHint( TQStyle::SH_Table_GridLineColor, this ); int gridColor = style().styleHint( TQStyle::SH_Table_GridLineColor, this );
if (gridColor != -1) if (gridColor != -1)
{ {
const TQPalette &pal = palette(); const TQPalette &pal = palette();
@ -1850,8 +1850,8 @@ TabularDialog::TabularDialog(TQWidget *parent, KConfig *config, KileDocument::La
// environment group // environment group
TQButtonGroup *group = new TQButtonGroup( i18n("Environment"),page); TQButtonGroup *group = new TQButtonGroup( i18n("Environment"),page);
group->setColumnLayout(0, Qt::Vertical ); group->setColumnLayout(0, Qt::Vertical );
group->tqlayout()->setSpacing( 4 ); group->layout()->setSpacing( 4 );
group->tqlayout()->setMargin( 11 ); group->layout()->setMargin( 11 );
TQLabel *label1 = new TQLabel(i18n("&Name:"),group); TQLabel *label1 = new TQLabel(i18n("&Name:"),group);
TQLabel *label2 = new TQLabel(i18n("&Parameter:"),group); TQLabel *label2 = new TQLabel(i18n("&Parameter:"),group);
@ -1867,26 +1867,26 @@ TabularDialog::TabularDialog(TQWidget *parent, KConfig *config, KileDocument::La
m_cbCenter = new TQCheckBox(i18n("C&enter"),group); m_cbCenter = new TQCheckBox(i18n("C&enter"),group);
m_cbBullets = new TQCheckBox(i18n("Insert &bullets"),group); m_cbBullets = new TQCheckBox(i18n("Insert &bullets"),group);
TQGridLayout *grouptqlayout = new TQGridLayout( group->tqlayout() ); TQGridLayout *grouplayout = new TQGridLayout( group->layout() );
grouptqlayout->setAlignment( TQt::AlignTop ); grouplayout->setAlignment( TQt::AlignTop );
grouptqlayout->setColStretch(5,1); grouplayout->setColStretch(5,1);
grouptqlayout->addWidget( label1, 0,0 ); grouplayout->addWidget( label1, 0,0 );
grouptqlayout->addWidget( label2, 1,0 ); grouplayout->addWidget( label2, 1,0 );
grouptqlayout->addWidget( m_coEnvironment, 0,1 ); grouplayout->addWidget( m_coEnvironment, 0,1 );
grouptqlayout->addWidget( m_coParameter, 1,1 ); grouplayout->addWidget( m_coParameter, 1,1 );
grouptqlayout->setColSpacing(2,24); grouplayout->setColSpacing(2,24);
grouptqlayout->addWidget( label3, 0,3 ); grouplayout->addWidget( label3, 0,3 );
grouptqlayout->addWidget( label4, 1,3 ); grouplayout->addWidget( label4, 1,3 );
grouptqlayout->addWidget( m_spRows, 0,4 ); grouplayout->addWidget( m_spRows, 0,4 );
grouptqlayout->addWidget( m_spCols, 1,4 ); grouplayout->addWidget( m_spCols, 1,4 );
grouptqlayout->setRowSpacing(2,8); grouplayout->setRowSpacing(2,8);
grouptqlayout->addMultiCellWidget( m_cbWarning, 3,3,0,4, TQt::AlignLeft ); grouplayout->addMultiCellWidget( m_cbWarning, 3,3,0,4, TQt::AlignLeft );
grouptqlayout->addMultiCellWidget( m_cbStarred, 4,4,0,1, TQt::AlignLeft ); grouplayout->addMultiCellWidget( m_cbStarred, 4,4,0,1, TQt::AlignLeft );
grouptqlayout->addMultiCellWidget( m_cbBooktabs, 5,5,0,1, TQt::AlignLeft ); grouplayout->addMultiCellWidget( m_cbBooktabs, 5,5,0,1, TQt::AlignLeft );
grouptqlayout->addMultiCellWidget( m_cbCenter, 4,4,3,4, TQt::AlignLeft ); grouplayout->addMultiCellWidget( m_cbCenter, 4,4,3,4, TQt::AlignLeft );
grouptqlayout->addMultiCellWidget( m_cbBullets, 5,5,3,4, TQt::AlignLeft ); grouplayout->addMultiCellWidget( m_cbBullets, 5,5,3,4, TQt::AlignLeft );
// add widgets // add widgets
vbox->addWidget( m_table); vbox->addWidget( m_table);
@ -1924,7 +1924,7 @@ TabularDialog::TabularDialog(TQWidget *parent, KConfig *config, KileDocument::La
connect( m_spCols, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotColValueChanged(int))); connect( m_spCols, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotColValueChanged(int)));
TQWhatsThis::add(m_table,i18n("Input data. When you press Enter, the cursor will move to the cell right of the current cell. A click with the right mouse button on a cell or a range of cells will open a popup menu, where you can edit attributes, clear attributes, delete text or define multicolumn cells.")); TQWhatsThis::add(m_table,i18n("Input data. When you press Enter, the cursor will move to the cell right of the current cell. A click with the right mouse button on a cell or a range of cells will open a popup menu, where you can edit attributes, clear attributes, delete text or define multicolumn cells."));
TQWhatsThis::add(m_table->horizontalHeader(),i18n("Current tqlayout of the preamble. A click with the right mouse button will open a popup menu, where you can edit some attributes of all cells, which belong to the selected columns.")); TQWhatsThis::add(m_table->horizontalHeader(),i18n("Current layout of the preamble. A click with the right mouse button will open a popup menu, where you can edit some attributes of all cells, which belong to the selected columns."));
TQWhatsThis::add(m_table->verticalHeader(),i18n("A click with the right mouse button will open a popup menu, where you can edit some attributes of all cells, which belong to the selected rows.")); TQWhatsThis::add(m_table->verticalHeader(),i18n("A click with the right mouse button will open a popup menu, where you can edit some attributes of all cells, which belong to the selected rows."));
TQWhatsThis::add(m_coEnvironment,i18n("Choose an environment.")); TQWhatsThis::add(m_coEnvironment,i18n("Choose an environment."));
TQWhatsThis::add(m_coParameter,i18n("Optional parameter for the chosen environment.")); TQWhatsThis::add(m_coParameter,i18n("Optional parameter for the chosen environment."));

@ -71,9 +71,9 @@ TexDocDialog::TexDocDialog(TQWidget *parent, const char *name)
TQGroupBox *groupbox = new TQGroupBox( i18n("Search"), page, "groupbox" ); TQGroupBox *groupbox = new TQGroupBox( i18n("Search"), page, "groupbox" );
groupbox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)1, 0, 0, groupbox->sizePolicy().hasHeightForWidth() ) ); groupbox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)1, 0, 0, groupbox->sizePolicy().hasHeightForWidth() ) );
groupbox->setColumnLayout(0, Qt::Vertical ); groupbox->setColumnLayout(0, Qt::Vertical );
groupbox->tqlayout()->setSpacing( 6 ); groupbox->layout()->setSpacing( 6 );
groupbox->tqlayout()->setMargin( 11 ); groupbox->layout()->setMargin( 11 );
TQGridLayout *groupboxLayout = new TQGridLayout( groupbox->tqlayout() ); TQGridLayout *groupboxLayout = new TQGridLayout( groupbox->layout() );
groupboxLayout->setAlignment( TQt::AlignTop ); groupboxLayout->setAlignment( TQt::AlignTop );
TQLabel *label = new TQLabel( i18n("&Keyword:"), groupbox, "label"); TQLabel *label = new TQLabel( i18n("&Keyword:"), groupbox, "label");

@ -49,7 +49,7 @@ UserHelpDialog::UserHelpDialog(TQWidget *parent, const char *name)
TQWidget *page = new TQWidget(this); TQWidget *page = new TQWidget(this);
setMainWidget(page); setMainWidget(page);
// tqlayout // layout
TQVBoxLayout *vbox = new TQVBoxLayout(page, 6,6 ); TQVBoxLayout *vbox = new TQVBoxLayout(page, 6,6 );
TQVGroupBox* group= new TQVGroupBox(i18n("User Help"),page ); TQVGroupBox* group= new TQVGroupBox(i18n("User Help"),page );
@ -349,7 +349,7 @@ UserHelpAddDialog::UserHelpAddDialog(KListBox *menulistbox, TQWidget *parent, co
TQWidget *page = new TQWidget(this); TQWidget *page = new TQWidget(this);
setMainWidget(page); setMainWidget(page);
// tqlayout // layout
TQVBoxLayout *vbox = new TQVBoxLayout(page, 6,6 ); TQVBoxLayout *vbox = new TQVBoxLayout(page, 6,6 );
TQVGroupBox* group= new TQVGroupBox(i18n("User Help"),page ); TQVGroupBox* group= new TQVGroupBox(i18n("User Help"),page );

Loading…
Cancel
Save