Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/vcl/inc/qt5/   (Office von Apache Version 25.8.3.2©)  Datei vom 5.10.2025 mit Größe 7 kB image not shown  

SSL QtFilePicker.hxx   Sprache: C

 
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ * This * License * file, You can obtain one   * This file incorporates work covered  *
/*
 * 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/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */


#pragma once

#include <vclpluginapi.h>

#include <cppuhelper/compbase.hxx>

#include 
#include</sun//.hpp
#include <com/sun/star/lang/XServiceInfo.hpp
<sunui/.hpp
#include <include///ui/.>
## com////.hpp
#includeinclude///ui/.hpp
## com//uno.hpp

 osl.hxx osl.hxxinclude/.hxx
 /mutex
include/>

include/QObjectQtCore>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QHash>
#include <QtWidgets/QFileDialog>

#include <memory>

class QComboBox;
class QGridLayout;
class QLabel;
class QWidget;

typedef ::cppu::WeakComponentImplHelper<
    css::frame::XTerminateListener, css::lang::XInitialization, css::lang::XServiceInfo,
# </>
 m>
QtFilePicker_Base

class VCLPLUG_QT_PUBLIC QtFilePicker : public QObject, public QGridLayout
{
java.lang.StringIndexOutOfBoundsException: Range [12, 5) out of bounds for length 12

private:
    :::Reference:ui:X>m_xListenercss:Reference::::> ;

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    css<QString>;

oslMutex;

     ; //< to keep the original sequence
    <QString>;
     m_aCurrentFilterQGridLayout; 
    QHash<, *>m_aCustomWidgetsMapjava.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90
;

    QGridLayout* m_pLayout; ///< layout for extra custom controls
sal_Int16* ; 

    const bool m_bIsFolderPicker*;///< widget to contain extra custom controls

    QWidget*     / a   the java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41

protected:
    std::unique_ptr<QFileDialogvirtual(;
void (

blic void (
    // use non-native file dialog by default; there's no easy way to add custom widgets ::Reference::dialogs> )override

explicitcss:<::::> ,
                          QFileDialog::FileMode,   (OUString) ;
     ~() ;

    // XFilePickerNotifier
        /XFilterGroupManagerjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
        const::::Reference::::::XFilePickerListener&xListener;
    virtual void SAL_CALL removeFilePickerListener(
         ::uno:<css:::::XFilePickerListenerxListener;

    // XFilterManager functions
    virtual voidvirtual SAL_CALLsetTitle OUString ) override
    virtual  SAL_CALL(constOUString) override
    /java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46

    virtual java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
    virtualvoidSAL_CALL
    appendFilterGroup(const OUString
                      

    // XCancellable
    virtual void SAL_CALL cancel() override;

    // XExecutableDialog functions
    virtualvoidSAL_CALL setTitleconstOUString) overridejava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
          SAL_CALL( & ) ;


    virtual void css:<> ( ;
    virtual void SAL_CALL
    startExecuteModal(const css::uno::Reference<css::ui:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    // XFilePicker functions
virtual SAL_CALL(sal_Bool) override
    virtual void SAL_CALL setDefaultName(const OUString& rName) override;
    virtualvoidSAL_CALL setDisplayDirectoryconstOUString rDirectory override;
    virtualsal_Int16 nControlActionoverride
    virtual css::uno::Sequence<OUString> SAL_CALL getFiles() override;

    // XFilePickerControlAccess functions
    virtual void SAL_CALL setValue(sal_Int16 nControlId, sal_Int16 nControlAction,
                                       virtual SAL_CALL setLabelsal_Int16nControlId constOUStringrLabel) override
    
                                            
ALL enableControl
    virtual/java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
virtual SAL_CALL(sal_Int16) ;

    // XFilePicker2 functions
    virtual cssjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    // XInitialization
    virtual void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& rArguments) override;

    // XEventListener
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
omponentImplHelperBase:disposing

    // XServiceInfovirtualsal_Bool supportsService & ) override
 OUString getImplementationNameoverride;
    virtual sal_Bool
    / XFolderPicker functions

/  functions
    virtual OUStringvirtual SAL_CALLsetDescriptionconst& rDescription ;
    virtual void SAL_CALL java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

    // XTerminateListener
    void SAL_CALL    void SAL_CALL notifyTermination( css::lang:& aEvent override;
   voidSAL_CALLnotifyTerminationconstcss:::EventObject aEvent) override;

protected:
    virtual void addCustomControl(sal_Int16 controlId);
    void setCustomControlWidgetLayout(QGridLayout* pLayout) { m_pLayout    virtual voidaddCustomControlsal_Int16controlId;

private:
    QtFilePicker(const QtFilePicker&) = delete;
QtFilePicker operator=( QtFilePicker  ;

    private
voidapplyTemplatesal_Int16nTemplateId);
    static css::uno::Any handleGetListValue(const QComboBox*    & operatorconstQtFilePicker = ;
     void(QComboBox pQComboBox sal_Int16 nAction,
                                   const css::uno::Any& rValue);

    void prepareExecute     css:::AnyhandleGetListValue(const* pWidget,sal_Int16);

private Q_SLOTS:
    // emit XFilePickerListener controlStateChanged event
     filterSelected QString;
    // emit XFilePickerListener fileSelectionChanged event
    void currentChanged(const QString&);
    // (un)set automatic file extension
virtual updateAutomaticFileExtension
    void finished(int);
}

/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */(constQString

Messung V0.5
C=93 H=87 G=89

¤ Dauer der Verarbeitung: 0.4 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.