diff options
Diffstat (limited to 'kspread/dialogs/kspread_dlg_angle.cc')
-rw-r--r-- | kspread/dialogs/kspread_dlg_angle.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kspread/dialogs/kspread_dlg_angle.cc b/kspread/dialogs/kspread_dlg_angle.cc index 8dc31e1c..dc633c55 100644 --- a/kspread/dialogs/kspread_dlg_angle.cc +++ b/kspread/dialogs/kspread_dlg_angle.cc @@ -21,8 +21,8 @@ * Boston, MA 02110-1301, USA. */ -#include <qlayout.h> -#include <qpushbutton.h> +#include <tqlayout.h> +#include <tqpushbutton.h> #include <kbuttonbox.h> #include <kdebug.h> @@ -38,29 +38,29 @@ using namespace KSpread; -AngleDialog::AngleDialog(View* parent, const char* name, const QPoint &_marker) - : KDialogBase( parent, name,TRUE,i18n("Change Angle" ), Ok|Cancel|Default ) +AngleDialog::AngleDialog(View* tqparent, const char* name, const TQPoint &_marker) + : KDialogBase( tqparent, name,TRUE,i18n("Change Angle" ), Ok|Cancel|Default ) { - m_pView=parent; + m_pView=tqparent; marker=_marker; - QWidget *page = new QWidget( this ); + TQWidget *page = new TQWidget( this ); setMainWidget(page); - QVBoxLayout *lay = new QVBoxLayout( page, 0, spacingHint() ); + TQVBoxLayout *lay = new TQVBoxLayout( page, 0, spacingHint() ); m_pAngle = new KIntNumInput( page ); m_pAngle->setRange( -90, 90, 1 ); m_pAngle->setLabel( i18n("Angle:") ); m_pAngle->setSuffix(" "); lay->addWidget( m_pAngle ); - QWidget* spacer = new QWidget( page ); - spacer->setSizePolicy( QSizePolicy( QSizePolicy::Preferred, QSizePolicy::Expanding ) ); + TQWidget* spacer = new TQWidget( page ); + spacer->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Expanding ) ); lay->addWidget( spacer ); m_pAngle->setFocus(); - connect( this, SIGNAL( okClicked() ), this, SLOT( slotOk() ) ); + connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOk() ) ); Cell *cell = m_pView->activeSheet()->cellAt( marker.x(), marker.y() ); int angle=-(cell->format()->getAngle(marker.x(), marker.y())); |