tools/designer/src/lib/shared/qdesigner_toolbar.cpp
changeset 18 2f34d5167611
parent 0 1918ee327afb
child 33 3e2da88830cd
equal deleted inserted replaced
3:41300fa6a67c 18:2f34d5167611
     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