summaryrefslogtreecommitdiffabout
path: root/korganizer/publishdialog_base.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/publishdialog_base.cpp') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/publishdialog_base.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/korganizer/publishdialog_base.cpp b/korganizer/publishdialog_base.cpp
index 75e4746..683f7e9 100644
--- a/korganizer/publishdialog_base.cpp
+++ b/korganizer/publishdialog_base.cpp
@@ -65,98 +65,96 @@ PublishDialog_base::PublishDialog_base( QWidget* parent, const char* name, bool
PushButton12 = new QPushButton( this, "PushButton12" );
PublishDialog_baseLayout->addWidget( PushButton12, 2, 2 );
PushButton11 = new QPushButton( this, "PushButton11" );
PublishDialog_baseLayout->addWidget( PushButton11, 1, 2 );
QSpacerItem* spacer = new QSpacerItem( 20, 241, QSizePolicy::Minimum, QSizePolicy::Expanding );
PublishDialog_baseLayout->addMultiCell( spacer, 3, 5, 2, 2 );
Line2 = new QFrame( this, "Line2" );
Line2->setFrameShape( QFrame::HLine );
Line2->setFrameShadow( QFrame::Sunken );
Line2->setFrameShape( QFrame::HLine );
PublishDialog_baseLayout->addMultiCellWidget( Line2, 6, 6, 0, 2 );
layout95 = new QHBoxLayout( 0, 0, 6, "layout95");
QSpacerItem* spacer_2 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
layout95->addItem( spacer_2 );
PushButton9 = new QPushButton( this, "PushButton9" );
PushButton9->setDefault( TRUE );
layout95->addWidget( PushButton9 );
PushButton8 = new QPushButton( this, "PushButton8" );
layout95->addWidget( PushButton8 );
PublishDialog_baseLayout->addMultiCellLayout( layout95, 7, 7, 0, 2 );
languageChange();
resize( QSize(420, 379).expandedTo(minimumSizeHint()) );
// signals and slots connections
connect( PushButton10, SIGNAL( clicked() ), this, SLOT( addItem() ) );
connect( PushButton11, SIGNAL( clicked() ), this, SLOT( removeItem() ) );
connect( PushButton12, SIGNAL( clicked() ), this, SLOT( openAddressbook() ) );
connect( PushButton9, SIGNAL( clicked() ), this, SLOT( accept() ) );
connect( mNameLineEdit, SIGNAL( textChanged(const QString&) ), this, SLOT( updateItem() ) );
connect( mEmailLineEdit, SIGNAL( textChanged(const QString&) ), this, SLOT( updateItem() ) );
connect( PushButton8, SIGNAL( clicked() ), this, SLOT( reject() ) );
// tab order
setTabOrder( mAddressListView, mNameLineEdit );
setTabOrder( mNameLineEdit, mEmailLineEdit );
setTabOrder( mEmailLineEdit, PushButton10 );
setTabOrder( PushButton10, PushButton11 );
setTabOrder( PushButton11, PushButton12 );
setTabOrder( PushButton12, PushButton9 );
setTabOrder( PushButton9, PushButton8 );
}
/*
* Destroys the object and frees any allocated resources
*/
PublishDialog_base::~PublishDialog_base()
{
// no need to delete child widgets, Qt does it all for us
}
/*
* Sets the strings of the subwidgets using the current
* language.
*/
void PublishDialog_base::languageChange()
{
setCaption( tr2i18n( "Form1" ) );
mAddressListView->header()->setLabel( 0, tr2i18n( "Name" ) );
mAddressListView->header()->setLabel( 1, tr2i18n( "Email" ) );
TextLabel1->setText( tr2i18n( "Name:" ) );
TextLabel2->setText( tr2i18n( "Email:" ) );
PushButton10->setText( tr2i18n( "&New" ) );
PushButton12->setText( tr2i18n( "&Addressbook" ) );
PushButton11->setText( tr2i18n( "&Remove" ) );
PushButton9->setText( tr2i18n( "&OK" ) );
PushButton8->setText( tr2i18n( "&Cancel" ) );
}
void PublishDialog_base::addItem()
{
qWarning( "PublishDialog_base::addItem(): Not implemented yet" );
}
void PublishDialog_base::removeItem()
{
qWarning( "PublishDialog_base::removeItem(): Not implemented yet" );
}
void PublishDialog_base::openAddressbook()
{
qWarning( "PublishDialog_base::openAddressbook(): Not implemented yet" );
}
void PublishDialog_base::updateItem()
{
qWarning( "PublishDialog_base::updateItem(): Not implemented yet" );
}
-
-#include "publishdialog_base.moc"