~sachinr/xpad/xpad-qt

« back to all changes in this revision

Viewing changes to src/padwindow.cpp

  • Committer: Sachin Raut
  • Date: 2013-09-19 16:29:31 UTC
  • Revision ID: great.sachin@gmail.com-20130919162931-rkup975f66xjsgvr
pad saving with 0 based files
added persistency to pads.
changed icon and saved pads path.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
{
25
25
    pad = p;
26
26
}
 
27
void PadWindow::SetText(QString text)
 
28
{
 
29
    ui->textEdit->setText(text);
 
30
}
 
31
 
27
32
void PadWindow::closeEvent(QCloseEvent *e)
28
33
{
29
34
    pad->dataReceived(ui->textEdit->toPlainText());