diff options
Diffstat (limited to 'karbon/dialogs/vstrokedlg.cc')
-rw-r--r-- | karbon/dialogs/vstrokedlg.cc | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/karbon/dialogs/vstrokedlg.cc b/karbon/dialogs/vstrokedlg.cc index ed530178..8dcfa9f9 100644 --- a/karbon/dialogs/vstrokedlg.cc +++ b/karbon/dialogs/vstrokedlg.cc @@ -18,12 +18,12 @@ * Boston, MA 02110-1301, USA. */ -#include <qcombobox.h> -#include <qlabel.h> -#include <qlayout.h> -#include <qtabwidget.h> -#include <qradiobutton.h> -#include <qvbuttongroup.h> +#include <tqcombobox.h> +#include <tqlabel.h> +#include <tqlayout.h> +#include <tqtabwidget.h> +#include <tqradiobutton.h> +#include <tqvbuttongroup.h> #include <kiconloader.h> #include <klocale.h> @@ -39,68 +39,68 @@ #include "vstrokedlg.h" #include "vcolortab.h" -VStrokeDlg::VStrokeDlg( KarbonPart* part, QWidget* parent, const char* name ) - : KDialogBase ( parent, name, true, i18n( "Stroke" ), Ok | Cancel ), m_part( part ) +VStrokeDlg::VStrokeDlg( KarbonPart* part, TQWidget* tqparent, const char* name ) + : KDialogBase ( tqparent, name, true, i18n( "Stroke" ), Ok | Cancel ), m_part( part ) { enableButtonSeparator( true ); - QTabWidget *mainWidget = new QTabWidget( this, "strokemain" ); - QHBoxLayout *mainLayout = new QHBoxLayout (mainWidget, 3); + TQTabWidget *mainWidget = new TQTabWidget( this, "strokemain" ); + TQHBoxLayout *mainLayout = new TQHBoxLayout (mainWidget, 3); - QVBoxLayout *leftLayout = new QVBoxLayout( mainLayout, 4 ); + TQVBoxLayout *leftLayout = new TQVBoxLayout( mainLayout, 4 ); - QLabel* widthLabel = new QLabel( i18n ( "stroke width", "Width:" ), mainWidget ); + TQLabel* widthLabel = new TQLabel( i18n ( "stroke width", "Width:" ), mainWidget ); leftLayout->addWidget ( widthLabel ); m_setLineWidth = new KoUnitDoubleSpinBox( mainWidget, 0.0, 1000.0, 0.5, 1.0, KoUnit::U_PT, 1 ); leftLayout->addWidget ( m_setLineWidth ); //Dashing -> - QLabel* styleLabel = new QLabel( i18n ( "Style:" ), mainWidget ); + TQLabel* styleLabel = new TQLabel( i18n ( "Style:" ), mainWidget ); leftLayout->addWidget ( styleLabel ); - m_styleCombo = new QComboBox( mainWidget ); + m_styleCombo = new TQComboBox( mainWidget ); m_styleCombo->setEnabled ( false ); leftLayout->addWidget ( m_styleCombo ); // <- Dashing - reserved for later - QRadioButton* button; - m_typeOption = new QVButtonGroup ( mainWidget ); - button = new QRadioButton ( i18n( "None" ), m_typeOption ); + TQRadioButton* button; + m_typeOption = new TQVButtonGroup ( mainWidget ); + button = new TQRadioButton ( i18n( "None" ), m_typeOption ); m_typeOption->insert( button ); - button = new QRadioButton ( i18n( "Stroke" ), m_typeOption ); + button = new TQRadioButton ( i18n( "Stroke" ), m_typeOption ); m_typeOption->insert( button ); - button = new QRadioButton ( i18n( "Gradient" ), m_typeOption ); + button = new TQRadioButton ( i18n( "Gradient" ), m_typeOption ); m_typeOption->insert( button ); m_typeOption->setTitle( i18n( "Type" ) ); mainLayout->addWidget( m_typeOption ); - connect( m_typeOption, SIGNAL( clicked( int ) ), this, SLOT( slotTypeChanged( int ) ) ); + connect( m_typeOption, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( slotTypeChanged( int ) ) ); - m_capOption = new QVButtonGroup ( mainWidget ); - //button = new QRadioButton ( i18n( "Butt" ), m_capOption ); - button = new QRadioButton ( m_capOption ); + m_capOption = new TQVButtonGroup ( mainWidget ); + //button = new TQRadioButton ( i18n( "Butt" ), m_capOption ); + button = new TQRadioButton ( m_capOption ); button->setPixmap( DesktopIcon( "cap_butt" ) ); m_capOption->insert( button ); - button = new QRadioButton ( m_capOption ); + button = new TQRadioButton ( m_capOption ); button->setPixmap( DesktopIcon( "cap_round" ) ); m_capOption->insert( button ); - button = new QRadioButton ( m_capOption ); + button = new TQRadioButton ( m_capOption ); button->setPixmap( DesktopIcon( "cap_square" ) ); m_capOption->insert( button ); m_capOption->setTitle( i18n( "Cap" ) ); mainLayout->addWidget( m_capOption ); - connect( m_capOption, SIGNAL( clicked( int ) ), this, SLOT( slotCapChanged( int ) ) ); + connect( m_capOption, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( slotCapChanged( int ) ) ); - m_joinOption = new QVButtonGroup ( mainWidget ); - button = new QRadioButton ( m_joinOption ); + m_joinOption = new TQVButtonGroup ( mainWidget ); + button = new TQRadioButton ( m_joinOption ); button->setPixmap( DesktopIcon( "join_miter" ) ); m_joinOption->insert( button ); - button = new QRadioButton ( m_joinOption ); + button = new TQRadioButton ( m_joinOption ); button->setPixmap( DesktopIcon( "join_round" ) ); m_joinOption->insert( button ); - button = new QRadioButton ( m_joinOption ); + button = new TQRadioButton ( m_joinOption ); button->setPixmap( DesktopIcon( "join_bevel" ) ); m_joinOption->insert( button ); m_joinOption->setTitle( i18n( "Join" ) ); mainLayout->addWidget( m_joinOption ); - connect( m_joinOption, SIGNAL( clicked( int ) ), this, SLOT( slotJoinChanged( int ) ) ); + connect( m_joinOption, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( slotJoinChanged( int ) ) ); VSelection *sel = part->document().selection(); if( sel && sel->objects().count() > 0 ) // there is a selection, so take the stroke of first selected object @@ -126,7 +126,7 @@ VStrokeDlg::VStrokeDlg( KarbonPart* part, QWidget* parent, const char* name ) setMainWidget( m_colortab ); disableResize(); - connect (this, SIGNAL( okClicked( void ) ), this, SLOT( slotOKClicked ( void ) ) ); + connect (this, TQT_SIGNAL( okClicked( void ) ), this, TQT_SLOT( slotOKClicked ( void ) ) ); } void VStrokeDlg::slotTypeChanged( int ID ) |