20#include "cupsdsplash.h" 
   26#include <tdestandarddirs.h> 
   28CupsdSplash::CupsdSplash(TQWidget *parent, 
const char *name)
 
   29    : CupsdPage(parent, name)
 
   31    setHeader(i18n(
"Welcome to the CUPS Server Configuration Tool"));
 
   32    setPageLabel(i18n(
"Welcome"));
 
   35    TQVBoxLayout    *main_ = 
new TQVBoxLayout(
this, 10, 10);
 
   36    TQHBoxLayout    *sub_ = 
new TQHBoxLayout(0, 0, 10);
 
   37    main_->addLayout(sub_);
 
   39    TQLabel *cupslogo_ = 
new TQLabel(
this);
 
   40    TQString    logopath = locate(
"data", TQString(
"tdeprint/cups_logo.png"));
 
   41    cupslogo_->setPixmap(logopath.isEmpty() ? TQPixmap() : TQPixmap(logopath));
 
   42    cupslogo_->setAlignment(TQt::AlignCenter);
 
   43    TQLabel *kupslogo_ = 
new TQLabel(
this);
 
   44    logopath = locate(
"data", TQString(
"tdeprint/kde_logo.png"));
 
   45    kupslogo_->setPixmap(logopath.isEmpty() ? TQPixmap() : TQPixmap(logopath));
 
   46    kupslogo_->setAlignment(TQt::AlignCenter);
 
   48    TQLabel *helptxt_ = 
new TQLabel(
this);
 
   49    helptxt_->setText(i18n( 
"<p>This tool will help you to configure graphically the server of the CUPS printing system. " 
   50                "The available options are grouped into sets of related topics and can be accessed " 
   51                "quickly through the icon view located on the left. Each option has a default value that is " 
   52                "shown if it has not been previously set. This default value should be OK in most cases.</p><br>" 
   53                "<p>You can access a short help message for each option using either the '?' button in the " 
   54                "the title bar, or the button at the bottom of this dialog.</p>"));
 
   56    sub_->addWidget(cupslogo_);
 
   57    sub_->addWidget(kupslogo_);
 
   58    main_->addWidget(helptxt_, 1);
 
   61CupsdSplash::~CupsdSplash()
 
   65bool CupsdSplash::loadConfig(CupsdConf*, TQString&)
 
   70bool CupsdSplash::saveConfig(CupsdConf*, TQString&)