~ubuntu-branches/ubuntu/maverick/scribus-ng/maverick-backports

« back to all changes in this revision

Viewing changes to scribus/tabscrapbook.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Oleksandr Moskalenko
  • Date: 2007-08-11 17:41:51 UTC
  • mfrom: (0.1.1 upstream) (4.1.2 feisty)
  • Revision ID: james.westby@ubuntu.com-20070811174151-tmkgjvjuc0mtk8ul
Tags: 1.3.4.dfsg+svn20071115-1
* Upstream svn update (Closes: #447480, #448949).
* debian/NEWS: Added a note for users wanting stable Scribus to switch to
  the "scribus" package (Closes: #427638).
* debian/watch: Updated the watch regex to properly track sourceforge
  releases for this branch (Closes: #449700).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
For general Scribus (>=1.3.2) copyright and licensing information please refer
 
3
to the COPYING file provided with the program. Following this notice may exist
 
4
a copyright and/or license notice that predates the release of Scribus 1.3.2
 
5
for which a new license (GPL+exception) is in place.
 
6
*/
 
7
#include <qcheckbox.h>
 
8
#include <qspinbox.h>
 
9
 
 
10
#include "tabscrapbook.h"
 
11
#include "tabscrapbook.moc"
 
12
 
 
13
TabScrapbook::TabScrapbook(QWidget* parent, const char* name)
 
14
        : TabScrapbookBase(parent, name, 0)
 
15
{
 
16
}
 
17
 
 
18
void TabScrapbook::restoreDefaults(struct ApplicationPrefs *prefsData)
 
19
{
 
20
        useScrapBookasExtension->setChecked(prefsData->doCopyToScrapbook);
 
21
        persistentScrapbook->setChecked(prefsData->persistentScrapbook);
 
22
        numScrapCopies->setValue(prefsData->numScrapbookCopies);
 
23
}