Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : */
9 :
10 : #include "QueryPropertiesDialog.hxx"
11 :
12 : namespace dbaui
13 : {
14 :
15 0 : QueryPropertiesDialog::QueryPropertiesDialog(
16 : Window* pParent, const sal_Bool bDistinct, const sal_Int64 nLimit )
17 : : ModalDialog(pParent, "QueryPropertiesDialog", "dbaccess/ui/querypropertiesdialog.ui")
18 : , m_pRB_Distinct( 0 )
19 : , m_pRB_NonDistinct( 0 )
20 0 : , m_pLB_Limit( 0 )
21 : {
22 0 : get( m_pRB_Distinct, "distinct" );
23 0 : get( m_pRB_NonDistinct, "nondistinct" );
24 0 : get( m_pLB_Limit, "limitbox" );
25 :
26 0 : m_pRB_Distinct->Check( bDistinct );
27 0 : m_pRB_NonDistinct->Check( !bDistinct );
28 0 : m_pLB_Limit->SetValue( nLimit );
29 0 : }
30 :
31 0 : QueryPropertiesDialog::~QueryPropertiesDialog()
32 : {
33 0 : }
34 :
35 : } ///dbaui namespace
36 :
37 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|