From c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:56:31 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 94844816550ad672ccfcdc25659c625546239998. --- kspread/dialogs/kspread_dlg_reference.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kspread/dialogs/kspread_dlg_reference.cc') diff --git a/kspread/dialogs/kspread_dlg_reference.cc b/kspread/dialogs/kspread_dlg_reference.cc index 7c3007e8..c456efb3 100644 --- a/kspread/dialogs/kspread_dlg_reference.cc +++ b/kspread/dialogs/kspread_dlg_reference.cc @@ -40,7 +40,7 @@ #include #include #include -#include +#include #include #include @@ -75,7 +75,7 @@ reference::reference( View* parent, const char* name ) m_pOk = bb->addButton( KStdGuiItem::ok() ); m_pCancel = bb->addButton( KStdGuiItem::cancel() ); m_pOk->setDefault( TRUE ); - bb->layout(); + bb->tqlayout(); lay1->addWidget( bb ); TQString text; @@ -110,7 +110,7 @@ reference::reference( View* parent, const char* name ) TQT_SLOT(slotDoubleClicked(TQListBoxItem *))); connect( m_list, TQT_SIGNAL(highlighted ( TQListBoxItem * ) ), this, TQT_SLOT(slotHighlighted(TQListBoxItem * ))); - m_rangeName->setText(i18n("Area: %1").arg("")); + m_rangeName->setText(i18n("Area: %1").tqarg("")); resize( 250, 200 ); } @@ -134,7 +134,7 @@ void reference::displayAreaValues(TQString const & areaName) } } - tmpName = i18n("Area: %1").arg(tmpName); + tmpName = i18n("Area: %1").tqarg(tmpName); m_rangeName->setText(tmpName); } @@ -206,7 +206,7 @@ void reference::slotEdit() EditAreaName editDlg( m_pView, "EditArea", name ); editDlg.exec(); - m_rangeName->setText(i18n("Area: %1").arg("")); + m_rangeName->setText(i18n("Area: %1").tqarg("")); TQString tmp = m_list->text(m_list->currentItem()); if (!tmp.isEmpty()) displayAreaValues( tmp ); @@ -254,7 +254,7 @@ EditAreaName::EditAreaName( View * parent, m_pView = parent; resize( 350, 142 ); - setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, + tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)4, 0, 0, sizePolicy().hasHeightForWidth() ) ); -- cgit v1.2.1