#include "simapi.h" /**************************************************************************** ** Form implementation generated from reading ui file './forwardcfgbase.ui' ** ** Created: Вск Мар 4 15:40:45 2007 ** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.7 edited Aug 31 2005 $) ** ** WARNING! All changes made in this file will be lost! ****************************************************************************/ #include "forwardcfgbase.h" #include #include #include #include #include #include #include #include /* * Constructs a ForwardConfigBase as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ ForwardConfigBase::ForwardConfigBase( QWidget* parent, const char* name, WFlags fl ) : QWidget( parent, name, fl ) { if ( !name ) setName( "ForwardCfg" ); ForwardCfgLayout = new QVBoxLayout( this, 11, 6, "ForwardCfgLayout"); TextLabel3_2 = new QLabel( this, "TextLabel3_2" ); TextLabel3_2->setProperty( "alignment", int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) ); ForwardCfgLayout->addWidget( TextLabel3_2 ); cmbPhone = new QComboBox( FALSE, this, "cmbPhone" ); ForwardCfgLayout->addWidget( cmbPhone ); TextLabel4_2 = new QLabel( this, "TextLabel4_2" ); TextLabel4_2->setProperty( "alignment", int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) ); ForwardCfgLayout->addWidget( TextLabel4_2 ); chkFirst = new QCheckBox( this, "chkFirst" ); ForwardCfgLayout->addWidget( chkFirst ); chkTranslit = new QCheckBox( this, "chkTranslit" ); ForwardCfgLayout->addWidget( chkTranslit ); Spacer3 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); ForwardCfgLayout->addItem( Spacer3 ); languageChange(); resize( QSize(352, 215).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } /* * Destroys the object and frees any allocated resources */ ForwardConfigBase::~ForwardConfigBase() { // no need to delete child widgets, Qt does it all for us } /* * Sets the strings of the subwidgets using the current * language. */ void ForwardConfigBase::languageChange() { setProperty( "caption", i18n( "Form1" ) ); TextLabel3_2->setProperty( "text", i18n( "Send all messages in status \"Away\" and \"N/A\" on the cellular:" ) ); TextLabel4_2->setProperty( "text", i18n( "For the answer or sending of the new message you can answer on SMS having specified in the beginning of the message a line:\n" ":" ) ); chkFirst->setProperty( "text", i18n( "Send only &one message (don't split)" ) ); chkTranslit->setProperty( "text", i18n( "Send in &translit" ) ); } #include "forwardcfgbase.moc"