summaryrefslogtreecommitdiffstats
path: root/kword/KWFrameStyleManager.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-04 10:30:32 +0900
committerMichele Calgaro <[email protected]>2024-01-13 20:22:52 +0900
commite1b37ac1936f81994a2c1aa2778298fbc757531f (patch)
tree2e2df5ea5786d581b10e51e0cbde9f4921697b2f /kword/KWFrameStyleManager.cpp
parentd08f80f854355e446d1c6be0eb50166646f7f291 (diff)
downloadkoffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.tar.gz
koffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
Diffstat (limited to 'kword/KWFrameStyleManager.cpp')
-rw-r--r--kword/KWFrameStyleManager.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kword/KWFrameStyleManager.cpp b/kword/KWFrameStyleManager.cpp
index dddfbac9..d94865c4 100644
--- a/kword/KWFrameStyleManager.cpp
+++ b/kword/KWFrameStyleManager.cpp
@@ -158,7 +158,7 @@ KWFrameStyleManager::KWFrameStyleManager( TQWidget *_parent, KWDocument *_doc,
switchStyle();
setInitialSize( TQSize( 600, 370 ) );
setButtonText( KDialogBase::User1, i18n("Import From File...") );
- connect(this, TQT_SIGNAL(user1Clicked()), this, TQT_SLOT(importFromFile()));
+ connect(this, TQ_SIGNAL(user1Clicked()), this, TQ_SLOT(importFromFile()));
}
KWFrameStyleManager::~KWFrameStyleManager()
@@ -198,32 +198,32 @@ void KWFrameStyleManager::setupWidget()
m_moveUpButton = new TQPushButton( frame1, "moveUpButton" );
m_moveUpButton->setIconSet( SmallIconSet( "go-up" ) );
- connect( m_moveUpButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( moveUpStyle() ) );
+ connect( m_moveUpButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( moveUpStyle() ) );
frame1Layout->addWidget( m_moveUpButton, 1, 1 );
m_moveDownButton = new TQPushButton( frame1, "moveDownButton" );
m_moveDownButton->setIconSet( SmallIconSet( "go-down" ) );
- connect( m_moveDownButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( moveDownStyle() ) );
+ connect( m_moveDownButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( moveDownStyle() ) );
frame1Layout->addWidget( m_moveDownButton, 1, 0 );
m_deleteButton = new TQPushButton( frame1, "deleteButton" );
m_deleteButton->setText( i18n( "&Delete" ) );
- connect( m_deleteButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( deleteStyle() ) );
+ connect( m_deleteButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( deleteStyle() ) );
frame1Layout->addWidget( m_deleteButton, 2, 1 );
m_newButton = new TQPushButton( frame1, "newButton" );
m_newButton->setText( i18n( "New" ) );
- connect( m_newButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( addStyle() ) );
+ connect( m_newButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( addStyle() ) );
frame1Layout->addWidget( m_newButton, 2, 0 );
m_tabs = new TQTabWidget( frame1 );
frame1Layout->addMultiCellWidget( m_tabs, 0, 2, 2, 2 );
- connect( m_stylesList, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( switchStyle() ) );
- connect( m_tabs, TQT_SIGNAL( currentChanged ( TQWidget * ) ), this, TQT_SLOT( switchTabs() ) );
+ connect( m_stylesList, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( switchStyle() ) );
+ connect( m_tabs, TQ_SIGNAL( currentChanged ( TQWidget * ) ), this, TQ_SLOT( switchTabs() ) );
}
void KWFrameStyleManager::addGeneralTab()
@@ -248,7 +248,7 @@ void KWFrameStyleManager::addGeneralTab()
m_nameString = new TQLineEdit( tab );
m_nameString->resize(m_nameString->sizeHint() );
- connect( m_nameString, TQT_SIGNAL( textChanged( const TQString &) ), this, TQT_SLOT( renameStyle(const TQString &) ) );
+ connect( m_nameString, TQ_SIGNAL( textChanged( const TQString &) ), this, TQ_SLOT( renameStyle(const TQString &) ) );
tabLayout->addWidget( m_nameString, 0, 1 );
@@ -584,8 +584,8 @@ KWFrameStyleBackgroundTab::KWFrameStyleBackgroundTab( TQWidget * parent )
brushColor = new KColorButton( TQt::white, bgwidget );
grid->addWidget(brushColor,row++,0);
- connect( brushColor, TQT_SIGNAL( changed( const TQColor & ) ),
- this, TQT_SLOT( updateBrushConfiguration( const TQColor & ) ) );
+ connect( brushColor, TQ_SIGNAL( changed( const TQColor & ) ),
+ this, TQ_SLOT( updateBrushConfiguration( const TQColor & ) ) );
TQSpacerItem* spacer = new TQSpacerItem( 10, 10, TQSizePolicy::Minimum, TQSizePolicy::Expanding);
grid->addItem( spacer,row,0 );