[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE_3_2_BRANCH: kdepim/knotes
From:       Michael Brade <brade () kde ! org>
Date:       2004-05-30 15:29:57
Message-ID: 20040530152957.917DE12660 () office ! kde ! org
[Download RAW message or body]

CVS commit by brade: 

Gah, and even in this branch... backport:
Ouch, sorry, I commented out one important line, dunno why. Shortcuts should
work again.


  M +1 -1      knote.cpp   1.92.4.3
  M +4 -4      knoteedit.cpp   1.32.4.5


--- kdepim/knotes/knote.cpp  #1.92.4.2:1.92.4.3
@@ -72,5 +72,5 @@ KNote::KNote( KXMLGUIBuilder* builder, Q
     m_config( 0 ), m_journal( j )
 {
-    //actionCollection()->setWidget( this );
+    actionCollection()->setWidget( this );
 
     // if there is no title yet, use the start date if valid

--- kdepim/knotes/knoteedit.cpp  #1.32.4.4:1.32.4.5
@@ -86,15 +86,15 @@ KNoteEdit::KNoteEdit( QWidget *parent, c
     connect( m_textStrikeOut, SIGNAL(toggled(bool)), SLOT(textStrikeOut(bool)) );
 
-    m_textAlignLeft = new KToggleAction( QString::null, "text_left", CTRL + Key_L,
+    m_textAlignLeft = new KToggleAction( QString::null, "text_left", ALT + Key_L,
                                  this, SLOT(textAlignLeft()),
                                  actions, "format_alignleft" );
     m_textAlignLeft->setChecked( true ); // just a dummy, will be updated later
-    m_textAlignCenter = new KToggleAction( QString::null, "text_center", CTRL + ALT + Key_C,
+    m_textAlignCenter = new KToggleAction( QString::null, "text_center", ALT + Key_C,
                                  this, SLOT(textAlignCenter()),
                                  actions, "format_aligncenter" );
-    m_textAlignRight = new KToggleAction( QString::null, "text_right", CTRL + ALT + Key_R,
+    m_textAlignRight = new KToggleAction( QString::null, "text_right", ALT + Key_R,
                                  this, SLOT(textAlignRight()),
                                  actions, "format_alignright" );
-    m_textAlignBlock = new KToggleAction( QString::null, "text_block", CTRL + Key_J,
+    m_textAlignBlock = new KToggleAction( QString::null, "text_block", ALT + Key_B,
                                  this, SLOT(textAlignBlock()),
                                  actions, "format_alignblock" );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic