Panel.cxx (7e429a12) | Panel.cxx (8a1a651a) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 73 unchanged lines hidden (view full) --- 82Panel::~Panel (void) 83{ 84 Dispose(); 85} 86 87 88 89 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 73 unchanged lines hidden (view full) --- 82Panel::~Panel (void) 83{ 84 Dispose(); 85} 86 87 88 89 |
90void Panel::SetShowMenuFunctor( const ::boost::function<void(void)>& rShowMenuFunctor ) 91{ 92 if ( mpTitleBar.get() ) 93 { 94 mpTitleBar->SetMenuAction( rShowMenuFunctor ); 95 } 96} 97 98 99 100 | |
101void Panel::Dispose (void) 102{ 103 mxPanelComponent = NULL; 104 105 if (mxElement.is()) 106 { 107 Reference<lang::XComponent> xComponent (mxElement->getRealInterface(), UNO_QUERY); 108 if (xComponent.is()) --- 14 unchanged lines hidden (view full) --- 123 } 124 125 mpTitleBar.reset(); 126} 127 128 129 130 | 90void Panel::Dispose (void) 91{ 92 mxPanelComponent = NULL; 93 94 if (mxElement.is()) 95 { 96 Reference<lang::XComponent> xComponent (mxElement->getRealInterface(), UNO_QUERY); 97 if (xComponent.is()) --- 14 unchanged lines hidden (view full) --- 112 } 113 114 mpTitleBar.reset(); 115} 116 117 118 119 |
131TitleBar* Panel::GetTitleBar (void) const | 120PanelTitleBar* Panel::GetTitleBar (void) const |
132{ 133 return mpTitleBar.get(); 134} 135 136 137 138 139bool Panel::IsTitleBarOptional (void) const --- 150 unchanged lines hidden --- | 121{ 122 return mpTitleBar.get(); 123} 124 125 126 127 128bool Panel::IsTitleBarOptional (void) const --- 150 unchanged lines hidden --- |