author | harlekin <harlekin> | 2002-09-18 09:52:51 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-09-18 09:52:51 (UTC) |
commit | 15ecc4aa71878039ad40ce270fae06282d8e98c2 (patch) (unidiff) | |
tree | 1b1cae7b89bdd3960da222542e99c05332610231 /core/pim/today/plugins/datebook/datebookpluginwidget.cpp | |
parent | 01d31aeaa8d513bde8237a07ea0a48ac1b85c3c0 (diff) | |
download | opie-15ecc4aa71878039ad40ce270fae06282d8e98c2.zip opie-15ecc4aa71878039ad40ce270fae06282d8e98c2.tar.gz opie-15ecc4aa71878039ad40ce270fae06282d8e98c2.tar.bz2 |
reload plugins now on config change
Diffstat (limited to 'core/pim/today/plugins/datebook/datebookpluginwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/today/plugins/datebook/datebookpluginwidget.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/pim/today/plugins/datebook/datebookpluginwidget.cpp b/core/pim/today/plugins/datebook/datebookpluginwidget.cpp index e4667ae..7948656 100644 --- a/core/pim/today/plugins/datebook/datebookpluginwidget.cpp +++ b/core/pim/today/plugins/datebook/datebookpluginwidget.cpp | |||
@@ -59,6 +59,8 @@ void DatebookPluginWidget::getDates() { | |||
59 | QDate date = QDate::currentDate(); | 59 | QDate date = QDate::currentDate(); |
60 | 60 | ||
61 | QVBoxLayout* layoutDates = new QVBoxLayout( this ); | 61 | QVBoxLayout* layoutDates = new QVBoxLayout( this ); |
62 | layoutDates->setSpacing( 1 ); | ||
63 | layoutDates->setMargin( 1 ); | ||
62 | 64 | ||
63 | if ( db ) { | 65 | if ( db ) { |
64 | delete db; | 66 | delete db; |
@@ -105,8 +107,8 @@ void DatebookPluginWidget::getDates() { | |||
105 | noEvents->setText( QObject::tr( "No appointments today" ) ); | 107 | noEvents->setText( QObject::tr( "No appointments today" ) ); |
106 | layoutDates->addWidget( noEvents ); | 108 | layoutDates->addWidget( noEvents ); |
107 | } | 109 | } |
108 | 110 | //layoutDates->addStretch(0); | |
109 | layoutDates->addItem( new QSpacerItem( 1,1, QSizePolicy::Minimum, QSizePolicy::Expanding ) ); | 111 | // layoutDates->addItem( new QSpacerItem( 1,1, QSizePolicy::Minimum, QSizePolicy::Expanding ) ); |
110 | 112 | ||
111 | // how often refresh - later have qcop update calls in *db | 113 | // how often refresh - later have qcop update calls in *db |
112 | //QTimer::singleShot( 20*1000, this , SLOT( getDates() ) ); | 114 | //QTimer::singleShot( 20*1000, this , SLOT( getDates() ) ); |