author | llornkcor <llornkcor> | 2002-03-28 02:18:16 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-03-28 02:18:16 (UTC) |
commit | a2cd4f6515e590ef2e818929843e2923b75beef5 (patch) (side-by-side diff) | |
tree | 918bcd4c46acd2c63ea7fa7ad40c212e1002e457 | |
parent | d360439051f476cd847c4d8cec27a52addcd72a2 (diff) | |
download | opie-a2cd4f6515e590ef2e818929843e2923b75beef5.zip opie-a2cd4f6515e590ef2e818929843e2923b75beef5.tar.gz opie-a2cd4f6515e590ef2e818929843e2923b75beef5.tar.bz2 |
wishy-washy on single vs double click
-rw-r--r-- | noncore/net/opieftp/opieftp.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp index 907a812..efcaf84 100644 --- a/noncore/net/opieftp/opieftp.cpp +++ b/noncore/net/opieftp/opieftp.cpp @@ -136,10 +136,12 @@ OpieFtp::OpieFtp( ) QPEApplication::setStylusOperation( Local_View->viewport(),QPEApplication::RightOnHold); tabLayout->addWidget( Local_View, 0, 0 ); - connect( Local_View, SIGNAL( doubleClicked( QListViewItem*)), + connect( Local_View, SIGNAL( clicked( QListViewItem*)), this,SLOT( localListClicked(QListViewItem *)) ); +// connect( Local_View, SIGNAL( doubleClicked( QListViewItem*)), +// this,SLOT( localListClicked(QListViewItem *)) ); connect( Local_View, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int)), this,SLOT( ListPressed(int, QListViewItem *, const QPoint&, int)) ); TabWidget->insertTab( tab, tr( "Local" ) ); @@ -161,9 +163,9 @@ OpieFtp::OpieFtp( ) Remote_View->setMultiSelection( TRUE ); QPEApplication::setStylusOperation( Remote_View->viewport(),QPEApplication::RightOnHold); - connect( Remote_View, SIGNAL( doubleClicked( QListViewItem*)), + connect( Remote_View, SIGNAL( clicked( QListViewItem*)), this,SLOT( remoteListClicked(QListViewItem *)) ); connect( Remote_View, SIGNAL( mouseButtonPressed( int, QListViewItem *, const QPoint&, int)), this,SLOT( RemoteListPressed(int, QListViewItem *, const QPoint&, int)) ); @@ -439,9 +441,9 @@ void OpieFtp::localUpload() QMessageBox::message(tr("Note"),tr("Cannot upload directories")); } ProgressBar->reset(); nullifyCallBack(); - it.current()->setSelected(FALSE); + it.current()->setSelected(FALSE); } //end currentSelected } TabWidget->setCurrentPage(1); remoteDirList( (const QString &)currentRemoteDir); //this also calls populate @@ -493,9 +495,9 @@ void OpieFtp::remoteDownload() QMessageBox::message(tr("Note"),msg); } ProgressBar->reset(); nullifyCallBack(); - it.current()->setSelected(FALSE); + it.current()->setSelected(FALSE); } } TabWidget->setCurrentPage(0); populateLocalView(); @@ -748,9 +750,9 @@ void OpieFtp::localListClicked(QListViewItem *selectedItem) } } else { strItem=QDir::cleanDirPath(currentDir.canonicalPath()+"/"+strItem); if( QFile::exists(strItem ) ) { - qDebug("upload "+strItem); + // qDebug("upload "+strItem); } } //end not symlink chdir(strItem.latin1()); } |