summaryrefslogtreecommitdiffstats
path: root/ark/arkwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ark/arkwidget.cpp')
-rw-r--r--ark/arkwidget.cpp170
1 files changed, 85 insertions, 85 deletions
diff --git a/ark/arkwidget.cpp b/ark/arkwidget.cpp
index 6a6c091..e3b4549 100644
--- a/ark/arkwidget.cpp
+++ b/ark/arkwidget.cpp
@@ -299,7 +299,7 @@ ArkWidget::convertTo( const KURL & u )
busy( i18n( "Saving..." ) );
m_convert_tmpDir = new KTempDir( tmpDir() + "convtmp" );
m_convert_tmpDir->setAutoDelete( true );
- connect( arch, TQT_SIGNAL( sigExtract( bool ) ), this, TQT_SLOT( convertSlotExtractDone( bool ) ) );
+ connect( arch, TQ_SIGNAL( sigExtract( bool ) ), this, TQ_SLOT( convertSlotExtractDone( bool ) ) );
m_convert_saveAsURL = u;
arch->unarchFile( 0, m_convert_tmpDir->name() );
}
@@ -308,15 +308,15 @@ void
ArkWidget::convertSlotExtractDone( bool )
{
kdDebug( 1601 ) << k_funcinfo << endl;
- disconnect( arch, TQT_SIGNAL( sigExtract( bool ) ), this, TQT_SLOT( convertSlotExtractDone( bool ) ) );
- TQTimer::singleShot( 0, this, TQT_SLOT( convertSlotCreate() ) );
+ disconnect( arch, TQ_SIGNAL( sigExtract( bool ) ), this, TQ_SLOT( convertSlotExtractDone( bool ) ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( convertSlotCreate() ) );
}
void
ArkWidget::convertSlotCreate()
{
file_close();
- connect( this, TQT_SIGNAL( createDone( bool ) ), this, TQT_SLOT( convertSlotCreateDone( bool ) ) );
+ connect( this, TQ_SIGNAL( createDone( bool ) ), this, TQ_SLOT( convertSlotCreateDone( bool ) ) );
TQString archToCreate;
if ( m_convert_saveAsURL.isLocalFile() )
archToCreate = m_convert_saveAsURL.path();
@@ -330,7 +330,7 @@ ArkWidget::convertSlotCreate()
void
ArkWidget::convertSlotCreateDone( bool success )
{
- disconnect( this, TQT_SIGNAL( createDone( bool ) ), this, TQT_SLOT( convertSlotCreateDone( bool ) ) );
+ disconnect( this, TQ_SIGNAL( createDone( bool ) ), this, TQ_SLOT( convertSlotCreateDone( bool ) ) );
kdDebug( 1601 ) << k_funcinfo << endl;
if ( !success )
{
@@ -357,7 +357,7 @@ ArkWidget::convertSlotCreateDone( bool success )
*it = TQString::fromLatin1( "file:" )+ m_convert_tmpDir->name() + *it;
}
bool bOldRecVal = ArkSettings::rarRecurseSubdirs();
- connect( arch, TQT_SIGNAL( sigAdd( bool ) ), this, TQT_SLOT( convertSlotAddDone( bool ) ) );
+ connect( arch, TQ_SIGNAL( sigAdd( bool ) ), this, TQ_SLOT( convertSlotAddDone( bool ) ) );
arch->addFile( entries );
ArkSettings::setRarRecurseSubdirs( bOldRecVal );
}
@@ -365,11 +365,11 @@ ArkWidget::convertSlotCreateDone( bool success )
void
ArkWidget::convertSlotAddDone( bool success )
{
- disconnect( arch, TQT_SIGNAL( sigAdd( bool ) ), this, TQT_SLOT( convertSlotAddDone( bool ) ) );
+ disconnect( arch, TQ_SIGNAL( sigAdd( bool ) ), this, TQ_SLOT( convertSlotAddDone( bool ) ) );
kdDebug( 1601 ) << k_funcinfo << endl;
m_convertSuccess = success;
// needed ? (TarArch, lzo)
- TQTimer::singleShot( 0, this, TQT_SLOT( convertFinish() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( convertFinish() ) );
}
void
@@ -438,7 +438,7 @@ ArkWidget::extractTo( const KURL & targetDirectory, const KURL & archive, bool b
}
}
- connect( this, TQT_SIGNAL( openDone( bool ) ), this, TQT_SLOT( extractToSlotOpenDone( bool ) ) );
+ connect( this, TQ_SIGNAL( openDone( bool ) ), this, TQ_SLOT( extractToSlotOpenDone( bool ) ) );
}
const TQString
@@ -464,7 +464,7 @@ ArkWidget::guessName( const KURL &archive )
void
ArkWidget::extractToSlotOpenDone( bool success )
{
- disconnect( this, TQT_SIGNAL( openDone( bool ) ), this, TQT_SLOT( extractToSlotOpenDone( bool ) ) );
+ disconnect( this, TQ_SIGNAL( openDone( bool ) ), this, TQ_SLOT( extractToSlotOpenDone( bool ) ) );
if ( !success )
{
KMessageBox::error( this, i18n( "An error occurred while opening the archive %1." ).arg( m_url.prettyURL() ) );
@@ -508,7 +508,7 @@ ArkWidget::extractToSlotOpenDone( bool success )
if ( ArkUtils::diskHasSpace( extractDir, m_nSizeOfFiles ) )
{
disableAll();
- connect( arch, TQT_SIGNAL( sigExtract( bool ) ), this, TQT_SLOT( extractToSlotExtractDone( bool ) ) );
+ connect( arch, TQ_SIGNAL( sigExtract( bool ) ), this, TQ_SLOT( extractToSlotExtractDone( bool ) ) );
arch->unarchFile( 0, extractDir );
}
else
@@ -525,7 +525,7 @@ ArkWidget::extractToSlotOpenDone( bool success )
void
ArkWidget::extractToSlotExtractDone( bool success )
{
- disconnect( arch, TQT_SIGNAL( sigExtract( bool ) ), this, TQT_SLOT( extractToSlotExtractDone( bool ) ) );
+ disconnect( arch, TQ_SIGNAL( sigExtract( bool ) ), this, TQ_SLOT( extractToSlotExtractDone( bool ) ) );
if ( !success )
{
kdDebug( 1601 ) << "Last Shell Output" << arch->getLastShellOutput() << endl;
@@ -536,7 +536,7 @@ ArkWidget::extractToSlotExtractDone( bool success )
if ( m_extractRemote )
{
- connect( this, TQT_SIGNAL( extractRemoteMovingDone() ), this, TQT_SIGNAL( request_file_quit() ) );
+ connect( this, TQ_SIGNAL( extractRemoteMovingDone() ), this, TQ_SIGNAL( request_file_quit() ) );
extractRemoteInitiateMoving( m_extractTo_targetDirectory );
}
else
@@ -565,7 +565,7 @@ ArkWidget::addToArchive( const KURL::List & filesToAdd, const KURL & archive)
}
}
- connect( this, TQT_SIGNAL( createDone( bool ) ), this, TQT_SLOT( addToArchiveSlotCreateDone( bool ) ) );
+ connect( this, TQ_SIGNAL( createDone( bool ) ), this, TQ_SLOT( addToArchiveSlotCreateDone( bool ) ) );
// TODO: remote Archives should be handled by createArchive
if ( archive.isLocalFile() )
@@ -581,14 +581,14 @@ ArkWidget::addToArchive( const KURL::List & filesToAdd, const KURL & archive)
return true;
}
- connect( this, TQT_SIGNAL( openDone( bool ) ), this, TQT_SLOT( addToArchiveSlotOpenDone( bool ) ) );
+ connect( this, TQ_SIGNAL( openDone( bool ) ), this, TQ_SLOT( addToArchiveSlotOpenDone( bool ) ) );
return true;
}
void
ArkWidget::addToArchiveSlotCreateDone( bool success )
{
- disconnect( this, TQT_SIGNAL( createDone( bool ) ), this, TQT_SLOT( addToArchiveSlotCreateDone( bool ) ) );
+ disconnect( this, TQ_SIGNAL( createDone( bool ) ), this, TQ_SLOT( addToArchiveSlotCreateDone( bool ) ) );
if ( !success )
{
kdDebug( 1601 ) << "Could not create the archive" << endl;
@@ -602,7 +602,7 @@ void
ArkWidget::addToArchiveSlotOpenDone( bool success )
{
kdDebug( 1601 ) << k_funcinfo << endl;
- disconnect( this, TQT_SIGNAL( openDone( bool ) ), this, TQT_SLOT( addToArchiveSlotOpenDone( bool ) ) );
+ disconnect( this, TQ_SIGNAL( openDone( bool ) ), this, TQ_SLOT( addToArchiveSlotOpenDone( bool ) ) );
// TODO: handle dirs with addDir ( or better+easier: get rid of the need to do that entirely )
if ( !success )
{
@@ -617,7 +617,7 @@ ArkWidget::addToArchiveSlotOpenDone( bool success )
strFilename = url.path();
if (!strFilename.isEmpty())
{
- connect( this, TQT_SIGNAL( createRealArchiveDone( bool ) ), this, TQT_SLOT( addToArchiveSlotAddDone( bool ) ) );
+ connect( this, TQ_SIGNAL( createRealArchiveDone( bool ) ), this, TQ_SLOT( addToArchiveSlotAddDone( bool ) ) );
createRealArchive( strFilename, m_addToArchive_filesToAdd.toStringList() );
return;
}
@@ -662,7 +662,7 @@ ArkWidget::addToArchiveSlotOpenDone( bool success )
kdDebug( 1601 ) << "Adding: " << list << endl;
- connect( arch, TQT_SIGNAL( sigAdd( bool ) ), this, TQT_SLOT( addToArchiveSlotAddDone( bool ) ) );
+ connect( arch, TQ_SIGNAL( sigAdd( bool ) ), this, TQ_SLOT( addToArchiveSlotAddDone( bool ) ) );
arch->addFile( list.toStringList() );
}
@@ -670,7 +670,7 @@ void
ArkWidget::addToArchiveSlotAddDone( bool success )
{
kdDebug( 1601 ) << k_funcinfo << endl;
- disconnect( this, TQT_SLOT( addToArchiveSlotAddDone( bool ) ) );
+ disconnect( this, TQ_SLOT( addToArchiveSlotAddDone( bool ) ) );
if ( !success )
{
KMessageBox::error( this, i18n( "An error occurred while adding the files to the archive." ) );
@@ -861,8 +861,8 @@ ArkWidget::extractOnlyOpenDone()
void
ArkWidget::slotExtractDone(bool success)
{
- disconnect( arch, TQT_SIGNAL( sigExtract( bool ) ),
- this, TQT_SLOT( slotExtractDone(bool) ) );
+ disconnect( arch, TQ_SIGNAL( sigExtract( bool ) ),
+ this, TQ_SLOT( slotExtractDone(bool) ) );
ready();
if(m_extractList != 0)
@@ -919,8 +919,8 @@ ArkWidget::extractRemoteInitiateMoving( const KURL & target )
m_extractURL.adjustPath( 1 );
TDEIO::CopyJob *job = TDEIO::copy( srcList, target, this );
- connect( job, TQT_SIGNAL(result(TDEIO::Job*)),
- this, TQT_SLOT(slotExtractRemoteDone(TDEIO::Job*)) );
+ connect( job, TQ_SIGNAL(result(TDEIO::Job*)),
+ this, TQ_SLOT(slotExtractRemoteDone(TDEIO::Job*)) );
m_extractRemote = false;
}
@@ -1010,8 +1010,8 @@ ArkWidget::createRealArchive( const TQString & strFilename, const TQStringList &
u2.setPath( m_createRealArchTmpDir->name() + u1.fileName() );
TDEIO::NetAccess::copy( u1, u2, this );
m_compressedFile = "file:" + u2.path(); // AGAIN THE 5 SPACES Hack :-(
- connect( newArch, TQT_SIGNAL( sigCreate( Arch *, bool, const TQString &, int ) ),
- this, TQT_SLOT( createRealArchiveSlotCreate( Arch *, bool,
+ connect( newArch, TQ_SIGNAL( sigCreate( Arch *, bool, const TQString &, int ) ),
+ this, TQ_SLOT( createRealArchiveSlotCreate( Arch *, bool,
const TQString &, int ) ) );
file_close();
newArch->create();
@@ -1030,8 +1030,8 @@ ArkWidget::createRealArchiveSlotCreate( Arch * newArch, bool success,
listForCompressedFile.append(m_compressedFile);
disableAll();
- connect( newArch, TQT_SIGNAL( sigAdd( bool ) ), this,
- TQT_SLOT( createRealArchiveSlotAddDone( bool ) ) );
+ connect( newArch, TQ_SIGNAL( sigAdd( bool ) ), this,
+ TQ_SLOT( createRealArchiveSlotAddDone( bool ) ) );
newArch->addFile(listForCompressedFile);
}
@@ -1040,8 +1040,8 @@ void
ArkWidget::createRealArchiveSlotAddDone( bool success )
{
kdDebug( 1601 ) << "createRealArchiveSlotAddDone+, success:" << success << endl;
- disconnect( arch, TQT_SIGNAL( sigAdd( bool ) ), this,
- TQT_SLOT( createRealArchiveSlotAddDone( bool ) ) );
+ disconnect( arch, TQ_SIGNAL( sigAdd( bool ) ), this,
+ TQ_SLOT( createRealArchiveSlotAddDone( bool ) ) );
m_createRealArchTmpDir->unlink();
delete m_createRealArchTmpDir;
@@ -1061,8 +1061,8 @@ ArkWidget::createRealArchiveSlotAddDone( bool success )
}
else
{
- connect( arch, TQT_SIGNAL( sigAdd( bool ) ), this,
- TQT_SLOT( createRealArchiveSlotAddFilesDone( bool ) ) );
+ connect( arch, TQ_SIGNAL( sigAdd( bool ) ), this,
+ TQ_SLOT( createRealArchiveSlotAddFilesDone( bool ) ) );
// files were dropped in
addFile( m_pTempAddList );
}
@@ -1072,8 +1072,8 @@ void
ArkWidget::createRealArchiveSlotAddFilesDone( bool success )
{
//kdDebug( 1601 ) << "createRealArchiveSlotAddFilesDone+, success:" << success << endl;
- disconnect( arch, TQT_SIGNAL( sigAdd( bool ) ), this,
- TQT_SLOT( createRealArchiveSlotAddFilesDone( bool ) ) );
+ disconnect( arch, TQ_SIGNAL( sigAdd( bool ) ), this,
+ TQ_SLOT( createRealArchiveSlotAddFilesDone( bool ) ) );
delete m_pTempAddList;
m_pTempAddList = NULL;
emit createRealArchiveDone( success );
@@ -1150,7 +1150,7 @@ ArkWidget::addFile(TQStringList *list)
}
- connect( arch, TQT_SIGNAL( sigAdd( bool ) ), this, TQT_SLOT( slotAddDone( bool ) ) );
+ connect( arch, TQ_SIGNAL( sigAdd( bool ) ), this, TQ_SLOT( slotAddDone( bool ) ) );
arch->addFile( ( *list ) );
}
@@ -1167,7 +1167,7 @@ ArkWidget::action_add_dir()
busy( i18n( "Adding folder..." ) );
disableAll();
u = toLocalFile(u);
- connect( arch, TQT_SIGNAL( sigAdd( bool ) ), this, TQT_SLOT( slotAddDone( bool ) ) );
+ connect( arch, TQ_SIGNAL( sigAdd( bool ) ), this, TQ_SLOT( slotAddDone( bool ) ) );
arch->addDir( u.prettyURL() );
}
@@ -1176,7 +1176,7 @@ ArkWidget::action_add_dir()
void
ArkWidget::slotAddDone(bool _bSuccess)
{
- disconnect( arch, TQT_SIGNAL( sigAdd( bool ) ), this, TQT_SLOT( slotAddDone( bool ) ) );
+ disconnect( arch, TQ_SIGNAL( sigAdd( bool ) ), this, TQ_SLOT( slotAddDone( bool ) ) );
m_fileListView->setUpdatesEnabled(true);
m_fileListView->triggerUpdate();
ready();
@@ -1280,7 +1280,7 @@ ArkWidget::action_delete()
disableAll();
busy( i18n( "Removing..." ) );
- connect( arch, TQT_SIGNAL( sigDelete( bool ) ), this, TQT_SLOT( slotDeleteDone( bool ) ) );
+ connect( arch, TQ_SIGNAL( sigDelete( bool ) ), this, TQ_SLOT( slotDeleteDone( bool ) ) );
arch->remove(&list);
kdDebug(1601) << "-ArkWidget::action_delete" << endl;
}
@@ -1288,7 +1288,7 @@ ArkWidget::action_delete()
void
ArkWidget::slotDeleteDone(bool _bSuccess)
{
- disconnect( arch, TQT_SIGNAL( sigDelete( bool ) ), this, TQT_SLOT( slotDeleteDone( bool ) ) );
+ disconnect( arch, TQ_SIGNAL( sigDelete( bool ) ), this, TQ_SLOT( slotDeleteDone( bool ) ) );
kdDebug(1601) << "+ArkWidget::slotDeleteDone" << endl;
m_fileListView->setUpdatesEnabled(true);
m_fileListView->triggerUpdate();
@@ -1310,8 +1310,8 @@ ArkWidget::slotDeleteDone(bool _bSuccess)
void
ArkWidget::slotOpenWith()
{
- connect( arch, TQT_SIGNAL( sigExtract( bool ) ), this,
- TQT_SLOT( openWithSlotExtractDone( bool ) ) );
+ connect( arch, TQ_SIGNAL( sigExtract( bool ) ), this,
+ TQ_SLOT( openWithSlotExtractDone( bool ) ) );
showCurrentFile();
}
@@ -1319,8 +1319,8 @@ ArkWidget::slotOpenWith()
void
ArkWidget::openWithSlotExtractDone( bool success )
{
- disconnect( arch, TQT_SIGNAL( sigExtract( bool ) ), this,
- TQT_SLOT( openWithSlotExtractDone( bool ) ) );
+ disconnect( arch, TQ_SIGNAL( sigExtract( bool ) ), this,
+ TQ_SLOT( openWithSlotExtractDone( bool ) ) );
if ( success )
{
@@ -1524,7 +1524,7 @@ ArkWidget::action_extract()
{
disableAll();
busy( i18n( "Extracting..." ) );
- connect( arch, TQT_SIGNAL( sigExtract( bool ) ), this, TQT_SLOT( slotExtractDone(bool) ) );
+ connect( arch, TQ_SIGNAL( sigExtract( bool ) ), this, TQ_SLOT( slotExtractDone(bool) ) );
arch->unarchFile(0, extractDir);
}
}
@@ -1551,8 +1551,8 @@ ArkWidget::action_extract()
{
disableAll();
busy( i18n( "Extracting..." ) );
- connect( arch, TQT_SIGNAL( sigExtract( bool ) ),
- this, TQT_SLOT( slotExtractDone(bool) ) );
+ connect( arch, TQ_SIGNAL( sigExtract( bool ) ),
+ this, TQ_SLOT( slotExtractDone(bool) ) );
arch->unarchFile(m_extractList, extractDir); // extract selected files
}
}
@@ -1585,16 +1585,16 @@ ArkWidget::action_edit()
// [hmm, does that really make sense? I'll leave it for now.]
busy( i18n( "Extracting..." ) );
- connect( arch, TQT_SIGNAL( sigExtract( bool ) ), this,
- TQT_SLOT( editSlotExtractDone() ) );
+ connect( arch, TQ_SIGNAL( sigExtract( bool ) ), this,
+ TQ_SLOT( editSlotExtractDone() ) );
showCurrentFile();
}
void
ArkWidget::editSlotExtractDone()
{
- disconnect( arch, TQT_SIGNAL( sigExtract( bool ) ),
- this, TQT_SLOT( editSlotExtractDone() ) );
+ disconnect( arch, TQ_SIGNAL( sigExtract( bool ) ),
+ this, TQ_SLOT( editSlotExtractDone() ) );
ready();
editStart();
@@ -1619,8 +1619,8 @@ ArkWidget::editStart()
TDEProcess *kp = new TDEProcess;
*kp << l.text() << m_strFileToView;
- connect( kp, TQT_SIGNAL(processExited(TDEProcess *)),
- this, TQT_SLOT(slotEditFinished(TDEProcess *)) );
+ connect( kp, TQ_SIGNAL(processExited(TDEProcess *)),
+ this, TQ_SLOT(slotEditFinished(TDEProcess *)) );
if ( kp->start(TDEProcess::NotifyOnExit, TDEProcess::AllOutput) == false )
{
KMessageBox::error(0, i18n("Trouble editing the file..."));
@@ -1632,7 +1632,7 @@ void
ArkWidget::slotEditFinished(TDEProcess *kp)
{
kdDebug(1601) << "+ArkWidget::slotEditFinished" << endl;
- connect( arch, TQT_SIGNAL( sigAdd( bool ) ), this, TQT_SLOT( editSlotAddDone( bool ) ) );
+ connect( arch, TQ_SIGNAL( sigAdd( bool ) ), this, TQ_SLOT( editSlotAddDone( bool ) ) );
delete kp;
TQStringList list;
// now put the file back into the archive.
@@ -1673,15 +1673,15 @@ void
ArkWidget::editSlotAddDone( bool success )
{
ready();
- disconnect( arch, TQT_SIGNAL( sigAdd( bool ) ), this, TQT_SLOT( editSlotAddDone( bool ) ) );
+ disconnect( arch, TQ_SIGNAL( sigAdd( bool ) ), this, TQ_SLOT( editSlotAddDone( bool ) ) );
slotAddDone( success );
}
void
ArkWidget::action_view()
{
- connect( arch, TQT_SIGNAL( sigExtract( bool ) ), this,
- TQT_SLOT( viewSlotExtractDone( bool ) ) );
+ connect( arch, TQ_SIGNAL( sigExtract( bool ) ), this,
+ TQ_SLOT( viewSlotExtractDone( bool ) ) );
busy( i18n( "Extracting file to view" ) );
showCurrentFile();
}
@@ -1689,8 +1689,8 @@ ArkWidget::action_view()
void
ArkWidget::action_test()
{
- connect( arch, TQT_SIGNAL( sigTest( bool ) ), this,
- TQT_SLOT( slotTestDone( bool ) ) );
+ connect( arch, TQ_SIGNAL( sigTest( bool ) ), this,
+ TQ_SLOT( slotTestDone( bool ) ) );
busy( i18n( "Testing..." ) );
arch->test();
}
@@ -1698,8 +1698,8 @@ ArkWidget::action_test()
void
ArkWidget::slotTestDone(bool ok)
{
- disconnect( arch, TQT_SIGNAL( sigTest( bool ) ), this,
- TQT_SLOT( slotTestDone( bool ) ) );
+ disconnect( arch, TQ_SIGNAL( sigTest( bool ) ), this,
+ TQ_SLOT( slotTestDone( bool ) ) );
ready();
if( ok )
KMessageBox::information(0, i18n("Test successful."));
@@ -1732,8 +1732,8 @@ ArkWidget::viewSlotExtractDone( bool success )
}
}
- disconnect( arch, TQT_SIGNAL( sigExtract( bool ) ), this,
- TQT_SLOT( viewSlotExtractDone( bool ) ) );
+ disconnect( arch, TQ_SIGNAL( sigExtract( bool ) ), this,
+ TQ_SLOT( viewSlotExtractDone( bool ) ) );
delete m_viewList;
@@ -1996,15 +1996,15 @@ void
ArkWidget::startDrag( const TQStringList & fileList )
{
mDragFiles = fileList;
- connect( arch, TQT_SIGNAL( sigExtract( bool ) ), this, TQT_SLOT( startDragSlotExtractDone( bool ) ) );
+ connect( arch, TQ_SIGNAL( sigExtract( bool ) ), this, TQ_SLOT( startDragSlotExtractDone( bool ) ) );
prepareViewFiles( fileList );
}
void
ArkWidget::startDragSlotExtractDone( bool )
{
- disconnect( arch, TQT_SIGNAL( sigExtract( bool ) ),
- this, TQT_SLOT( startDragSlotExtractDone( bool ) ) );
+ disconnect( arch, TQ_SIGNAL( sigExtract( bool ) ),
+ this, TQ_SLOT( startDragSlotExtractDone( bool ) ) );
KURL::List list;
@@ -2036,16 +2036,16 @@ ArkWidget::createFileListView()
{
m_fileListView = new FileListView(this);
- connect( m_fileListView, TQT_SIGNAL( selectionChanged() ),
- this, TQT_SLOT( slotSelectionChanged() ) );
- connect( m_fileListView, TQT_SIGNAL( rightButtonPressed(TQListViewItem *, const TQPoint &, int) ),
- this, TQT_SLOT(doPopup(TQListViewItem *, const TQPoint &, int)));
- connect( m_fileListView, TQT_SIGNAL( startDragRequest( const TQStringList & ) ),
- this, TQT_SLOT( startDrag( const TQStringList & ) ) );
- connect( m_fileListView, TQT_SIGNAL( executed(TQListViewItem *, const TQPoint &, int ) ),
- this, TQT_SLOT( viewFile(TQListViewItem*) ) );
- connect( m_fileListView, TQT_SIGNAL( returnPressed(TQListViewItem * ) ),
- this, TQT_SLOT( viewFile(TQListViewItem*) ) );
+ connect( m_fileListView, TQ_SIGNAL( selectionChanged() ),
+ this, TQ_SLOT( slotSelectionChanged() ) );
+ connect( m_fileListView, TQ_SIGNAL( rightButtonPressed(TQListViewItem *, const TQPoint &, int) ),
+ this, TQ_SLOT(doPopup(TQListViewItem *, const TQPoint &, int)));
+ connect( m_fileListView, TQ_SIGNAL( startDragRequest( const TQStringList & ) ),
+ this, TQ_SLOT( startDrag( const TQStringList & ) ) );
+ connect( m_fileListView, TQ_SIGNAL( executed(TQListViewItem *, const TQPoint &, int ) ),
+ this, TQ_SLOT( viewFile(TQListViewItem*) ) );
+ connect( m_fileListView, TQ_SIGNAL( returnPressed(TQListViewItem * ) ),
+ this, TQ_SLOT( viewFile(TQListViewItem*) ) );
}
m_fileListView->clear();
}
@@ -2072,8 +2072,8 @@ Arch * ArkWidget::getNewArchive( const TQString & _fileName, const TQString& _mi
return NULL;
}
- connect( newArch, TQT_SIGNAL(headers(const ColumnList&)),
- m_fileListView, TQT_SLOT(setHeaders(const ColumnList&)));
+ connect( newArch, TQ_SIGNAL(headers(const ColumnList&)),
+ m_fileListView, TQ_SLOT(setHeaders(const ColumnList&)));
m_archType = archtype;
m_fileListView->setUpdatesEnabled(true);
@@ -2093,8 +2093,8 @@ ArkWidget::createArchive( const TQString & _filename )
return false;
busy( i18n( "Creating archive..." ) );
- connect( newArch, TQT_SIGNAL(sigCreate(Arch *, bool, const TQString &, int) ),
- this, TQT_SLOT(slotCreate(Arch *, bool, const TQString &, int) ) );
+ connect( newArch, TQ_SIGNAL(sigCreate(Arch *, bool, const TQString &, int) ),
+ this, TQ_SLOT(slotCreate(Arch *, bool, const TQString &, int) ) );
newArch->create();
return true;
@@ -2104,8 +2104,8 @@ void
ArkWidget::slotCreate(Arch * _newarch, bool _success, const TQString & _filename, int)
{
kdDebug( 1601 ) << k_funcinfo << endl;
- disconnect( _newarch, TQT_SIGNAL( sigCreate( Arch *, bool, const TQString &, int ) ),
- this, TQT_SLOT(slotCreate(Arch *, bool, const TQString &, int) ) );
+ disconnect( _newarch, TQ_SIGNAL( sigCreate( Arch *, bool, const TQString &, int ) ),
+ this, TQ_SLOT(slotCreate(Arch *, bool, const TQString &, int) ) );
ready();
if ( _success )
{
@@ -2187,10 +2187,10 @@ ArkWidget::openArchive( const TQString & _filename, const TQString & _password )
m_archType = archtype;
- connect( newArch, TQT_SIGNAL(sigOpen(Arch *, bool, const TQString &, int)),
- this, TQT_SLOT(slotOpen(Arch *, bool, const TQString &,int)) );
- connect( newArch, TQT_SIGNAL(headers(const ColumnList&)),
- m_fileListView, TQT_SLOT(setHeaders(const ColumnList&)));
+ connect( newArch, TQ_SIGNAL(sigOpen(Arch *, bool, const TQString &, int)),
+ this, TQ_SLOT(slotOpen(Arch *, bool, const TQString &,int)) );
+ connect( newArch, TQ_SIGNAL(headers(const ColumnList&)),
+ m_fileListView, TQ_SLOT(setHeaders(const ColumnList&)));
disableAll();