summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-07 19:47:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-07 19:47:43 +0900
commitb462285e51b3005312b7151cd078ce94843fd72d (patch)
tree53926b034245bee9acb24bb9e7379d56716fc676
parent10da9998098672ff2d6c1213bda6993adc0b6589 (diff)
downloadkrename-b462285e51b3005312b7151cd078ce94843fd72d.tar.gz
krename-b462285e51b3005312b7151cd078ce94843fd72d.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--krename/ProgressDialog.cpp18
-rw-r--r--krename/commandplugin.cpp6
-rw-r--r--krename/confdialog.cpp2
-rw-r--r--krename/coorddialog.cpp8
-rw-r--r--krename/datetime.cpp2
-rw-r--r--krename/dsdirselectdialog.cpp2
-rw-r--r--krename/encodingplugin.cpp8
-rw-r--r--krename/fileoperation.cpp4
-rw-r--r--krename/helpdialog.cpp16
-rw-r--r--krename/kmyhistorycombo.cpp8
-rw-r--r--krename/kmylistbox.cpp12
-rw-r--r--krename/kmylistview.cpp16
-rw-r--r--krename/krecursivelister.cpp4
-rw-r--r--krename/krenameimpl.cpp128
-rw-r--r--krename/main.cpp2
-rw-r--r--krename/mydirplugin.cpp2
-rw-r--r--krename/myinputdialog.cpp8
-rw-r--r--krename/numberdialog.cpp6
-rw-r--r--krename/permission.cpp4
-rw-r--r--krename/profiledlg.cpp12
-rw-r--r--krename/replacedialog.cpp18
-rw-r--r--krename/tabs.cpp10
-rw-r--r--krename/threadedlister.cpp4
-rw-r--r--krename/undodialog.cpp10
-rw-r--r--krename/wizard.cpp6
25 files changed, 158 insertions, 158 deletions
diff --git a/krename/ProgressDialog.cpp b/krename/ProgressDialog.cpp
index a7812aa..eb2c4c1 100644
--- a/krename/ProgressDialog.cpp
+++ b/krename/ProgressDialog.cpp
@@ -78,11 +78,11 @@ ProgressDialog::ProgressDialog( TQWidget* parent, const char* name, WFlags fl )
buttonUndo->setEnabled( false );
mnuButton = new TDEPopupMenu( this );
- mnuButton->insertItem( i18n("Restart KRename..."), this, TQT_SLOT( restart() ));
+ mnuButton->insertItem( i18n("Restart KRename..."), this, TQ_SLOT( restart() ));
mnuButton->insertSeparator();
- mnuButton->insertItem( i18n("Rename Processed Files &Again..."), this, TQT_SLOT( again() ), 0, MNU_DONE_ID );
- mnuButton->insertItem( i18n("Rename Unprocessed Files &Again..."), this, TQT_SLOT( unAgain() ), 0, MNU_ERROR_ID );
- mnuButton->insertItem( i18n("Rename All Files &Again..."), this, TQT_SLOT( allAgain() ));
+ mnuButton->insertItem( i18n("Rename Processed Files &Again..."), this, TQ_SLOT( again() ), 0, MNU_DONE_ID );
+ mnuButton->insertItem( i18n("Rename Unprocessed Files &Again..."), this, TQ_SLOT( unAgain() ), 0, MNU_ERROR_ID );
+ mnuButton->insertItem( i18n("Rename All Files &Again..."), this, TQ_SLOT( allAgain() ));
buttonRestart = new KPushButton( this );
buttonRestart->setText( i18n( "&Rename More..." ) );
buttonRestart->setPopup( mnuButton );
@@ -110,15 +110,15 @@ ProgressDialog::ProgressDialog( TQWidget* parent, const char* name, WFlags fl )
ProgressDialogLayout->addWidget( display );
ProgressDialogLayout->addLayout( Layout1 );
- connect( buttonClose, TQT_SIGNAL(clicked()), this, TQT_SLOT(quitAll()));
- connect( buttonOpenDest, TQT_SIGNAL(clicked()), this, TQT_SLOT(openDest()));
- connect( buttonCancel, TQT_SIGNAL( clicked()), this, TQT_SLOT(canceled() ));
- connect( buttonUndo, TQT_SIGNAL( clicked() ), this, TQT_SLOT( undo() ) );
+ connect( buttonClose, TQ_SIGNAL(clicked()), this, TQ_SLOT(quitAll()));
+ connect( buttonOpenDest, TQ_SIGNAL(clicked()), this, TQ_SLOT(openDest()));
+ connect( buttonCancel, TQ_SIGNAL( clicked()), this, TQ_SLOT(canceled() ));
+ connect( buttonUndo, TQ_SIGNAL( clicked() ), this, TQ_SLOT( undo() ) );
m_count = 0;
m_canceled = false;
m_timer = new TQTimer( this, "m_timer" );
- connect( m_timer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotTimer() ) );
+ connect( m_timer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotTimer() ) );
hide();
}
diff --git a/krename/commandplugin.cpp b/krename/commandplugin.cpp
index 3c79028..348aa11 100644
--- a/krename/commandplugin.cpp
+++ b/krename/commandplugin.cpp
@@ -93,9 +93,9 @@ void CommandPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
vb->setStretchFactor( list, 2 );
l->addLayout( vb );
- connect( buttonAdd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( add() ) );
- connect( buttonRemove, TQT_SIGNAL( clicked() ), this, TQT_SLOT( remove() ) );
- connect( list, TQT_SIGNAL( executed( TQListBoxItem* ) ), this, TQT_SLOT( exec() ) );
+ connect( buttonAdd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( add() ) );
+ connect( buttonRemove, TQ_SIGNAL( clicked() ), this, TQ_SLOT( remove() ) );
+ connect( list, TQ_SIGNAL( executed( TQListBoxItem* ) ), this, TQ_SLOT( exec() ) );
TDEConfig* conf = kapp->config();
conf->setGroup("CommandPlugin");
diff --git a/krename/confdialog.cpp b/krename/confdialog.cpp
index 2a7ee2a..1bb7d69 100644
--- a/krename/confdialog.cpp
+++ b/krename/confdialog.cpp
@@ -37,7 +37,7 @@ ConfDialog::ConfDialog( TQWidget* parent, const char* name )
setupTab1();
setupTab2();
- connect( this, TQT_SIGNAL( defaultClicked() ), this, TQT_SLOT( defaults() ) );
+ connect( this, TQ_SIGNAL( defaultClicked() ), this, TQ_SLOT( defaults() ) );
}
ConfDialog::~ConfDialog()
diff --git a/krename/coorddialog.cpp b/krename/coorddialog.cpp
index 8388b51..3d27c7c 100644
--- a/krename/coorddialog.cpp
+++ b/krename/coorddialog.cpp
@@ -69,10 +69,10 @@ CoordDialog::CoordDialog( const TQString & file, TQWidget *_parent, const char *
layout->addWidget( preview );
updateCommand();
- connect( filename, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( updateCommand() ) );
- connect( checkInvert, TQT_SIGNAL( clicked() ), this, TQT_SLOT( updateCommand() ) );
- connect( filename, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( resetText() ) );
- connect( filename, TQT_SIGNAL( changed() ), this, TQT_SLOT( updateCommand() ) );
+ connect( filename, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( updateCommand() ) );
+ connect( checkInvert, TQ_SIGNAL( clicked() ), this, TQ_SLOT( updateCommand() ) );
+ connect( filename, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( resetText() ) );
+ connect( filename, TQ_SIGNAL( changed() ), this, TQ_SLOT( updateCommand() ) );
show();
diff --git a/krename/datetime.cpp b/krename/datetime.cpp
index 83476de..7e93099 100644
--- a/krename/datetime.cpp
+++ b/krename/datetime.cpp
@@ -119,7 +119,7 @@ void MyDatePlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
l->addLayout( Layout0 );
- connect( buttonCurrentDT, TQT_SIGNAL(clicked()), this, TQT_SLOT(changeDT()));
+ connect( buttonCurrentDT, TQ_SIGNAL(clicked()), this, TQ_SLOT(changeDT()));
#endif
}
diff --git a/krename/dsdirselectdialog.cpp b/krename/dsdirselectdialog.cpp
index 8039535..797859b 100644
--- a/krename/dsdirselectdialog.cpp
+++ b/krename/dsdirselectdialog.cpp
@@ -51,7 +51,7 @@ DSDirSelectDialog::DSDirSelectDialog( TQWidget* parent )
checkHidden = new TQCheckBox( i18n("Add &hidden directories"), hbox );
hbox->setStretchFactor( checkHidden, 4 );
checkOnlyDir = new TQCheckBox( i18n("Add directory names only"), vbox );
- connect( check, TQT_SIGNAL( clicked() ), this, TQT_SLOT( enableControls() ));
+ connect( check, TQ_SIGNAL( clicked() ), this, TQ_SLOT( enableControls() ));
TQToolTip::add( check, i18n("Walk recursively through the directory tree and add also the content of all subdirectories to the list of files to rename.") );
TQToolTip::add( checkHidden, i18n("If not checked, KRename will ignore directories starting with a dot during recursive adding.") );
diff --git a/krename/encodingplugin.cpp b/krename/encodingplugin.cpp
index 75888a0..b27db96 100644
--- a/krename/encodingplugin.cpp
+++ b/krename/encodingplugin.cpp
@@ -80,11 +80,11 @@ void EncodingPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
l->addWidget( groupInput );
l->addWidget( groupOutput );
- connect( checkInput, TQT_SIGNAL( clicked() ), this, TQT_SLOT( enableControls() ) );
- connect( checkOutput, TQT_SIGNAL( clicked() ), this, TQT_SLOT( enableControls() ) );
+ connect( checkInput, TQ_SIGNAL( clicked() ), this, TQ_SLOT( enableControls() ) );
+ connect( checkOutput, TQ_SIGNAL( clicked() ), this, TQ_SLOT( enableControls() ) );
- connect( comboOutput, TQT_SIGNAL( activated(int) ),this, TQT_SLOT( updatePreview() ) );
- connect( comboInput, TQT_SIGNAL( activated(int) ),this, TQT_SLOT( updatePreview() ) );
+ connect( comboOutput, TQ_SIGNAL( activated(int) ),this, TQ_SLOT( updatePreview() ) );
+ connect( comboInput, TQ_SIGNAL( activated(int) ),this, TQ_SLOT( updatePreview() ) );
setLocale( comboInput );
setLocale( comboOutput );
diff --git a/krename/fileoperation.cpp b/krename/fileoperation.cpp
index 813ee46..c8217ae 100644
--- a/krename/fileoperation.cpp
+++ b/krename/fileoperation.cpp
@@ -83,8 +83,8 @@ bool FileOperation::start( const KURL & src, const KURL & dest, int mode, bool o
return false;
job->setAutoErrorHandlingEnabled( false, 0 );
- connect( job, TQT_SIGNAL( result (TDEIO::Job *) ),
- this, TQT_SLOT( slotResult (TDEIO::Job *) ) );
+ connect( job, TQ_SIGNAL( result (TDEIO::Job *) ),
+ this, TQ_SLOT( slotResult (TDEIO::Job *) ) );
kapp->eventLoop()->enterLoop();
return !result;
diff --git a/krename/helpdialog.cpp b/krename/helpdialog.cpp
index 64a4809..aa18f71 100644
--- a/krename/helpdialog.cpp
+++ b/krename/helpdialog.cpp
@@ -95,20 +95,20 @@ HelpDialog::HelpDialog( HelpDialogData* data, TQWidget* parent,
HelpDialogLayout->addLayout( Layout1 );
// signals and slots connections
- connect( buttonClose, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
- connect( buttonAdd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( execute() ) );
- connect( list, TQT_SIGNAL( executed(TQListViewItem*) ), this, TQT_SLOT( execute() ) );
- connect( comboHeadline, TQT_SIGNAL( activated(int) ), this, TQT_SLOT(updateItems() ) );
+ connect( buttonClose, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
+ connect( buttonAdd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( execute() ) );
+ connect( list, TQ_SIGNAL( executed(TQListViewItem*) ), this, TQ_SLOT( execute() ) );
+ connect( comboHeadline, TQ_SIGNAL( activated(int) ), this, TQ_SLOT(updateItems() ) );
m_data = data;
- connect( m_data, TQT_SIGNAL( updateItems() ), this, TQT_SLOT( updateItems() ) );
- connect( m_data, TQT_SIGNAL( updateHeadline() ), this, TQT_SLOT( updateHeadline() ) );
+ connect( m_data, TQ_SIGNAL( updateItems() ), this, TQ_SLOT( updateItems() ) );
+ connect( m_data, TQ_SIGNAL( updateHeadline() ), this, TQ_SLOT( updateHeadline() ) );
}
HelpDialog::~HelpDialog()
{
- disconnect( m_data, TQT_SIGNAL( updateItems() ), this, TQT_SLOT( updateItems() ) );
- disconnect( m_data, TQT_SIGNAL( updateHeadline() ), this, TQT_SLOT( updateHeadline() ) );
+ disconnect( m_data, TQ_SIGNAL( updateItems() ), this, TQ_SLOT( updateItems() ) );
+ disconnect( m_data, TQ_SIGNAL( updateHeadline() ), this, TQ_SLOT( updateHeadline() ) );
}
void HelpDialog::execute()
diff --git a/krename/kmyhistorycombo.cpp b/krename/kmyhistorycombo.cpp
index 1f7f112..811f64f 100644
--- a/krename/kmyhistorycombo.cpp
+++ b/krename/kmyhistorycombo.cpp
@@ -55,11 +55,11 @@ KMyHistoryCombo::KMyHistoryCombo( bool customPopup, TQWidget* parent, const char
setCompletionMode( (TDEGlobalSettings::Completion)config->readNumEntry( "CompletionMode",
TDEGlobalSettings::completionMode() ) );
- connect( this, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( textChangedGovernor() ) );
- connect( m_timer, TQT_SIGNAL( timeout() ), this, TQT_SIGNAL( delayedTextChanged() ) );
+ connect( this, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( textChangedGovernor() ) );
+ connect( m_timer, TQ_SIGNAL( timeout() ), this, TQ_SIGNAL( delayedTextChanged() ) );
if( customPopup )
- connect( this, TQT_SIGNAL( aboutToShowContextMenu( TQPopupMenu* ) ), this, TQT_SLOT( slotCustomContextMenu( TQPopupMenu* ) ) );
+ connect( this, TQ_SIGNAL( aboutToShowContextMenu( TQPopupMenu* ) ), this, TQ_SLOT( slotCustomContextMenu( TQPopupMenu* ) ) );
}
KMyHistoryCombo::~KMyHistoryCombo()
@@ -128,7 +128,7 @@ void KMyHistoryCombo::slotCustomContextMenu( TQPopupMenu* p )
krename->insertItem( i18n("&Number"), KRENAME_NUMBER );
krename->insertItem( i18n("&Date"), KRENAME_DATE );
- connect( krename, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( slotInsertKRenameCommand( int ) ) );
+ connect( krename, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( slotInsertKRenameCommand( int ) ) );
p->insertSeparator( 0 );
p->insertItem( i18n("Insert &KRename token"), krename, 0, 0 );
diff --git a/krename/kmylistbox.cpp b/krename/kmylistbox.cpp
index fece90e..ac05559 100644
--- a/krename/kmylistbox.cpp
+++ b/krename/kmylistbox.cpp
@@ -58,9 +58,9 @@ KMyListBox::KMyListBox(TQWidget* parent, const char* name, WFlags fl)
setAcceptDrops( true );
setSelectionMode(Extended); // was extended before 2.9.0
- connect( this, TQT_SIGNAL(doubleClicked(TQListBoxItem*)), this, TQT_SLOT(openFile(TQListBoxItem*)));
- connect( this, TQT_SIGNAL(returnPressed(TQListBoxItem*)), this, TQT_SLOT(openFile(TQListBoxItem*)));
- connect( label, TQT_SIGNAL( leftClickedURL() ), this, TQT_SIGNAL( addFiles() ) );
+ connect( this, TQ_SIGNAL(doubleClicked(TQListBoxItem*)), this, TQ_SLOT(openFile(TQListBoxItem*)));
+ connect( this, TQ_SIGNAL(returnPressed(TQListBoxItem*)), this, TQ_SLOT(openFile(TQListBoxItem*)));
+ connect( label, TQ_SIGNAL( leftClickedURL() ), this, TQ_SIGNAL( addFiles() ) );
positionLabel();
}
@@ -335,9 +335,9 @@ void KMyListBox::select( TQListBoxItem* item )
void KMyListBox::preview( KURL::List list )
{
TDEIO::PreviewJob* job = TDEIO::filePreview( list, previewSize, previewSize, 0, 100, false, true, 0 );
- connect( job, TQT_SIGNAL( gotPreview( const KFileItem*, const TQPixmap &) ), this, TQT_SLOT( previewDone( const KFileItem*, const TQPixmap &) ) );
- connect( job, TQT_SIGNAL( failed( const KFileItem*)), this, TQT_SLOT( previewFailed( const KFileItem* ) ));
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( previewFinished() ) );
+ connect( job, TQ_SIGNAL( gotPreview( const KFileItem*, const TQPixmap &) ), this, TQ_SLOT( previewDone( const KFileItem*, const TQPixmap &) ) );
+ connect( job, TQ_SIGNAL( failed( const KFileItem*)), this, TQ_SLOT( previewFailed( const KFileItem* ) ));
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( previewFinished() ) );
TDEApplication::setOverrideCursor( TQt::waitCursor );
}
diff --git a/krename/kmylistview.cpp b/krename/kmylistview.cpp
index bb4f972..4914dd2 100644
--- a/krename/kmylistview.cpp
+++ b/krename/kmylistview.cpp
@@ -30,10 +30,10 @@ KMyListView::KMyListView( TQValueList<manualchanges>* _changes, KMyListBox* _lis
changes = _changes;
list = _list;
- connect( this, TQT_SIGNAL( doubleClicked(TQListViewItem*, const TQPoint&, int) ),
- this, TQT_SLOT( changeItem(TQListViewItem*, const TQPoint&, int) ) );
- connect( this, TQT_SIGNAL( contextMenuRequested(TQListViewItem*, const TQPoint&, int) ),
- this, TQT_SLOT( showContext(TQListViewItem*, const TQPoint&, int) ) );
+ connect( this, TQ_SIGNAL( doubleClicked(TQListViewItem*, const TQPoint&, int) ),
+ this, TQ_SLOT( changeItem(TQListViewItem*, const TQPoint&, int) ) );
+ connect( this, TQ_SIGNAL( contextMenuRequested(TQListViewItem*, const TQPoint&, int) ),
+ this, TQ_SLOT( showContext(TQListViewItem*, const TQPoint&, int) ) );
setAllColumnsShowFocus( true );
}
@@ -78,14 +78,14 @@ void KMyListView::showContext( TQListViewItem* item, const TQPoint& pos, int )
TDEPopupMenu* menu = new TDEPopupMenu( this );
if(item) {
menu->insertTitle( list->text( itemIndex( item ) ), 0, 0 );
- menu->insertItem( i18n("&Change Filename Manually"), this, TQT_SLOT( changeCurrentItem() ), Key_F2 );
+ menu->insertItem( i18n("&Change Filename Manually"), this, TQ_SLOT( changeCurrentItem() ), Key_F2 );
menu->insertSeparator();
- menu->insertItem( BarIcon("application-x-executable"), i18n("Open"), this, TQT_SLOT( openCurrent() ) );
+ menu->insertItem( BarIcon("application-x-executable"), i18n("Open"), this, TQ_SLOT( openCurrent() ) );
menu->insertSeparator();
}
- menu->insertItem( BarIcon("document-open"), i18n("&Add..."), this, TQT_SLOT( addFiles() ) );
+ menu->insertItem( BarIcon("document-open"), i18n("&Add..."), this, TQ_SLOT( addFiles() ) );
if(item)
- menu->insertItem( BarIcon("edit-delete"), i18n("&Remove"), this, TQT_SLOT( removeCurrentItem() ) );
+ menu->insertItem( BarIcon("edit-delete"), i18n("&Remove"), this, TQ_SLOT( removeCurrentItem() ) );
menu->popup( pos );
}
diff --git a/krename/krecursivelister.cpp b/krename/krecursivelister.cpp
index ac3528d..bae90a9 100644
--- a/krename/krecursivelister.cpp
+++ b/krename/krecursivelister.cpp
@@ -72,7 +72,7 @@ void KRecursiveLister::slotListingComplete(){
}
}
- TQTimer::singleShot( 0, this, TQT_SLOT( listNextDirectory() ));
+ TQTimer::singleShot( 0, this, TQ_SLOT( listNextDirectory() ));
}
/** Starts listing the specified url */
@@ -82,7 +82,7 @@ void KRecursiveLister::startListing(const KURL& url){
lister->setShowingDotFiles( m_hidden );
lister->setNameFilter( m_filter );
lister->setDirOnlyMode( m_dirs );
- connect(lister,TQT_SIGNAL(completed()), this, TQT_SLOT(slotListingComplete()) );
+ connect(lister,TQ_SIGNAL(completed()), this, TQ_SLOT(slotListingComplete()) );
}
lister->openURL( url, false, false );
diff --git a/krename/krenameimpl.cpp b/krename/krenameimpl.cpp
index 783ac67..b3f22b0 100644
--- a/krename/krenameimpl.cpp
+++ b/krename/krenameimpl.cpp
@@ -120,47 +120,47 @@ void KRenameImpl::setup( bool wizardmode )
setupPages();
updateCount();
- connect( buttonAdd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( addFile() ));
- connect( buttonRemoveAll, TQT_SIGNAL( clicked()), this, TQT_SLOT( clearList() ));
- connect( buttonRemove, TQT_SIGNAL( clicked()), this, TQT_SLOT( removeFile() ));
- connect( buttonHelp, TQT_SIGNAL( clicked()), this, TQT_SLOT( showTokenHelp() ));
- connect( finishButton, TQT_SIGNAL( clicked()), this, TQT_SLOT( start() ));
-
- connect( checkExtension, TQT_SIGNAL( clicked()), this, TQT_SLOT( enableControls() ));
- connect( optionRename, TQT_SIGNAL( clicked()), this, TQT_SLOT( enableControls() ));
- connect( optionMove, TQT_SIGNAL( clicked()), this, TQT_SLOT( enableControls() ));
- connect( optionCopy, TQT_SIGNAL( clicked()), this, TQT_SLOT( enableControls() ));
- connect( optionLink, TQT_SIGNAL( clicked()), this, TQT_SLOT( enableControls() ));
- connect( checkUndoScript, TQT_SIGNAL( clicked()), this, TQT_SLOT( enableControls() ));
-
- connect( fileList, TQT_SIGNAL( updateCount()), this, TQT_SLOT( updateCount() ));
- connect( fileList, TQT_SIGNAL( updatePreview()), this, TQT_SLOT( updatePreview() ));
- connect( fileList, TQT_SIGNAL( deletePressed()), this, TQT_SLOT( removeFile() ));
- connect( fileList, TQT_SIGNAL( addFiles()), this, TQT_SLOT( addFile() ));
- connect( buttonUp, TQT_SIGNAL( clicked()), fileList, TQT_SLOT( moveUp() ));
- connect( buttonDown, TQT_SIGNAL( clicked()), fileList, TQT_SLOT( moveDown() ));
- connect( buttonUp, TQT_SIGNAL( clicked()), this, TQT_SLOT( updatePreview() ));
- connect( buttonDown, TQT_SIGNAL( clicked()), this, TQT_SLOT( updatePreview() ));
- connect( buttonUp2, TQT_SIGNAL( clicked()), this, TQT_SLOT( moveUp() ));
- connect( buttonDown2, TQT_SIGNAL( clicked()), this, TQT_SLOT( moveDown() ));
- connect( buttonReplace, TQT_SIGNAL( clicked()), this, TQT_SLOT( replace() ));
- connect( buttonEasyReplace, TQT_SIGNAL( clicked()), this, TQT_SLOT( replace() ));
- connect( buttonCoord, TQT_SIGNAL( clicked()), this, TQT_SLOT( getCoordinates() ));
- connect( comboSort, TQT_SIGNAL( activated(int)), fileList, TQT_SLOT( setSorting(int) ));
+ connect( buttonAdd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( addFile() ));
+ connect( buttonRemoveAll, TQ_SIGNAL( clicked()), this, TQ_SLOT( clearList() ));
+ connect( buttonRemove, TQ_SIGNAL( clicked()), this, TQ_SLOT( removeFile() ));
+ connect( buttonHelp, TQ_SIGNAL( clicked()), this, TQ_SLOT( showTokenHelp() ));
+ connect( finishButton, TQ_SIGNAL( clicked()), this, TQ_SLOT( start() ));
+
+ connect( checkExtension, TQ_SIGNAL( clicked()), this, TQ_SLOT( enableControls() ));
+ connect( optionRename, TQ_SIGNAL( clicked()), this, TQ_SLOT( enableControls() ));
+ connect( optionMove, TQ_SIGNAL( clicked()), this, TQ_SLOT( enableControls() ));
+ connect( optionCopy, TQ_SIGNAL( clicked()), this, TQ_SLOT( enableControls() ));
+ connect( optionLink, TQ_SIGNAL( clicked()), this, TQ_SLOT( enableControls() ));
+ connect( checkUndoScript, TQ_SIGNAL( clicked()), this, TQ_SLOT( enableControls() ));
+
+ connect( fileList, TQ_SIGNAL( updateCount()), this, TQ_SLOT( updateCount() ));
+ connect( fileList, TQ_SIGNAL( updatePreview()), this, TQ_SLOT( updatePreview() ));
+ connect( fileList, TQ_SIGNAL( deletePressed()), this, TQ_SLOT( removeFile() ));
+ connect( fileList, TQ_SIGNAL( addFiles()), this, TQ_SLOT( addFile() ));
+ connect( buttonUp, TQ_SIGNAL( clicked()), fileList, TQ_SLOT( moveUp() ));
+ connect( buttonDown, TQ_SIGNAL( clicked()), fileList, TQ_SLOT( moveDown() ));
+ connect( buttonUp, TQ_SIGNAL( clicked()), this, TQ_SLOT( updatePreview() ));
+ connect( buttonDown, TQ_SIGNAL( clicked()), this, TQ_SLOT( updatePreview() ));
+ connect( buttonUp2, TQ_SIGNAL( clicked()), this, TQ_SLOT( moveUp() ));
+ connect( buttonDown2, TQ_SIGNAL( clicked()), this, TQ_SLOT( moveDown() ));
+ connect( buttonReplace, TQ_SIGNAL( clicked()), this, TQ_SLOT( replace() ));
+ connect( buttonEasyReplace, TQ_SIGNAL( clicked()), this, TQ_SLOT( replace() ));
+ connect( buttonCoord, TQ_SIGNAL( clicked()), this, TQ_SLOT( getCoordinates() ));
+ connect( comboSort, TQ_SIGNAL( activated(int)), fileList, TQ_SLOT( setSorting(int) ));
- connect( filename, TQT_SIGNAL( delayedTextChanged() ), this, TQT_SLOT( updatePreview() ));
- connect( extemplate, TQT_SIGNAL( delayedTextChanged() ), this, TQT_SLOT( updatePreview() ));
- connect( checkExtension, TQT_SIGNAL( clicked()), this, TQT_SLOT( updatePreview() ));
- connect( comboExtension, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( updatePreview() ));
- connect( checkPreview, TQT_SIGNAL( clicked()), this, TQT_SLOT( toggleImagePreview() ));
- connect( preview, TQT_SIGNAL( itemChanged() ), this, TQT_SLOT( updatePreview() ));
- connect( preview, TQT_SIGNAL( removeItem(int) ), this, TQT_SLOT( removeFile(int) ));
- connect( preview, TQT_SIGNAL( addFile() ), this, TQT_SLOT( addFile() ));
- connect( undorequester, TQT_SIGNAL( urlSelected(const TQString &)), this, TQT_SLOT( changeUndoScriptName() ));
- connect( kapp, TQT_SIGNAL( aboutToQuit() ), this, TQT_SLOT( saveConfig() ) );
- connect( buttonMove, TQT_SIGNAL( clicked()), fileList, TQT_SLOT( moveMode() ));
- connect( checkName, TQT_SIGNAL( clicked()), this, TQT_SLOT( toggleName() ));
- connect( buttonNumber, TQT_SIGNAL( clicked()), this, TQT_SLOT( changeNumbers() ));
+ connect( filename, TQ_SIGNAL( delayedTextChanged() ), this, TQ_SLOT( updatePreview() ));
+ connect( extemplate, TQ_SIGNAL( delayedTextChanged() ), this, TQ_SLOT( updatePreview() ));
+ connect( checkExtension, TQ_SIGNAL( clicked()), this, TQ_SLOT( updatePreview() ));
+ connect( comboExtension, TQ_SIGNAL( activated(int) ), this, TQ_SLOT( updatePreview() ));
+ connect( checkPreview, TQ_SIGNAL( clicked()), this, TQ_SLOT( toggleImagePreview() ));
+ connect( preview, TQ_SIGNAL( itemChanged() ), this, TQ_SLOT( updatePreview() ));
+ connect( preview, TQ_SIGNAL( removeItem(int) ), this, TQ_SLOT( removeFile(int) ));
+ connect( preview, TQ_SIGNAL( addFile() ), this, TQ_SLOT( addFile() ));
+ connect( undorequester, TQ_SIGNAL( urlSelected(const TQString &)), this, TQ_SLOT( changeUndoScriptName() ));
+ connect( kapp, TQ_SIGNAL( aboutToQuit() ), this, TQ_SLOT( saveConfig() ) );
+ connect( buttonMove, TQ_SIGNAL( clicked()), fileList, TQ_SLOT( moveMode() ));
+ connect( checkName, TQ_SIGNAL( clicked()), this, TQ_SLOT( toggleName() ));
+ connect( buttonNumber, TQ_SIGNAL( clicked()), this, TQ_SLOT( changeNumbers() ));
// Load Configuration
loadConfig();
@@ -287,7 +287,7 @@ void KRenameImpl::parseCommandline()
if( fileList->count() )
// start renaming
- TQTimer::singleShot( 200, this, TQT_SLOT( start() ) );
+ TQTimer::singleShot( 200, this, TQ_SLOT( start() ) );
}
}
@@ -300,23 +300,23 @@ void KRenameImpl::setupActions()
KHelpMenu* mnuHelp = new KHelpMenu( parent );
menuBar->insertItem( i18n("E&xtras"), mnuExtra );
- mnuExtra->insertItem( i18n("&Profiles..."), this, TQT_SLOT( manageProfiles() ) );
+ mnuExtra->insertItem( i18n("&Profiles..."), this, TQ_SLOT( manageProfiles() ) );
mnuExtra->insertSeparator();
- mnuExtra->insertItem( SmallIcon("edit-undo"), i18n("&Undo Old Renaming Action..."), this, TQT_SLOT( undo() ) );
+ mnuExtra->insertItem( SmallIcon("edit-undo"), i18n("&Undo Old Renaming Action..."), this, TQ_SLOT( undo() ) );
menuBar->insertItem( i18n("&Settings"), mnuSettings );
menuBar->insertSeparator();
menuBar->insertItem( i18n("&Help"), mnuHelp->menu() );
- TDEAction* prefAct = KStdAction::preferences( this, TQT_SLOT(preferences()), actionCollection );
- loadPlugins = new TDEAction( i18n("&Load TDE file plugins"), 0, this, TQT_SLOT( loadFilePlugins() ), actionCollection );
- TDEAction* reloadAct = new TDEAction( i18n("&Reload Plugin Data"), 0, this, TQT_SLOT( reloadFilePluginData() ), actionCollection );
+ TDEAction* prefAct = KStdAction::preferences( this, TQ_SLOT(preferences()), actionCollection );
+ loadPlugins = new TDEAction( i18n("&Load TDE file plugins"), 0, this, TQ_SLOT( loadFilePlugins() ), actionCollection );
+ TDEAction* reloadAct = new TDEAction( i18n("&Reload Plugin Data"), 0, this, TQ_SLOT( reloadFilePluginData() ), actionCollection );
prefAct->plug( mnuSettings );
mnuSettings->insertSeparator();
loadPlugins->plug( mnuSettings );
reloadAct->plug( mnuSettings );
- connect( mnuHelp, TQT_SIGNAL(showAboutApplication()), this, TQT_SLOT(about()));
+ connect( mnuHelp, TQ_SIGNAL(showAboutApplication()), this, TQ_SLOT(about()));
}
void KRenameImpl::setupPages()
@@ -721,16 +721,16 @@ void KRenameImpl::setupFileTab2()
enableControls();
- connect( comboPrefix, TQT_SIGNAL( textChanged( const TQString &)), this, TQT_SLOT( changed()));
- connect( comboSuffix, TQT_SIGNAL( textChanged( const TQString &)), this, TQT_SLOT( changed()));
- connect( comboKRenameFilename, TQT_SIGNAL( activated(int)), this, TQT_SLOT( changed()));
- connect( comboCustom, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( changed() ));
- connect( comboKRenamePrefix, TQT_SIGNAL(activated(int)), this, TQT_SLOT(changed()));
- connect( comboKRenameExtension, TQT_SIGNAL( activated(int)), this, TQT_SLOT( changed()));
- connect( comboCustomExtension, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( changed() ));
- connect( comboKRenameSuffix, TQT_SIGNAL(activated(int)), this, TQT_SLOT(changed()));
- connect( spinNull, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( changed() ));
- connect( spinStart, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( changed() ));
+ connect( comboPrefix, TQ_SIGNAL( textChanged( const TQString &)), this, TQ_SLOT( changed()));
+ connect( comboSuffix, TQ_SIGNAL( textChanged( const TQString &)), this, TQ_SLOT( changed()));
+ connect( comboKRenameFilename, TQ_SIGNAL( activated(int)), this, TQ_SLOT( changed()));
+ connect( comboCustom, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( changed() ));
+ connect( comboKRenamePrefix, TQ_SIGNAL(activated(int)), this, TQ_SLOT(changed()));
+ connect( comboKRenameExtension, TQ_SIGNAL( activated(int)), this, TQ_SLOT( changed()));
+ connect( comboCustomExtension, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( changed() ));
+ connect( comboKRenameSuffix, TQ_SIGNAL(activated(int)), this, TQ_SLOT(changed()));
+ connect( spinNull, TQ_SIGNAL( valueChanged(int) ), this, TQ_SLOT( changed() ));
+ connect( spinStart, TQ_SIGNAL( valueChanged(int) ), this, TQ_SLOT( changed() ));
buttonEasy1->setIconSet( SmallIcon("help") );
buttonEasy2->setIconSet( SmallIcon("help") );
@@ -744,10 +744,10 @@ void KRenameImpl::setupFileTab2()
const TQString easy_text( i18n("<qt>Insert a special KRename command which inserts file information into the filename.</qt>") );
- connect( buttonEasy1, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEasy1() ) );
- connect( buttonEasy2, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEasy2() ) );
- connect( buttonEasy3, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEasy3() ) );
- connect( buttonEasy4, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEasy4() ) );
+ connect( buttonEasy1, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEasy1() ) );
+ connect( buttonEasy2, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEasy2() ) );
+ connect( buttonEasy3, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEasy3() ) );
+ connect( buttonEasy4, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEasy4() ) );
TQToolTip::add( buttonEasy1, easy_text );
TQToolTip::add( buttonEasy2, easy_text );
@@ -899,8 +899,8 @@ void KRenameImpl::setupTab1()
gLayout = new TQVBoxLayout( g, 11, 6, "gLayout" );
(*it)->check = new TQCheckBox( i18n("&Use this plugin"), parent );
- connect( (*it)->check, TQT_SIGNAL( clicked() ), this, TQT_SLOT( pluginHelpChanged() ) );
- connect( (*it)->plugin, TQT_SIGNAL( previewChanged( Plugin* ) ), this, TQT_SLOT( updatePluginPreview( Plugin* ) ) );
+ connect( (*it)->check, TQ_SIGNAL( clicked() ), this, TQ_SLOT( pluginHelpChanged() ) );
+ connect( (*it)->plugin, TQ_SIGNAL( previewChanged( Plugin* ) ), this, TQ_SLOT( updatePluginPreview( Plugin* ) ) );
Layout->addWidget( (*it)->check );
(*it)->plugin->drawInterface( g, gLayout );
@@ -1641,7 +1641,7 @@ void KRenameImpl::changeParent( TQWidget* p, KMenuBar* m, TQPushButton* finish,
menuBar = m;
finishButton = finish;
- connect( finishButton, TQT_SIGNAL( clicked()), this, TQT_SLOT( start() ));
+ connect( finishButton, TQ_SIGNAL( clicked()), this, TQ_SLOT( start() ));
if( !r.isNull() ) {
parent->resize( r.size() );
diff --git a/krename/main.cpp b/krename/main.cpp
index 0be893c..13d6307 100644
--- a/krename/main.cpp
+++ b/krename/main.cpp
@@ -118,7 +118,7 @@ int main(int argc, char *argv[])
TDECmdLineArgs::addCmdLineOptions( options );
TDEApplication a;
- a.connect( &a, TQT_SIGNAL( lastWindowClosed() ), &a, TQT_SLOT( quit() ) );
+ a.connect( &a, TQ_SIGNAL( lastWindowClosed() ), &a, TQ_SLOT( quit() ) );
KImageIO::registerFormats();
diff --git a/krename/mydirplugin.cpp b/krename/mydirplugin.cpp
index 69ef254..ff9460b 100644
--- a/krename/mydirplugin.cpp
+++ b/krename/mydirplugin.cpp
@@ -120,7 +120,7 @@ void MyDirPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
l->addWidget( groupOutput );
l->addItem( spacer2 );
- connect( buttonDir, TQT_SIGNAL(clicked()), this, TQT_SLOT(chooseDir()));
+ connect( buttonDir, TQ_SIGNAL(clicked()), this, TQ_SLOT(chooseDir()));
}
void MyDirPlugin::fillStructure()
diff --git a/krename/myinputdialog.cpp b/krename/myinputdialog.cpp
index 8c9a272..038c3d9 100644
--- a/krename/myinputdialog.cpp
+++ b/krename/myinputdialog.cpp
@@ -67,10 +67,10 @@ MyInputDialog::MyInputDialog( TQString filename, bool revertEnabled, TQWidget* p
MyInputDialogLayout->addWidget( text );
MyInputDialogLayout->addLayout( Layout );
- connect( buttonCancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( reject() ) );
- connect( buttonOk, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
- connect( buttonKrename, TQT_SIGNAL( clicked() ), this, TQT_SLOT( krename() ) );
- connect( buttonFilename, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotFilename() ) );
+ connect( buttonCancel, TQ_SIGNAL( clicked() ), this, TQ_SLOT( reject() ) );
+ connect( buttonOk, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
+ connect( buttonKrename, TQ_SIGNAL( clicked() ), this, TQ_SLOT( krename() ) );
+ connect( buttonFilename, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotFilename() ) );
TQToolTip::add( buttonKrename, i18n("Use the filename that is generated by "
"KRename instead of your changes." ) );
diff --git a/krename/numberdialog.cpp b/krename/numberdialog.cpp
index 3e0fc8b..18a5585 100644
--- a/krename/numberdialog.cpp
+++ b/krename/numberdialog.cpp
@@ -108,9 +108,9 @@ NumberDialog::NumberDialog(TQValueList<int> & n,TQWidget *parent )
TQToolTip::add( checkResetCounter, i18n("<qt>The counter is set to the start index in every directory. "
"This setting applies to all used counters.</qt>" ) );
- connect( buttonAdd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( addNumber() ) );
- connect( buttonRemove,TQT_SIGNAL( clicked() ), this, TQT_SLOT( removeNumber() ) );
- connect( spinNumber, TQT_SIGNAL( returnPressed()), this, TQT_SLOT( addNumber() ) );
+ connect( buttonAdd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( addNumber() ) );
+ connect( buttonRemove,TQ_SIGNAL( clicked() ), this, TQ_SLOT( removeNumber() ) );
+ connect( spinNumber, TQ_SIGNAL( returnPressed()), this, TQ_SLOT( addNumber() ) );
for( unsigned int i = 0; i < n.count(); i++ )
listNumbers->insertItem( TQString("%1").arg(n[i]), -1 );
diff --git a/krename/permission.cpp b/krename/permission.cpp
index 2fb9c03..a80fbed 100644
--- a/krename/permission.cpp
+++ b/krename/permission.cpp
@@ -222,8 +222,8 @@ void MyPermPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
l->addWidget( groupOwner );
l->addItem( spacer10 );
- connect( checkOwner, TQT_SIGNAL(clicked()), this, TQT_SLOT(enableControls()) );
- connect( checkPermissions, TQT_SIGNAL(clicked()), this, TQT_SLOT(enableControls()) );
+ connect( checkOwner, TQ_SIGNAL(clicked()), this, TQ_SLOT(enableControls()) );
+ connect( checkPermissions, TQ_SIGNAL(clicked()), this, TQ_SLOT(enableControls()) );
}
void MyPermPlugin::fillStructure()
diff --git a/krename/profiledlg.cpp b/krename/profiledlg.cpp
index b92e985..54ea4a3 100644
--- a/krename/profiledlg.cpp
+++ b/krename/profiledlg.cpp
@@ -430,12 +430,12 @@ ProfileDlg::ProfileDlg(KRenameImpl* krename, TQWidget *parent, const char *name)
enableControls();
- connect( createProfile, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotCreateProfile() ) );
- connect( loadProfile, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotLoadProfile() ) );
- connect( deleteProfile, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotDeleteProfile() ) );
- connect( profiles, TQT_SIGNAL( selectionChanged () ), this, TQT_SLOT( enableControls() ) );
- connect( checkDefault, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotSetDefault() ) );
- connect( this, TQT_SIGNAL( hidden() ), this, TQT_SLOT( slotHidden() ) );
+ connect( createProfile, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotCreateProfile() ) );
+ connect( loadProfile, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotLoadProfile() ) );
+ connect( deleteProfile, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotDeleteProfile() ) );
+ connect( profiles, TQ_SIGNAL( selectionChanged () ), this, TQ_SLOT( enableControls() ) );
+ connect( checkDefault, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotSetDefault() ) );
+ connect( this, TQ_SIGNAL( hidden() ), this, TQ_SLOT( slotHidden() ) );
TDEConfig* conf = kapp->config();
conf->setGroup( "ProfilesHeader" );
diff --git a/krename/replacedialog.cpp b/krename/replacedialog.cpp
index b91d5e5..6a9d9ce 100644
--- a/krename/replacedialog.cpp
+++ b/krename/replacedialog.cpp
@@ -96,15 +96,15 @@ ReplaceDialog::ReplaceDialog( TQValueList<replacestrings> & r, TQWidget* parent
text1->setFocus();
- connect( buttonAdd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( add() ) );
- connect( buttonRemove, TQT_SIGNAL( clicked() ), this, TQT_SLOT( remove() ) );
- connect( list, TQT_SIGNAL( clicked( TQListViewItem* ) ), this, TQT_SLOT( enableControls() ) );
- connect( list, TQT_SIGNAL( doubleClicked( TQListViewItem* ) ), this, TQT_SLOT( slotEdit() ) );
- connect( text2, TQT_SIGNAL( returnPressed() ), this, TQT_SLOT( add() ) );
- connect( text1, TQT_SIGNAL( returnPressed() ), this, TQT_SLOT( moveFocus() ) );
- connect( buttonRegEdit, TQT_SIGNAL( clicked() ), this, TQT_SLOT( invokeRegEdit() ) );
- connect( checkReg, TQT_SIGNAL( clicked() ), this, TQT_SLOT( enableControls() ) );
- connect( buttonEdit, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEdit() ) );
+ connect( buttonAdd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( add() ) );
+ connect( buttonRemove, TQ_SIGNAL( clicked() ), this, TQ_SLOT( remove() ) );
+ connect( list, TQ_SIGNAL( clicked( TQListViewItem* ) ), this, TQ_SLOT( enableControls() ) );
+ connect( list, TQ_SIGNAL( doubleClicked( TQListViewItem* ) ), this, TQ_SLOT( slotEdit() ) );
+ connect( text2, TQ_SIGNAL( returnPressed() ), this, TQ_SLOT( add() ) );
+ connect( text1, TQ_SIGNAL( returnPressed() ), this, TQ_SLOT( moveFocus() ) );
+ connect( buttonRegEdit, TQ_SIGNAL( clicked() ), this, TQ_SLOT( invokeRegEdit() ) );
+ connect( checkReg, TQ_SIGNAL( clicked() ), this, TQ_SLOT( enableControls() ) );
+ connect( buttonEdit, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEdit() ) );
for( unsigned int i = 0; i < r.count(); i++ ) {
replacestrings rs = r[i];
diff --git a/krename/tabs.cpp b/krename/tabs.cpp
index 2cfbf3d..2cd78ff 100644
--- a/krename/tabs.cpp
+++ b/krename/tabs.cpp
@@ -60,14 +60,14 @@ tabs::tabs(KRenameImpl* impl, TQRect r, TQWidget *parent, const char *name )
menuBar = new KMenuBar( this );
layout->setMenuBar( menuBar );
- connect( cancelButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( close() ) );
+ connect( cancelButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( close() ) );
krename = impl ? impl : new KRenameImpl( this, menuBar, finishButton );
- connect( krename, TQT_SIGNAL( pageDone( TQWidget*, const TQString & ) ), this, TQT_SLOT( slotAddPage( TQWidget*, const TQString & ) ) );
- connect( krename, TQT_SIGNAL( showPage( int ) ), this, TQT_SLOT( slotShowPage( int ) ) );
- connect( krename, TQT_SIGNAL( enableFinish( bool ) ), this, TQT_SLOT( slotEnableFinish( bool ) ) );
- connect( tab, TQT_SIGNAL( currentChanged( TQWidget* ) ), this, TQT_SLOT( slotTabChanged() ) );
+ connect( krename, TQ_SIGNAL( pageDone( TQWidget*, const TQString & ) ), this, TQ_SLOT( slotAddPage( TQWidget*, const TQString & ) ) );
+ connect( krename, TQ_SIGNAL( showPage( int ) ), this, TQ_SLOT( slotShowPage( int ) ) );
+ connect( krename, TQ_SIGNAL( enableFinish( bool ) ), this, TQ_SLOT( slotEnableFinish( bool ) ) );
+ connect( tab, TQ_SIGNAL( currentChanged( TQWidget* ) ), this, TQ_SLOT( slotTabChanged() ) );
if( impl )
{
diff --git a/krename/threadedlister.cpp b/krename/threadedlister.cpp
index f4f81ad..c5dd01a 100644
--- a/krename/threadedlister.cpp
+++ b/krename/threadedlister.cpp
@@ -67,7 +67,7 @@ void ThreadedLister::run()
m_reclister->setNameFilter( m_filter );
m_reclister->setDirOnlyMode( m_dironly );
- connect( m_reclister, TQT_SIGNAL( completed() ), this, TQT_SLOT( reclisterFinished() ) );
+ connect( m_reclister, TQ_SIGNAL( completed() ), this, TQ_SLOT( reclisterFinished() ) );
m_reclister->openURL( m_dirname );
} else {
@@ -77,7 +77,7 @@ void ThreadedLister::run()
m_lister->setShowingDotFiles( m_hidden );
m_lister->setNameFilter( m_filter );
- connect( m_lister, TQT_SIGNAL( completed() ), this, TQT_SLOT( listerFinished() ) );
+ connect( m_lister, TQ_SIGNAL( completed() ), this, TQ_SLOT( listerFinished() ) );
m_lister->openURL( m_dirname, false, false );
}
diff --git a/krename/undodialog.cpp b/krename/undodialog.cpp
index 7930407..7241c5a 100644
--- a/krename/undodialog.cpp
+++ b/krename/undodialog.cpp
@@ -59,8 +59,8 @@ UndoDialog::UndoDialog( TQWidget* parent )
setButtonText( KDialogBase::User1, i18n( "&Start" ) );
- connect( this, TQT_SIGNAL( user1Clicked() ), this, TQT_SLOT( start() ) );
- connect( scriptname, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( enableControls() ) );
+ connect( this, TQ_SIGNAL( user1Clicked() ), this, TQ_SLOT( start() ) );
+ connect( scriptname, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( enableControls() ) );
enableControls();
}
@@ -89,9 +89,9 @@ void UndoDialog::start()
return;
}
proc->resume();
- connect( proc, TQT_SIGNAL( receivedStdout( TDEProcess*, char*, int) ), this, TQT_SLOT( receive( TDEProcess*, char*, int ) ) );
- connect( proc, TQT_SIGNAL( receivedStderr( TDEProcess*, char*, int) ), this, TQT_SLOT( receiveErr( TDEProcess*, char*, int ) ) );
- connect( proc, TQT_SIGNAL( processExited( TDEProcess* ) ), this, TQT_SLOT( finished( TDEProcess* ) ) );
+ connect( proc, TQ_SIGNAL( receivedStdout( TDEProcess*, char*, int) ), this, TQ_SLOT( receive( TDEProcess*, char*, int ) ) );
+ connect( proc, TQ_SIGNAL( receivedStderr( TDEProcess*, char*, int) ), this, TQ_SLOT( receiveErr( TDEProcess*, char*, int ) ) );
+ connect( proc, TQ_SIGNAL( processExited( TDEProcess* ) ), this, TQ_SLOT( finished( TDEProcess* ) ) );
}
void UndoDialog::receive( TDEProcess*, char* buffer, int len )
diff --git a/krename/wizard.cpp b/krename/wizard.cpp
index 9796de4..28ae14e 100644
--- a/krename/wizard.cpp
+++ b/krename/wizard.cpp
@@ -42,9 +42,9 @@ wizard::wizard( KRenameImpl* impl, TQRect r, TQWidget* parent, const char* name
krename = impl ? impl : new KRenameImpl( this, menuBar, this->finishButton() );
- connect( krename, TQT_SIGNAL( pageDone( TQWidget*, const TQString & ) ), this, TQT_SLOT( slotAddPage( TQWidget*, const TQString & ) ) );
- connect( krename, TQT_SIGNAL( showPage( int ) ), this, TQT_SLOT( slotShowPage( int ) ) );
- connect( krename, TQT_SIGNAL( enableFinish( bool ) ), this, TQT_SLOT( slotEnableFinish( bool ) ) );
+ connect( krename, TQ_SIGNAL( pageDone( TQWidget*, const TQString & ) ), this, TQ_SLOT( slotAddPage( TQWidget*, const TQString & ) ) );
+ connect( krename, TQ_SIGNAL( showPage( int ) ), this, TQ_SLOT( slotShowPage( int ) ) );
+ connect( krename, TQ_SIGNAL( enableFinish( bool ) ), this, TQ_SLOT( slotEnableFinish( bool ) ) );
if( impl )
{