[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/akregator/src
From: Stanislav Karchebny <berk () upnet ! ru>
Date: 2004-05-31 23:17:43
Message-ID: 20040531231743.C20A5126E0 () office ! kde ! org
[Download RAW message or body]
CVS commit by karchebny:
* A little simplification.
M +2 -8 propertiesdialog.cpp 1.7
M +0 -2 propertiesdialog.h 1.6
--- kdenonbeta/akregator/src/propertiesdialog.cpp #1.6:1.7
@@ -21,5 +21,6 @@ FeedPropertiesWidget::FeedPropertiesWidg
: FeedPropertiesWidgetBase(parent, name)
{
- connect(upChkbox, SIGNAL(toggled(bool)), this, SLOT(updateToggled(bool)) );
+ connect( upChkbox, SIGNAL(setChecked(bool)),
+ updateSpinBox, SLOT(setEnabled(bool)) );
}
@@ -27,10 +28,4 @@ FeedPropertiesWidget::~FeedPropertiesWid
{}
-void FeedPropertiesWidget::updateToggled(bool on)
-{
- updateSpinBox->setEnabled(on);
-}
-
-
FeedPropertiesDialog::FeedPropertiesDialog(QWidget *parent, const char *name)
: KDialogBase(KDialogBase::Swallow, Qt::WStyle_DialogBorder, parent, name, \
true, i18n("Feed Properties"), KDialogBase::Ok|KDialogBase::Cancel)
--- kdenonbeta/akregator/src/propertiesdialog.h #1.5:1.6
@@ -21,6 +21,4 @@ namespace Akregator
FeedPropertiesWidget(QWidget *parent = 0, const char *name = 0);
~FeedPropertiesWidget();
- public slots:
- void updateToggled(bool on);
};
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic