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

List:       kde-commits
Subject:    KDE/kdepim/messagecomposer/tests
From:       Thomas McGuire <mcguire () kde ! org>
Date:       2010-05-31 21:55:59
Message-ID: 20100531220215.9743BAC8C6 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1133011 by tmcguire:

Remove broken actions.

They cause connect() warnings, and the actions are really implemented
in KRichTextWidget from kdelibs now.

 M  +1 -31     testkmeditorwin.cpp  


--- trunk/KDE/kdepim/messagecomposer/tests/testkmeditorwin.cpp #1133010:1133011
@@ -34,38 +34,8 @@
   setCentralWidget(editor);
 
   QMenu *editMenu = menuBar()->addMenu(tr("Edit"));
-  QAction *act = new QAction(tr("bold"), this);
-  act->setCheckable(true);
-  connect(act, SIGNAL(triggered(bool)), editor, SLOT(slotTextBold(bool)));
-  editMenu->addAction(act);
 
-  act = new QAction(tr("italic"), this);
-  act->setCheckable(true);
-  connect(act, SIGNAL(triggered (bool)), editor, SLOT(slotTextItalic(bool)));
-  editMenu->addAction(act);
-
-  act = new QAction(tr("underline"), this);
-  act->setCheckable(true);
-  connect(act, SIGNAL(triggered (bool)), editor, SLOT(slotTextUnder(bool)));
-  editMenu->addAction(act);
-
-  act = new QAction(tr("text color"), this);
-  connect(act, SIGNAL(triggered()), editor, SLOT(slotTextColor()));
-  editMenu->addAction(act);
-
-  act = new QAction(tr("Align left"), this);
-  connect(act, SIGNAL(triggered()), editor, SLOT(slotAlignLeft()));
-  editMenu->addAction(act);
-
-  act = new QAction(tr("Align right"), this);
-  connect(act, SIGNAL(triggered()), editor, SLOT(slotAlignRight()));
-  editMenu->addAction(act);
-
-  act = new QAction(tr("Align center"), this);
-  connect(act, SIGNAL(triggered()), editor, SLOT(slotAlignCenter()));
-  editMenu->addAction(act);
-
-  act = new QAction(tr("Paste as quote"), this);
+  QAction *act = new QAction(tr("Paste as quote"), this);
   connect(act, SIGNAL(triggered()), editor, SLOT(slotPasteAsQuotation()));
   editMenu->addAction(act);
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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