-rw-r--r-- | noncore/settings/sysinfo/processinfo.cpp | 9 | ||||
-rw-r--r-- | noncore/settings/sysinfo/processinfo.h | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/noncore/settings/sysinfo/processinfo.cpp b/noncore/settings/sysinfo/processinfo.cpp index ad81d7b..0512141 100644 --- a/noncore/settings/sysinfo/processinfo.cpp +++ b/noncore/settings/sysinfo/processinfo.cpp @@ -19,2 +19,4 @@ +#include <qpe/qpeapplication.h> + #include <qheader.h> @@ -41,3 +43,5 @@ ProcessInfo::ProcessInfo( QWidget* parent, const char* name, WFlags fl ) ProcessView->setAllColumnsShowFocus( TRUE ); - connect( ProcessView, SIGNAL( doubleClicked(QListViewItem *) ), this, SLOT( viewProcess(QListViewItem *) ) ); + QPEApplication::setStylusOperation( ProcessView->viewport(), QPEApplication::RightOnHold ); + connect( ProcessView, SIGNAL( rightButtonPressed( QListViewItem *, const QPoint &, int ) ), + this, SLOT( viewProcess( QListViewItem * ) ) ); @@ -109,3 +113,3 @@ void ProcessInfo::updateData() -void ProcessInfo::viewProcess(QListViewItem *process) +void ProcessInfo::viewProcess( QListViewItem *process ) { @@ -127,3 +131,2 @@ void ProcessInfo::viewProcess(QListViewItem *process) } - ProcessDtl->showMaximized(); diff --git a/noncore/settings/sysinfo/processinfo.h b/noncore/settings/sysinfo/processinfo.h index 89d1a93..24b190e 100644 --- a/noncore/settings/sysinfo/processinfo.h +++ b/noncore/settings/sysinfo/processinfo.h @@ -36,3 +36,3 @@ private slots: void updateData(); - void viewProcess(QListViewItem *); + void viewProcess( QListViewItem * ); |