1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include "Qt5Frame.hxx"
#include "Qt5Menu.hxx"
Qt5Menu::Qt5Menu( bool bMenuBar ) :
mpVCLMenu( nullptr ),
mpParentSalMenu( nullptr ),
mpFrame( nullptr ),
mbMenuBar( bMenuBar )
{
}
Qt5Menu::~Qt5Menu()
{
}
bool Qt5Menu::VisibleMenuBar()
{
return false;
}
void Qt5Menu::InsertItem( SalMenuItem* pSalMenuItem, unsigned nPos )
{
}
void Qt5Menu::RemoveItem( unsigned nPos )
{
}
void Qt5Menu::SetSubMenu( SalMenuItem* pSalMenuItem, SalMenu* pSubMenu, unsigned nPos )
{
}
void Qt5Menu::SetFrame( const SalFrame* pFrame )
{
mpFrame = const_cast<Qt5Frame*>( static_cast<const Qt5Frame*>( pFrame ) );
}
void Qt5Menu::ShowItem( unsigned nPos, bool bCheck )
{
}
void Qt5Menu::CheckItem( unsigned nPos, bool bCheck )
{
}
void Qt5Menu::EnableItem( unsigned nPos, bool bEnable )
{
}
void Qt5Menu::SetItemText( unsigned nPos, SalMenuItem* pSalMenuItem, const rtl::OUString& rText )
{
}
void Qt5Menu::SetItemImage( unsigned nPos, SalMenuItem* pSalMenuItem, const Image& rImage)
{
}
void Qt5Menu::SetAccelerator( unsigned nPos, SalMenuItem* pSalMenuItem, const vcl::KeyCode& rKeyCode, const OUString& rKeyName )
{
}
void Qt5Menu::GetSystemMenuData( SystemMenuData* pData )
{
}
Qt5MenuItem::Qt5MenuItem( const SalItemParams* pItemData ) :
mnId( pItemData->nId ),
mpVCLMenu( pItemData->pMenu ),
mpParentMenu( nullptr ),
mpSubMenu( nullptr )
{
}
Qt5MenuItem::~Qt5MenuItem()
{
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|