Back to index

scribus-ng  1.3.4.dfsg+svn20071115
tabscrapbook.cpp
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #include <qcheckbox.h>
00008 #include <qspinbox.h>
00009 
00010 #include "tabscrapbook.h"
00011 #include "tabscrapbook.moc"
00012 
00013 TabScrapbook::TabScrapbook(QWidget* parent, const char* name)
00014        : TabScrapbookBase(parent, name, 0)
00015 {
00016 }
00017 
00018 void TabScrapbook::restoreDefaults(struct ApplicationPrefs *prefsData)
00019 {
00020        useScrapBookasExtension->setChecked(prefsData->doCopyToScrapbook);
00021        persistentScrapbook->setChecked(prefsData->persistentScrapbook);
00022        numScrapCopies->setValue(prefsData->numScrapbookCopies);
00023 }