summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_propertyEditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/kspread_propertyEditor.cpp')
-rw-r--r--kspread/kspread_propertyEditor.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kspread/kspread_propertyEditor.cpp b/kspread/kspread_propertyEditor.cpp
index 234cb2a7..857af71c 100644
--- a/kspread/kspread_propertyEditor.cpp
+++ b/kspread/kspread_propertyEditor.cpp
@@ -38,8 +38,8 @@
using namespace KSpread;
-PropertyEditor::PropertyEditor( QWidget *parent, const char *name, Sheet *page, Doc *doc )
- : QTabDialog( parent, name, true )
+PropertyEditor::PropertyEditor( TQWidget *tqparent, const char *name, Sheet *page, Doc *doc )
+ : TQTabDialog( tqparent, name, true )
, m_page( page )
, m_doc( doc )
, m_objects( page->getSelectedObjects() )
@@ -57,7 +57,7 @@ PropertyEditor::PropertyEditor( QWidget *parent, const char *name, Sheet *page,
setOkButton( KStdGuiItem::ok().text() );
setApplyButton( KStdGuiItem::apply().text() );
- connect( this, SIGNAL( applyButtonPressed() ), this, SLOT( slotDone() ) );
+ connect( this, TQT_SIGNAL( applyButtonPressed() ), this, TQT_SLOT( slotDone() ) );
//m_objectProperties = new KPrObjectProperties( m_objects );
@@ -277,10 +277,10 @@ KCommand * PropertyEditor::getCommand()
macro = new KMacroCommand( i18n( "Apply Properties" ) );
}
- QPtrListIterator<EmbeddedObject> it( m_objects );
+ TQPtrListIterator<EmbeddedObject> it( m_objects );
for ( ; it.current(); ++it )
{
- KoRect oldRect = it.current()->geometry()/*getRect()*/;
+ KoRect oldRect = it.current()->tqgeometry()/*getRect()*/;
KoRect newRect = oldRect;
if ( change & GeneralProperty::Left )
@@ -439,14 +439,14 @@ GeneralProperty::GeneralValue PropertyEditor::getGeneralValue()
bool keepRatio = false;
generalValue.m_keepRatio = STATE_OFF;
- QPtrListIterator<EmbeddedObject> it( m_objects );
+ TQPtrListIterator<EmbeddedObject> it( m_objects );
if ( it.current() )
{
protect = it.current()->isProtect();
generalValue.m_protect = protect ? STATE_ON : STATE_OFF;
keepRatio = it.current()->isKeepRatio();
generalValue.m_keepRatio = keepRatio ? STATE_ON : STATE_OFF;
- generalValue.m_rect = it.current()->geometry()/*getRect()*/;
+ generalValue.m_rect = it.current()->tqgeometry()/*getRect()*/;
++it;
}