summaryrefslogtreecommitdiff
path: root/core/applets/vmemo/vmemo.cpp
Unidiff
Diffstat (limited to 'core/applets/vmemo/vmemo.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp
index cfa07b4..63ee0b8 100644
--- a/core/applets/vmemo/vmemo.cpp
+++ b/core/applets/vmemo/vmemo.cpp
@@ -29,2 +29,3 @@
29#include <errno.h> 29#include <errno.h>
30#include <qtimer.h>
30 31
@@ -204,2 +205,5 @@ VMemo::VMemo( QWidget *parent, const char *_name )
204 205
206 t_timer = new QTimer( this );
207 connect( t_timer, SIGNAL( timeout() ), SLOT( timerBreak() ) );
208
205 struct utsname name; /* check for embedix kernel running on the zaurus*/ 209 struct utsname name; /* check for embedix kernel running on the zaurus*/
@@ -455,2 +459,4 @@ void VMemo::record(void)
455 459
460 t_timer->start( 30 * 1000+1000, TRUE);
461
456 if(systemZaurus) { 462 if(systemZaurus) {
@@ -470,3 +476,2 @@ void VMemo::record(void)
470 476
471 // if(systemZaurus) {
472 for (int i = 0; i < result; i++) { //since Z is mono do normally 477 for (int i = 0; i < result; i++) { //since Z is mono do normally
@@ -613 +618,8 @@ int VMemo::setToggleButton(int tog) {
613} 618}
619
620void VMemo::timerBreak() {
621 //stop
622 recording=false;
623
624 QMessageBox::message("Vmemo","Vmemo recording has \ntimed out");
625}