summaryrefslogtreecommitdiffabout
path: root/kalarmd
authorzautrix <zautrix>2005-09-17 21:37:24 (UTC)
committer zautrix <zautrix>2005-09-17 21:37:24 (UTC)
commite228113016abd6f75824633da9520c1ec1763f23 (patch) (unidiff)
treef574255c93d80de4461c6c2743d4ad0c80102144 /kalarmd
parent2cde25d8061acd536bccd698722952ce8555f5db (diff)
downloadkdepimpi-e228113016abd6f75824633da9520c1ec1763f23.zip
kdepimpi-e228113016abd6f75824633da9520c1ec1763f23.tar.gz
kdepimpi-e228113016abd6f75824633da9520c1ec1763f23.tar.bz2
aa
Diffstat (limited to 'kalarmd') (more/less context) (ignore whitespace changes)
-rw-r--r--kalarmd/simplealarmdaemonimpl.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/kalarmd/simplealarmdaemonimpl.cpp b/kalarmd/simplealarmdaemonimpl.cpp
index eff96eb..2acfacf 100644
--- a/kalarmd/simplealarmdaemonimpl.cpp
+++ b/kalarmd/simplealarmdaemonimpl.cpp
@@ -70,3 +70,7 @@ SimpleAlarmDaemonImpl::SimpleAlarmDaemonImpl( QWidget *parent )
70 QFont fon = mTimerPopUp->font(); 70 QFont fon = mTimerPopUp->font();
71 fon.setPointSize( fon.pointSize() *3/2 ); 71 int points = 16;
72 if ( QApplication::desktop()->width() < 480 )
73 points = 12;
74 fon.setPointSize( points );
75 //qDebug("point s %d ", fon.pointSize());
72 mTimerPopUp->setFont( fon ); 76 mTimerPopUp->setFont( fon );
@@ -314,5 +318,2 @@ void SimpleAlarmDaemonImpl::recieve( const QCString& msg, const QByteArray& )
314 } else { 318 } else {
315 {
316 QCopEnvelope e("QPE/Application/kopi", "-writeFileSilent");
317 }
318 //qDebug("-----system command %s ",tempfilename.latin1() ); 319 //qDebug("-----system command %s ",tempfilename.latin1() );
@@ -322,2 +323,3 @@ void SimpleAlarmDaemonImpl::recieve( const QCString& msg, const QByteArray& )
322 } 323 }
324 QTimer::singleShot( 10000, this, SLOT ( writeFile() ) );
323 return; 325 return;
@@ -347,3 +349,3 @@ void SimpleAlarmDaemonImpl::recieve( const QCString& msg, const QByteArray& )
347 349
348 writeFile(); 350 QTimer::singleShot( 10000, this, SLOT ( writeFile() ) );
349 startAlarm( mAlarmMessage, filename ); 351 startAlarm( mAlarmMessage, filename );
@@ -650,3 +652,3 @@ void SimpleAlarmDaemonImpl::simulate()
650{ 652{
651 writeFile(); 653 QTimer::singleShot( 10000, this, SLOT ( writeFile() ) );
652 QString filename = getenv("QPEDIR") ; 654 QString filename = getenv("QPEDIR") ;