diff options
Diffstat (limited to 'src/smalldialogs.cpp')
-rw-r--r-- | src/smalldialogs.cpp | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/src/smalldialogs.cpp b/src/smalldialogs.cpp index f0c3f33..1fc361a 100644 --- a/src/smalldialogs.cpp +++ b/src/smalldialogs.cpp @@ -57,10 +57,10 @@ OpenDialog::OpenDialog( m_pLineA->setEditText( KURL(n1).prettyURL() ); m_pLineA->setMinimumSize( 200, m_pLineA->size().height() ); TQPushButton * button = new TQPushButton( i18n("File..."), this ); - connect( button, TQT_SIGNAL(clicked()), this, TQT_SLOT( selectFileA() ) ); + connect( button, TQ_SIGNAL(clicked()), this, TQ_SLOT( selectFileA() ) ); TQPushButton * button2 = new TQPushButton( i18n("Dir..."), this ); - connect( button2, TQT_SIGNAL(clicked()), this, TQT_SLOT( selectDirA() ) ); - connect( m_pLineA, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(inputFilenameChanged() ) ); + connect( button2, TQ_SIGNAL(clicked()), this, TQ_SLOT( selectDirA() ) ); + connect( m_pLineA, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(inputFilenameChanged() ) ); h->addWidget( label, 0, 0 ); h->addWidget( m_pLineA, 0, 1 ); @@ -73,10 +73,10 @@ OpenDialog::OpenDialog( m_pLineB->setEditText( KURL(n2).prettyURL() ); m_pLineB->setMinimumSize( 200, m_pLineB->size().height() ); button = new TQPushButton( i18n("File..."), this ); - connect( button, TQT_SIGNAL(clicked()), this, TQT_SLOT( selectFileB() ) ); + connect( button, TQ_SIGNAL(clicked()), this, TQ_SLOT( selectFileB() ) ); button2 = new TQPushButton( i18n("Dir..."), this ); - connect( button2, TQT_SIGNAL(clicked()), this, TQT_SLOT( selectDirB() ) ); - connect( m_pLineB, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(inputFilenameChanged() ) ); + connect( button2, TQ_SIGNAL(clicked()), this, TQ_SLOT( selectDirB() ) ); + connect( m_pLineB, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(inputFilenameChanged() ) ); h->addWidget( label, 1, 0 ); h->addWidget( m_pLineB, 1, 1 ); @@ -89,10 +89,10 @@ OpenDialog::OpenDialog( m_pLineC->setEditText( KURL(n3).prettyURL() ); m_pLineC->setMinimumSize( 200, m_pLineC->size().height() ); button = new TQPushButton( i18n("File..."), this ); - connect( button, TQT_SIGNAL(clicked()), this, TQT_SLOT( selectFileC() ) ); + connect( button, TQ_SIGNAL(clicked()), this, TQ_SLOT( selectFileC() ) ); button2 = new TQPushButton( i18n("Dir..."), this ); - connect( button2, TQT_SIGNAL(clicked()), this, TQT_SLOT( selectDirC() ) ); - connect( m_pLineC, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(inputFilenameChanged() ) ); + connect( button2, TQ_SIGNAL(clicked()), this, TQ_SLOT( selectDirC() ) ); + connect( m_pLineC, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(inputFilenameChanged() ) ); h->addWidget( label, 2, 0 ); h->addWidget( m_pLineC, 2, 1 ); @@ -120,7 +120,7 @@ OpenDialog::OpenDialog( m->insertItem( i18n("Swap %1<->Output").arg("A"), id++ ); m->insertItem( i18n("Swap %1<->Output").arg("B"), id++ ); m->insertItem( i18n("Swap %1<->Output").arg("C"), id++ ); - connect( m, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotSwapCopyNames(int))); + connect( m, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotSwapCopyNames(int))); button->setPopup(m); @@ -132,13 +132,13 @@ OpenDialog::OpenDialog( m_pLineOut->setEditText( KURL(outputName).prettyURL() ); m_pLineOut->setMinimumSize( 200, m_pLineOut->size().height() ); button = new TQPushButton( i18n("File..."), this ); - connect( button, TQT_SIGNAL(clicked()), this, TQT_SLOT( selectOutputName() ) ); + connect( button, TQ_SIGNAL(clicked()), this, TQ_SLOT( selectOutputName() ) ); button2 = new TQPushButton( i18n("Dir..."), this ); - connect( button2, TQT_SIGNAL(clicked()), this, TQT_SLOT( selectOutputDir() ) ); - connect( m_pMerge, TQT_SIGNAL(stateChanged(int)), this, TQT_SLOT(internalSlot(int)) ); - connect( this, TQT_SIGNAL(internalSignal(bool)), m_pLineOut, TQT_SLOT(setEnabled(bool)) ); - connect( this, TQT_SIGNAL(internalSignal(bool)), button, TQT_SLOT(setEnabled(bool)) ); - connect( this, TQT_SIGNAL(internalSignal(bool)), button2, TQT_SLOT(setEnabled(bool)) ); + connect( button2, TQ_SIGNAL(clicked()), this, TQ_SLOT( selectOutputDir() ) ); + connect( m_pMerge, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(internalSlot(int)) ); + connect( this, TQ_SIGNAL(internalSignal(bool)), m_pLineOut, TQ_SLOT(setEnabled(bool)) ); + connect( this, TQ_SIGNAL(internalSignal(bool)), button, TQ_SLOT(setEnabled(bool)) ); + connect( this, TQ_SIGNAL(internalSignal(bool)), button2, TQ_SLOT(setEnabled(bool)) ); m_pMerge->setChecked( !bMerge ); m_pMerge->setChecked( bMerge ); @@ -156,18 +156,18 @@ OpenDialog::OpenDialog( TQHBoxLayout* l = new TQHBoxLayout( v, 5 ); button = new TQPushButton( i18n("Configure..."), this ); - connect( button, TQT_SIGNAL(clicked()), pParent, slotConfigure ); + connect( button, TQ_SIGNAL(clicked()), pParent, slotConfigure ); l->addWidget( button, 1 ); l->addStretch(1); button = new TQPushButton( i18n("&OK"), this ); button->setDefault( true ); - connect( button, TQT_SIGNAL(clicked()), this, TQT_SLOT( accept() ) ); + connect( button, TQ_SIGNAL(clicked()), this, TQ_SLOT( accept() ) ); l->addWidget( button, 1 ); button = new TQPushButton( i18n("&Cancel"), this ); - connect( button, TQT_SIGNAL(clicked()), this, TQT_SLOT( reject() ) ); + connect( button, TQ_SIGNAL(clicked()), this, TQ_SLOT( reject() ) ); l->addWidget( button,1 ); TQSize sh = sizeHint(); @@ -376,11 +376,11 @@ FindDialog::FindDialog(TQWidget* pParent) TQPushButton* pButton = new TQPushButton( i18n("&Search"), this ); layout->addWidget( pButton, line, 0 ); - connect( pButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept())); + connect( pButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept())); pButton = new TQPushButton( i18n("&Cancel"), this ); layout->addWidget( pButton, line, 1 ); - connect( pButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject())); + connect( pButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject())); hide(); } @@ -399,7 +399,7 @@ RegExpTester::RegExpTester( TQWidget* pParent, const TQString& autoMergeRegExpTo TQToolTip::add( l, autoMergeRegExpToolTip ); m_pAutoMergeRegExpEdit = new TQLineEdit(this); pGrid->addWidget(m_pAutoMergeRegExpEdit,line,1); - connect( m_pAutoMergeRegExpEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotRecalc())); + connect( m_pAutoMergeRegExpEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotRecalc())); ++line; l = new TQLabel(i18n("Example auto merge line:"), this); @@ -407,7 +407,7 @@ RegExpTester::RegExpTester( TQWidget* pParent, const TQString& autoMergeRegExpTo TQToolTip::add( l, i18n("For auto merge test copy a line as used in your files.") ); m_pAutoMergeExampleEdit = new TQLineEdit(this); pGrid->addWidget(m_pAutoMergeExampleEdit,line,1); - connect( m_pAutoMergeExampleEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotRecalc())); + connect( m_pAutoMergeExampleEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotRecalc())); ++line; l = new TQLabel(i18n("Match result:"), this); @@ -426,7 +426,7 @@ RegExpTester::RegExpTester( TQWidget* pParent, const TQString& autoMergeRegExpTo TQToolTip::add( l, historyStartRegExpToolTip ); m_pHistoryStartRegExpEdit = new TQLineEdit(this); pGrid->addWidget(m_pHistoryStartRegExpEdit,line,1); - connect( m_pHistoryStartRegExpEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotRecalc())); + connect( m_pHistoryStartRegExpEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotRecalc())); ++line; l = new TQLabel(i18n("Example history start line (with leading comment):"), this); @@ -436,7 +436,7 @@ RegExpTester::RegExpTester( TQWidget* pParent, const TQString& autoMergeRegExpTo "including the leading comment.") ); m_pHistoryStartExampleEdit = new TQLineEdit(this); pGrid->addWidget(m_pHistoryStartExampleEdit,line,1); - connect( m_pHistoryStartExampleEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotRecalc())); + connect( m_pHistoryStartExampleEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotRecalc())); ++line; l = new TQLabel(i18n("Match result:"), this); @@ -455,7 +455,7 @@ RegExpTester::RegExpTester( TQWidget* pParent, const TQString& autoMergeRegExpTo TQToolTip::add( l, historyEntryStartRegExpToolTip ); m_pHistoryEntryStartRegExpEdit = new TQLineEdit(this); pGrid->addWidget(m_pHistoryEntryStartRegExpEdit,line,1); - connect( m_pHistoryEntryStartRegExpEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotRecalc())); + connect( m_pHistoryEntryStartRegExpEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotRecalc())); ++line; l = new TQLabel(i18n("History sort key order:"), this); @@ -463,7 +463,7 @@ RegExpTester::RegExpTester( TQWidget* pParent, const TQString& autoMergeRegExpTo TQToolTip::add( l, historySortKeyOrderToolTip ); m_pHistorySortKeyOrderEdit = new TQLineEdit(this); pGrid->addWidget(m_pHistorySortKeyOrderEdit,line,1); - connect( m_pHistorySortKeyOrderEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotRecalc())); + connect( m_pHistorySortKeyOrderEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotRecalc())); ++line; l = new TQLabel(i18n("Example history entry start line (without leading comment):"), this); @@ -473,7 +473,7 @@ RegExpTester::RegExpTester( TQWidget* pParent, const TQString& autoMergeRegExpTo ++line; m_pHistoryEntryStartExampleEdit = new TQLineEdit(this); pGrid->addWidget(m_pHistoryEntryStartExampleEdit,line,1); - connect( m_pHistoryEntryStartExampleEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotRecalc())); + connect( m_pHistoryEntryStartExampleEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotRecalc())); ++line; l = new TQLabel(i18n("Match result:"), this); @@ -492,11 +492,11 @@ RegExpTester::RegExpTester( TQWidget* pParent, const TQString& autoMergeRegExpTo TQPushButton* pButton = new TQPushButton(i18n("OK"), this); pGrid->addWidget(pButton,line,0); - connect( pButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept())); + connect( pButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept())); pButton = new TQPushButton(i18n("Cancel"), this); pGrid->addWidget(pButton,line,1); - connect( pButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject())); + connect( pButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject())); resize( 800, sizeHint().height() ); } |