bump product version to 4.1.6.2
[LibreOffice.git] / dbaccess / source / ui / dlg / QueryPropertiesDialog.cxx
blobfd37bcdeaa6ff33e437b6c4cba5a7e7a3b0ccff2
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #include "QueryPropertiesDialog.hxx"
12 namespace dbaui
15 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 , m_pLB_Limit( 0 )
22 get( m_pRB_Distinct, "distinct" );
23 get( m_pRB_NonDistinct, "nondistinct" );
24 get( m_pLB_Limit, "limitbox" );
26 m_pRB_Distinct->Check( bDistinct );
27 m_pRB_NonDistinct->Check( !bDistinct );
28 m_pLB_Limit->SetValue( nLimit );
31 QueryPropertiesDialog::~QueryPropertiesDialog()
35 } ///dbaui namespace
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */