[rkward-cvs] rkward/rkward/agents showedittextfileagent.cpp,1.2,1.3
Thomas Friedrichsmeier
tfry at users.sourceforge.net
Wed Sep 14 16:32:27 UTC 2005
- Previous message: [rkward-cvs] rkward/rkward/rbackend/rpackages/rkward DESCRIPTION,1.5,1.6
- Next message: [rkward-cvs] rkward/rkward/rbackend rembed.cpp,1.19,1.20 rembedinternal.cpp,1.18,1.19 rembedinternal.h,1.11,1.12 rinterface.cpp,1.25,1.26 rthread.cpp,1.16,1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/rkward/rkward/rkward/agents
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv667/rkward/agents
Modified Files:
showedittextfileagent.cpp
Log Message:
Implemented R_EditFile(s), R_ShowFiles, R_ChooseFile, R_Cleanup, R_Suicide.
Override for q () and quit () in R.
Make help (...)-calls open HTML-help in rkward-HTML-window (via DCOP).
Index: showedittextfileagent.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/agents/showedittextfileagent.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** showedittextfileagent.cpp 14 Sep 2005 12:06:01 -0000 1.2
--- showedittextfileagent.cpp 14 Sep 2005 16:32:25 -0000 1.3
***************
*** 104,108 ****
}
! ShowEditTextFileAgent* agent = new ShowEditTextFileAgent (args, message, caption);
}
--- 104,108 ----
}
! new ShowEditTextFileAgent (args, message, caption);
}
***************
*** 111,116 ****
delete dialog;
! // int_c in RShowFiles means files are to be deleted
! if ((args->type == RCallbackArgs::RShowFiles) && args->int_c) {
for (int n = 0; n < args->int_a; ++n) {
QFile (QString (args->chars_a[n])).remove ();
--- 111,116 ----
delete dialog;
! // int_b in RShowFiles means files are to be deleted
! if ((args->type == RCallbackArgs::RShowFiles) && args->int_b) {
for (int n = 0; n < args->int_a; ++n) {
QFile (QString (args->chars_a[n])).remove ();
***************
*** 118,122 ****
--- 118,125 ----
}
+ MUTEX_LOCK;
+ // this line is what causes the backend-thread to resume processing:
args->done = true;
+ MUTEX_UNLOCK;
deleteLater ();
- Previous message: [rkward-cvs] rkward/rkward/rbackend/rpackages/rkward DESCRIPTION,1.5,1.6
- Next message: [rkward-cvs] rkward/rkward/rbackend rembed.cpp,1.19,1.20 rembedinternal.cpp,1.18,1.19 rembedinternal.h,1.11,1.12 rinterface.cpp,1.25,1.26 rthread.cpp,1.16,1.17
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the rkward-tracker
mailing list