summaryrefslogtreecommitdiffstats
path: root/kspread/dialogs/kspread_dlg_reference.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/dialogs/kspread_dlg_reference.cc')
-rw-r--r--kspread/dialogs/kspread_dlg_reference.cc12
1 files changed, 6 insertions, 6 deletions
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 <tqlabel.h>
#include <tqlineedit.h>
#include <tqpushbutton.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <kbuttonbox.h>
#include <kmessagebox.h>
@@ -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() ) );