author | zautrix <zautrix> | 2005-06-11 08:29:27 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-11 08:29:27 (UTC) |
commit | e0440717ce166afc312eba1c14d39e2bca813dfe (patch) (side-by-side diff) | |
tree | 18f5fd15404c67e490b3f88a5a9d84c5ebdce4ea /korganizer | |
parent | ad60ed0d2434b2e67f469962e0aab3b3171f7d56 (diff) | |
download | kdepimpi-e0440717ce166afc312eba1c14d39e2bca813dfe.zip kdepimpi-e0440717ce166afc312eba1c14d39e2bca813dfe.tar.gz kdepimpi-e0440717ce166afc312eba1c14d39e2bca813dfe.tar.bz2 |
icons
-rw-r--r-- | korganizer/kofilterview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/kofilterview.cpp b/korganizer/kofilterview.cpp index e379abc..1bfe4dd 100644 --- a/korganizer/kofilterview.cpp +++ b/korganizer/kofilterview.cpp @@ -87,90 +87,90 @@ void KOFilterView::setSelectedFilter(QString filterName) if (mSelectionCombo->text(i)==filterName) mSelectionCombo->setCurrentItem(i); } emit filterChanged(); } void KOFilterView::setSelectedFilter( int fil ) { if ( fil >= mSelectionCombo->count() ) return; mSelectionCombo->setCurrentItem( fil ); emit filterChanged(); } KOCalEditView::KOCalEditView(QWidget* parent, const char* name ) : QWidget(parent,name) { /* connect(mSelectionCombo,SIGNAL(activated(int)),SIGNAL(filterChanged())); connect(mEnabledCheck,SIGNAL(clicked()),SIGNAL(filterChanged())); connect(mEditButton,SIGNAL(clicked()),SIGNAL(editCalEdits())); */ QGridLayout* mainLayout = new QGridLayout ( this , 2, 6 ); QPushButton * addBut = new QPushButton ( this ); mainLayout->addWidget( addBut,0,0 ); addBut->setPixmap ( SmallIcon("plus")); connect(addBut,SIGNAL(clicked()),SLOT(addCal())); addBut->setMaximumWidth( addBut->sizeHint().height() ); addBut = new QPushButton ( this ); mainLayout->addWidget( addBut,0,1 ); addBut->setPixmap ( SmallIcon("eye")); connect(addBut,SIGNAL(clicked()),SLOT(enableAll())); addBut->setMaximumWidth( addBut->sizeHint().height() ); QLabel* lab = new QLabel ( " "+i18n("Calendar")+" ", this ); mainLayout->addWidget( lab,0,2 ); addBut = new QPushButton ( this ); mainLayout->addWidget( addBut,0,3 ); addBut->setPixmap ( SmallIcon("bell")); connect(addBut,SIGNAL(clicked()),SLOT(enableAlarm())); addBut->setMaximumWidth( addBut->sizeHint().height() ); addBut = new QPushButton ( this ); mainLayout->addWidget( addBut,0,4 ); - addBut->setPixmap ( SmallIcon("redcross16")); + addBut->setPixmap ( SmallIcon("pencil")); connect(addBut,SIGNAL(clicked()),SLOT(disableRO())); addBut->setMaximumWidth( addBut->sizeHint().height() ); addBut = new QPushButton ( this ); mainLayout->addWidget( addBut,0,5 ); addBut->setPixmap ( SmallIcon("trash")); connect(addBut,SIGNAL(clicked()),SLOT(deleteAll())); addBut->setMaximumWidth( addBut->sizeHint().height() ); } KOCalEditView::~KOCalEditView() { // no need to delete child widgets, Qt does it all for us } void KOCalEditView::readConfig( KConfig *) { } void KOCalEditView::addCal() { qDebug("addcal "); } void KOCalEditView::enableAll() { qDebug("enableAll"); } void KOCalEditView::enableAlarm() { qDebug("enableAlarm"); } void KOCalEditView::disableRO() { qDebug("OCalEditView::disableRO() "); } void KOCalEditView::deleteAll() { qDebug("delteAll"); } |