equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the Qt Designer of the Qt Toolkit. |
7 ** This file is part of the Qt Designer of the Qt Toolkit. |
8 ** |
8 ** |
438 if (index == -1) |
438 if (index == -1) |
439 return 0; |
439 return 0; |
440 return tb->actions().at(index); |
440 return tb->actions().at(index); |
441 } |
441 } |
442 |
442 |
443 //that's a trick to get acces to the initStyleOption which is a protected member |
443 //that's a trick to get access to the initStyleOption which is a protected member |
444 class FriendlyToolBar : public QToolBar { |
444 class FriendlyToolBar : public QToolBar { |
445 public: |
445 public: |
446 friend class ToolBarEventFilter; |
446 friend class ToolBarEventFilter; |
447 }; |
447 }; |
448 |
448 |