-rw-r--r-- | bin/kdepim/SyncHowto.txt | 2 | ||||
-rw-r--r-- | bin/kdepim/WhatsNew.txt | 10 | ||||
-rw-r--r-- | kalarmd/simplealarmdaemonapplet.cpp | 9 | ||||
-rw-r--r-- | korganizer/kotodoview.cpp | 6 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 47 | ||||
-rw-r--r-- | korganizer/mainwindow.h | 1 | ||||
-rw-r--r-- | microkde/kapplication.cpp | 4 |
7 files changed, 35 insertions, 44 deletions
diff --git a/bin/kdepim/SyncHowto.txt b/bin/kdepim/SyncHowto.txt index 5874fc3..6c1da16 100644 --- a/bin/kdepim/SyncHowto.txt +++ b/bin/kdepim/SyncHowto.txt @@ -1,3 +1,3 @@ WARNING: -YOU MAY GET UNEXSPECTED (I.E. WRONG) SYNCHRONIZATION RESULTS, +YOU MAY GET UNEXPECTED (I.E. WRONG) SYNCHRONIZATION RESULTS, IF YOU CHANGE AN EVENT ON THE FIRST DEVICE AND SYNC IMMEDIATELY FROM diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 1a8b885..df0b2eb 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt @@ -10,2 +10,9 @@ Added columns for start date/time in todo view. Replaced the solid half-hour lines in agenda view by dot lines. +Fixed some minor problems. (Like word wrap in help text windows). + +Fixed a strange problem in KO/Pi alarm applet. +Did not find the actual problem, +such that now Qtopia reboots if deinstalling the alarm applet. +But the alarm applet should work again. + @@ -29,3 +36,4 @@ and added icons for undo/delete/redo in toolbar. Change in OM/Pi ViewMail dialog: -When clicking on the "delete" icon the mail is deleted after confirmation as usual. But the edit dialog is not closed as before, now the next mail in the folder is shown automatically (if there is any). +When clicking on the "delete" icon the mail is deleted after confirmation as usual. +But the edit dialog is not closed as before, now the next mail in the folder is shown automatically (if there is any). diff --git a/kalarmd/simplealarmdaemonapplet.cpp b/kalarmd/simplealarmdaemonapplet.cpp index 38a744f..3277036 100644 --- a/kalarmd/simplealarmdaemonapplet.cpp +++ b/kalarmd/simplealarmdaemonapplet.cpp @@ -16,3 +16,3 @@ SimpleAlarmDaemonApplet::~SimpleAlarmDaemonApplet() { - delete mApplet; + //delete mApplet; mApplet = 0; @@ -43,2 +43,3 @@ QRESULT SimpleAlarmDaemonApplet::queryInterface( const QUuid &uuid, QUnknownInte { + // qDebug(" SimpleAlarmDaemonApplet::queryInterface "); *iface = 0; @@ -48,9 +49,9 @@ QRESULT SimpleAlarmDaemonApplet::queryInterface( const QUuid &uuid, QUnknownInte *iface = this; + if ( *iface ) { - //(*iface)->addRef(); + (*iface)->addRef(); return QS_OK; } - return QE_NOCOMPONENT; + return QE_NOINTERFACE; } - Q_EXPORT_INTERFACE() diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index 5d7b066..97b4a03 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp @@ -1080,3 +1080,7 @@ void KOTodoView::keyPressEvent ( QKeyEvent * e ) case Qt::Key_S: - if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) { + if ( e->state() == Qt::ControlButton ) { + e->ignore(); + break; + } + if ( e->state() == Qt::ShiftButton ) { mActiveItem = (KOTodoViewItem*)mTodoListView->currentItem(); diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index a652c05..6bc5b3a 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -560,4 +560,2 @@ void MainWindow::initActions() configureAgendaMenu->setCheckable( true ); - configureAgendaMenu->insertItem(i18n("Toggle Allday"), 1 ); - configureAgendaMenu->insertSeparator(); configureAgendaMenu->insertItem(i18n("Tiny"), 4 ); @@ -609,3 +607,6 @@ void MainWindow::initActions() mView, SLOT( toggleFilter() ) ); - + action = new QAction( i18n("Toggle Allday"), i18n("Toggle Allday"), 0, this ); + action->addTo( viewMenu ); + connect( action, SIGNAL( activated() ), + mView, SLOT( toggleAllDaySize() ) ); @@ -1140,16 +1141,3 @@ void MainWindow::displayText( QString text ,QString cap ) } -void MainWindow::displayFile( QString fn, QString cap ) -{ - QString fileName = resourcePath() + fn; - QString text; - QFile file( fileName ); - if (!file.open( IO_ReadOnly ) ) { - return ; - } - QTextStream ts( &file ); - text = ts.read(); - file.close(); - displayText( text, cap); -} void MainWindow::features() @@ -1157,3 +1145,3 @@ void MainWindow::features() - displayFile( "featuresKOPI.txt",i18n("KO/Pi Features and hints") ); + KApplication::showFile( i18n("KO/Pi Features and hints"), "kdepim/korganizer/featuresKOPI.txt" ); } @@ -1163,3 +1151,3 @@ void MainWindow::usertrans() - displayFile( "usertranslationHOWTO.txt",i18n("KO/Pi User translation HowTo") ); + KApplication::showFile( i18n("KO/Pi User translation HowTo"), "kdepim/korganizer/usertranslationHOWTO.txt" ); } @@ -1180,3 +1168,3 @@ void MainWindow::faq() { - displayFile( "kopiFAQ.txt",i18n("KO/Pi FAQ") ); + KApplication::showFile( i18n("KO/Pi FAQ"), "kdepim/korganizer/kopiFAQ.txt" ); @@ -1210,3 +1198,3 @@ void MainWindow::keyBindings() { - QString cap = i18n("Key bindings KOrganizer/Pi"); + QString cap = i18n("KO/Pi Keys + Colors"); QString text = i18n("<p><h2>KO/Pi key shortcuts:</h2></p>\n") + @@ -1262,4 +1250,3 @@ void MainWindow::keyBindings() i18n("<p><b>White</b>: Item readonly</p>\n"); - displayText( text, cap); - + displayText( text, cap); } @@ -1267,11 +1254,5 @@ void MainWindow::aboutAutoSaving() { - QMessageBox* msg; - msg = new QMessageBox( i18n("Auto Saving in KOrganizer/Pi"), - i18n("After changing something, the data is\nautomatically saved to the file\n~/kdepim/apps/korganizer/mycalendar.ics\nafter (configureable) three minutes.\nFor safety reasons there is one autosaving\nafter 10 minutes (of idle time) again. The \ndata is saved automatically when closing KO/Pi\nYou can create a backup file \nwith: File - Save Calendar Backup\n"), QMessageBox::NoIcon, - QMessageBox::Ok, - QMessageBox::NoButton, - QMessageBox::NoButton); - msg->exec(); - delete msg; - + QString text = i18n("After changing something, the data is\nautomatically saved to the file\n~/kdepim/apps/korganizer/mycalendar.ics\nafter (configureable) three minutes.\nFor safety reasons there is one autosaving\nafter 10 minutes (of idle time) again. The \ndata is saved automatically when closing KO/Pi\nYou can create a backup file \nwith: File - Save Calendar Backup\n"); + + KApplication::showText( i18n("Auto Saving in KOrganizer/Pi"), text); @@ -1728,6 +1709,2 @@ void MainWindow::configureAgenda( int item ) int i; - if ( item == 1 ) { - mView->toggleAllDaySize(); - return; - } // do not allow 4 for widgets higher than 480 diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h index ed65d36..96e627e 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h @@ -89,3 +89,2 @@ class MainWindow : public QMainWindow void displayText( QString, QString); - void displayFile( QString, QString); diff --git a/microkde/kapplication.cpp b/microkde/kapplication.cpp index d6f556d..21aa0a4 100644 --- a/microkde/kapplication.cpp +++ b/microkde/kapplication.cpp @@ -4,2 +4,3 @@ #include "kapplication.h" +#include "ktextedit.h" #include <qapplication.h> @@ -97,3 +98,4 @@ void KApplication::showText(QString caption, QString text) lay->setMargin( 3 ); - QTextBrowser tb ( &dia ); + KTextEdit tb ( &dia ); + tb.setWordWrap( QMultiLineEdit::WidgetWidth ); lay->addWidget( &tb ); |