// return ;
}
- /* view exists */
+ // view exists
WriteView* view = findWriteView(url);
if (view) {
if (view->body().length()) {
== KMessageBox::No) return;
}
- /* clear */
+ // clear
view->setMessage(resStr);
setCurrentWidget(view);
return ;
}
// TODO: refactoring.
- /* create new write view & add it to tab */
+ // create new write view & add it to tab
QString threadName;
- /* write res */
+ // write res
WriteView* new_dlg;
threadName = DatManager(url).threadName();
new_dlg = new WriteView(this, url);
int max = count();
if (max == 0) return ;
- /* disable all ok buttons. */
+ // disable all ok buttons.
for(int i=0; i < max ; i++) {
view = isWriteView(widget(i));
if (view) view->slotEnableWriting(false);
}
- /* show current url page. */
+ // show current url page.
view = findWriteView(url);
if (view) {
if (currentWidget() != view) setCurrentWidget(view);