summaryrefslogtreecommitdiffstats
path: root/karbon/tools/vrectangletool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/tools/vrectangletool.cc')
-rw-r--r--karbon/tools/vrectangletool.cc24
1 files changed, 12 insertions, 12 deletions
diff --git a/karbon/tools/vrectangletool.cc b/karbon/tools/vrectangletool.cc
index e65f3e88..9d19edd2 100644
--- a/karbon/tools/vrectangletool.cc
+++ b/karbon/tools/vrectangletool.cc
@@ -17,28 +17,28 @@
* Boston, MA 02110-1301, USA.
*/
-#include <qlabel.h>
-#include <qgroupbox.h>
+#include <tqlabel.h>
+#include <tqgroupbox.h>
#include <klocale.h>
#include <knuminput.h>
#include <karbon_view.h>
#include <karbon_part.h>
-#include <shapes/vrectangle.h>
+#include <tqshapes/vrectangle.h>
#include "vrectangletool.h"
#include <KoUnitWidgets.h>
-VRectangleTool::VRectangleOptionsWidget::VRectangleOptionsWidget( KarbonPart *part, QWidget* parent, const char* name )
- : KDialogBase( parent, name, true, i18n( "Insert Rectangle" ), Ok | Cancel ), m_part( part )
+VRectangleTool::VRectangleOptionsWidget::VRectangleOptionsWidget( KarbonPart *part, TQWidget* tqparent, const char* name )
+ : KDialogBase( tqparent, name, true, i18n( "Insert Rectangle" ), Ok | Cancel ), m_part( part )
{
- QGroupBox *group = new QGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), this );
+ TQGroupBox *group = new TQGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), this );
// add width/height-input:
- m_widthLabel = new QLabel( i18n( "object width", "Width:" ), group );
+ m_widthLabel = new TQLabel( i18n( "object width", "Width:" ), group );
m_width = new KoUnitDoubleSpinBox( group, 0.0, 1000.0, 0.5, 100.0, KoUnit::U_MM );
- m_heightLabel = new QLabel( i18n( "Height:" ), group );
+ m_heightLabel = new TQLabel( i18n( "Height:" ), group );
m_height = new KoUnitDoubleSpinBox( group, 0.0, 1000.0, 0.5, 100.0, KoUnit::U_MM );
refreshUnit();
@@ -101,7 +101,7 @@ VRectangleTool::refreshUnit()
}
VPath *
-VRectangleTool::shape( bool interactive ) const
+VRectangleTool::tqshape( bool interactive ) const
{
if( interactive )
{
@@ -124,7 +124,7 @@ VRectangleTool::shape( bool interactive ) const
bool
VRectangleTool::showDialog() const
{
- return m_optionWidget->exec() == QDialog::Accepted;
+ return m_optionWidget->exec() == TQDialog::Accepted;
}
void
@@ -134,9 +134,9 @@ VRectangleTool::setup( KActionCollection *collection )
if( m_action == 0 )
{
- m_action = new KRadioAction( i18n( "Rectangle Tool" ), "14_rectangle", Qt::Key_Plus+Qt::Key_F9, this, SLOT( activate() ), collection, name() );
+ m_action = new KRadioAction( i18n( "Rectangle Tool" ), "14_rectangle", TQt::Key_Plus+TQt::Key_F9, this, TQT_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Rectangle" ) );
- m_action->setExclusiveGroup( "shapes" );
+ m_action->setExclusiveGroup( "tqshapes" );
//m_ownAction = true;
}
}