diff options
author | Michele Calgaro <[email protected]> | 2024-01-14 14:09:37 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-14 14:09:37 +0900 |
commit | af0b8f5d1e5e00b1f3b48658d89876c2df28e71c (patch) | |
tree | 11e4cc0bc31cd049daeb734b4d9e0ee00fac9eab /khexedit/dialog.cpp | |
parent | 09fd0dead9b5dcb29dde24957ae8c07269c49aa1 (diff) | |
download | tdeutils-af0b8f5d1e5e00b1f3b48658d89876c2df28e71c.tar.gz tdeutils-af0b8f5d1e5e00b1f3b48658d89876c2df28e71c.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'khexedit/dialog.cpp')
-rw-r--r-- | khexedit/dialog.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/khexedit/dialog.cpp b/khexedit/dialog.cpp index 588a715..76f48bc 100644 --- a/khexedit/dialog.cpp +++ b/khexedit/dialog.cpp @@ -189,7 +189,7 @@ CFindDialog::CFindDialog( TQWidget *parent, const char *name, bool modal ) if( mSelector == 0 ) { return; } mSelector->setMinimumWidth( fontMetrics().maxWidth()*17 ); mSelector->insertStringList( formatStrings() ); - connect( mSelector, TQT_SIGNAL(activated(int)), TQT_SLOT(selectorChanged(int)) ); + connect( mSelector, TQ_SIGNAL(activated(int)), TQ_SLOT(selectorChanged(int)) ); TQLabel *label = new TQLabel( mSelector, i18n("Fo&rmat:"), plainPage() ); if( label == 0 ) { return; } @@ -200,8 +200,8 @@ CFindDialog::CFindDialog( TQWidget *parent, const char *name, bool modal ) mInput = new TQLineEdit( plainPage() ); if( mInput == 0 ) { return; } mInput->setMinimumWidth( fontMetrics().maxWidth()*17 ); - connect( mInput, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(inputChanged(const TQString&)) ); + connect( mInput, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(inputChanged(const TQString&)) ); mFindValidator = new CHexValidator( this, CHexValidator::regularText ); if( mFindValidator == 0 ) { return; } mInput->setValidator( mFindValidator ); @@ -498,8 +498,8 @@ CReplaceDialog::CReplaceDialog( TQWidget *parent, const char *name, bool modal ) if( mFindSelector == 0 ) { return; } mFindSelector->setMinimumWidth( fontMetrics().maxWidth()*17 ); mFindSelector->insertStringList( formatStrings() ); - connect( mFindSelector, TQT_SIGNAL(activated(int)), - TQT_SLOT(findSelectorChanged(int)) ); + connect( mFindSelector, TQ_SIGNAL(activated(int)), + TQ_SLOT(findSelectorChanged(int)) ); text = i18n("Fo&rmat (find):"); TQLabel *label = new TQLabel( mFindSelector, text, plainPage() ); @@ -514,8 +514,8 @@ CReplaceDialog::CReplaceDialog( TQWidget *parent, const char *name, bool modal ) mFindValidator = new CHexValidator( this, CHexValidator::regularText ); if( mFindValidator == 0 ) { return; } mFindInput->setValidator( mFindValidator ); - connect( mFindInput, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(findInputChanged(const TQString&)) ); + connect( mFindInput, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(findInputChanged(const TQString&)) ); label = new TQLabel( mFindInput, i18n("F&ind:"), plainPage() ); if( label == 0 ) { return; } @@ -527,8 +527,8 @@ CReplaceDialog::CReplaceDialog( TQWidget *parent, const char *name, bool modal ) if( mReplaceSelector == 0 ) { return; } mReplaceSelector->setMinimumWidth( fontMetrics().maxWidth()*17 ); mReplaceSelector->insertStringList( formatStrings() ); - connect( mReplaceSelector, TQT_SIGNAL(activated(int)), - TQT_SLOT(replaceSelectorChanged(int)) ); + connect( mReplaceSelector, TQ_SIGNAL(activated(int)), + TQ_SLOT(replaceSelectorChanged(int)) ); text = i18n("For&mat (replace):"); label = new TQLabel( mReplaceSelector, text, plainPage() ); @@ -544,8 +544,8 @@ CReplaceDialog::CReplaceDialog( TQWidget *parent, const char *name, bool modal ) mReplaceValidator = new CHexValidator( this, CHexValidator::regularText ); if( mReplaceValidator == 0 ) { return; } mReplaceInput->setValidator( mReplaceValidator ); - connect( mReplaceInput, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(replaceInputChanged(const TQString&)) ); + connect( mReplaceInput, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(replaceInputChanged(const TQString&)) ); label = new TQLabel( mReplaceInput, i18n("Rep&lace:"), plainPage() ); if( label == 0 ) { return; } @@ -774,8 +774,8 @@ CFilterDialog::CFilterDialog( TQWidget *parent, const char *name, bool modal ) if( mOperationSelector == 0 ) { return; } mOperationSelector->setMinimumWidth( fontMetrics().maxWidth()*17 ); mOperationSelector->insertStringList( operationStrings() ); - connect( mOperationSelector, TQT_SIGNAL(activated(int)), - TQT_SLOT(operationSelectorChanged(int)) ); + connect( mOperationSelector, TQ_SIGNAL(activated(int)), + TQ_SLOT(operationSelectorChanged(int)) ); text = i18n("O&peration:"); TQLabel *label = new TQLabel( mOperationSelector, text, plainPage() ); @@ -849,8 +849,8 @@ void CFilterDialog::makeOperandLayout( void ) mOperandSelector->setFixedHeight( mOperandSelector->sizeHint().height()); mOperandSelector->setMinimumWidth( fontMetrics().width("M")*20 ); mOperandSelector->insertStringList( formatStrings() ); - connect( mOperandSelector, TQT_SIGNAL(activated(int)), - TQT_SLOT(operandSelectorChanged(int)) ); + connect( mOperandSelector, TQ_SIGNAL(activated(int)), + TQ_SLOT(operandSelectorChanged(int)) ); text = i18n("Fo&rmat (operand):"); mOperandFormatLabel = new TQLabel( mOperandSelector, text, page ); @@ -865,8 +865,8 @@ void CFilterDialog::makeOperandLayout( void ) mOperandValidator = new CHexValidator( this, CHexValidator::regularText ); if( mOperandValidator == 0 ) { return; } mOperandInput->setValidator( mOperandValidator ); - connect( mOperandInput, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(operandInputChanged(const TQString&)) ); + connect( mOperandInput, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(operandInputChanged(const TQString&)) ); mOperandInputLabel = new TQLabel( mOperandInput, i18n("O&perand:"), page ); if( mOperandInputLabel == 0 ) { return; } @@ -903,7 +903,7 @@ void CFilterDialog::makeBitSwapLayout( void ) text = i18n("&Reset"); TQPushButton *resetButton = new TQPushButton( text, page ); resetButton->setFixedHeight( resetButton->sizeHint().height() ); - connect( resetButton, TQT_SIGNAL(clicked()), mByteWidget, TQT_SLOT(reset()) ); + connect( resetButton, TQ_SIGNAL(clicked()), mByteWidget, TQ_SLOT(reset()) ); hbox->addWidget( resetButton ); hbox->addStretch( 10 ); @@ -1096,8 +1096,8 @@ CInsertDialog::CInsertDialog( TQWidget *parent, const char *name, bool modal ) if( mPatternSelector == 0 ) { return; } mPatternSelector->setMinimumWidth( fontMetrics().maxWidth()*17 ); mPatternSelector->insertStringList( formatStrings() ); - connect( mPatternSelector, TQT_SIGNAL(activated(int)), - TQT_SLOT(patternSelectorChanged(int)) ); + connect( mPatternSelector, TQ_SIGNAL(activated(int)), + TQ_SLOT(patternSelectorChanged(int)) ); text = i18n("Fo&rmat (pattern):"); label = new TQLabel( mPatternSelector, text, plainPage() ); @@ -1112,8 +1112,8 @@ CInsertDialog::CInsertDialog( TQWidget *parent, const char *name, bool modal ) mPatternValidator = new CHexValidator( this, CHexValidator::regularText ); if( mPatternValidator == 0 ) { return; } mPatternInput->setValidator( mPatternValidator ); - connect( mPatternInput, TQT_SIGNAL(textChanged(const TQString&)), - TQT_SLOT(patternInputChanged(const TQString&)) ); + connect( mPatternInput, TQ_SIGNAL(textChanged(const TQString&)), + TQ_SLOT(patternInputChanged(const TQString&)) ); label = new TQLabel( mPatternInput, i18n("&Pattern:"), plainPage() ); if( label == 0 ) { return; } @@ -1143,7 +1143,7 @@ CInsertDialog::CInsertDialog( TQWidget *parent, const char *name, bool modal ) gbox->addWidget( mCheckPattern, 1, 0 ); mCheckOnCursor = new TQCheckBox( i18n("&Insert on cursor position"), group ); gbox->addWidget( mCheckOnCursor, 2, 0 ); - connect( mCheckOnCursor, TQT_SIGNAL(clicked()), TQT_SLOT(cursorCheck()) ); + connect( mCheckOnCursor, TQ_SIGNAL(clicked()), TQ_SLOT(cursorCheck()) ); gbox->setRowStretch( 3, 10 ); TDEConfig &config = *kapp->config(); |