Mercurial > hg > easyhg-kdiff3
comparison kdiff3/src-QT4/guiutils.h @ 95:6f42f5bd218e
- OS2-port by Silvan Scherrer
- Fixed writing to KIO.
- Fix crash on A/B-overview (infinite recursion)
author | joachim99 |
---|---|
date | Sun, 28 Feb 2010 20:32:34 +0000 |
parents | e10fc1ab21a2 |
children |
comparison
equal
deleted
inserted
replaced
94:b2f22ae5f810 | 95:6f42f5bd218e |
---|---|
50 const char* actionName) { | 50 const char* actionName) { |
51 assert( ac != 0 ); | 51 assert( ac != 0 ); |
52 KToggleAction* theAction = new KToggleAction(ac); | 52 KToggleAction* theAction = new KToggleAction(ac); |
53 ac->addAction( actionName, theAction ); | 53 ac->addAction( actionName, theAction ); |
54 theAction->setText( text ); | 54 theAction->setText( text ); |
55 QObject::connect( theAction, SIGNAL( toggled(bool) ), receiver, slot ); | 55 QObject::connect( theAction, SIGNAL( triggered(bool) ), receiver, slot ); |
56 return theAction; | 56 return theAction; |
57 } | 57 } |
58 | 58 |
59 template <class T> | 59 template <class T> |
60 T* createAction( | 60 T* createAction( |