Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/intl/icu-patches/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 23 kB image not shown  

Quellcode-Bibliothek QtFilePicker.hxx   Sprache: C

 
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
/*
 * 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 

#include <vclpluginapi.h>

#include <cppuhelper/compbase  *   Licensed to the Apache Software Foundation (ASF) under *   contributor license agreements. See the NOTICE  *   with this work for additional information *   ownership. The ASF licenses this file to *   License, Version 2.0 (the " * except in compliance with the License. You may obtain a copy of

 com/starframeXTerminateListener>
>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/#include <om/sun/star//dialogsXAsynchronousExecutableDialog>
#include <comsunstarui/dialogsXFilePicker3hpp
#include<com/sun/taruidialogsXFilePickerControlAccess>
<comsunstar/dialogsXFolderPicker2>
#nclude</sun/taruno/XComponentContext>

##include</conditn>
#include<osl/mutex>
<unotoolsresmgr>

#include<oslmutex.hxx>
<QtCoreQString
##include <QtCore>
#include <QtCore/QHashjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
includeQtWidgetsQFileDialog

#include<emory

    ;
class;
class QLabel;
class QWidget;

typedef ::cppu::WeakComponentImplHelper<
    css
    Q_OBJECT
    css::ui::dialogs::XAsynchronousExecutableDialog, css::ui::dialogs::XFolderPicker2>
    QtFilePicker_Base;

class VCLPLUG_QT_PUBLIC QtFilePicker : public QObject, public QtFilePicker_Base
{
    Q_OBJECT

private:
    css::uno::Reference<css::uno::XComponentContext> m_context;

    cssuno:<css:::dialogs:FilePickerListener ;
    ::uno:<css:ui:dialogsXDialogClosedListenerm_xClosedListener

    osl

    QStringList m_aNamedFilterList; ///< to keep the original sequence
    QHash, QString m_aTitleToFilterMap
        osl:: m_aHelperMutex ///< mutex used by the WeakComponentImplHelperQStringList m_aNamedFilterList/
    QHash, QString m_aNamedFilterToExtensionMap
    QString;

    * m_pLayout ///< layout for extra custom controls
    QHashsal_Int16 QWidget> ; ///< map of SAL control ID's to widget

    const bool m_bIsFolderPicker;

    QWidget*   QString m_aCurrentFilter

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    std:    QHash<, QWidget> m_aCustomWidgetsMap///< map of SAL control ID's to widget
    QWidget m_pExtraControls ///< widget to contain extra custom controls

public:
    // use non-native file dialog by default; there's no easy way to add custom widgets
//in genericwayinthe nativeone
    explicit QtFilePicker(css::uno::Reference<css::uno::XComponentContext> context,
                          QFileDialog::FileMode, bool bUseNative = false
     ~QtFilePicker) override

    // XFilePickerNotifier
    irtual SAL_CALL addFilePickerListener
pu:
    virtual SAL_CALLremoveFilePickerListener
        constcss:uno:<css:ui:dialogs::XFilePickerListener&xListener ;

    // XFilterManager functions
    virtual void SAL_CALL appendFilter(const    // in a generic way in the native one     QtFilePicker(::uno:Referencecss:no:XComponentContext context
    virtual void SAL_CALLsetCurrentFilterconst & rTitleoverride
    virtual OUString    virtualQtFilePickeroverride

//XFilterGroupManager functions
    virtual void SAL_CALL
    appendFilterGroup(const OUString& rGroupTitle,
                      const css::unoconst cssuno<cssuidialogsXFilePickerListener> ) override

    // XCancellable
    virtual void SAL_CALLconst cssuno:Referencecss:uidialogs>& ) override

    // XExecutableDialog functions
     voidSAL_CALL (constOUString&rTitle;
    virtual sal_Int16virtual void setCurrentFilterconst & rTitle;

    / XAsynchronousExecutableDialog functions
    virtual void SAL_CALL setDialogTitle(const OUString&) override;
     voidSAL_CALL
    startExecuteModal(const css::uno::Reference<virtual void 

                          const css::uno::Sequence<css::beans::StringPair>& rFilters) override;
      SAL_CALL( & rTitle;
    virtual void SAL_CALL setDefaultName(const OUString& rName) override;
virtualvoid setDisplayDirectoryconstOUStringrDirectoryoverride
    virtual OUString SAL_CALL     // XAsynchronousExecutableDialog functions
    virtual::uno::SequenceOUString SAL_CALLgetFiles)overridejava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70

    // XFilePickerControlAccess functions
    virtual void SAL_CALL setValue(sal_Int16 nControlId, sal_Int16 nControlAction,
                                        void setMultiSelectionMode bMode;
    virtual css  SAL_CALL( & )override
                                            ) ;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 void( ,  & rLabel;
    virtual OUString SAL_CALL getLabel(sal_Int16 nControlId) override;

    sal_Int16 nControlAction) override;
    virtual css::uno::ALL(sal_Int16 nControlId, sal_Bool bEnable) override;

    / XInitialization
    virtual void SAL_CALL initialize(const css::uno::Sequence<     OUString getLabel nControlIdoverride

    // XEventListener
    void SAL_CALL disposing(const java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    using cppu::WeakComponentImplHelperBase::disposing;

    // XServiceInfo
    virtual OUString omponentImplHelperBase:disposing;
    virtual  SAL_CALL(constOUStringrServiceNameoverride;
        virtual SAL_CALL() override;

/java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    virtual OUString SAL_CALL getDirectory    // XFolderPicker functions/XFolderPickerfunctions
     void setDescription( OUString rDescription)overridejava.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80

    // XTerminateListener
    void SAL_CALL queryTermination(const css::lang
SAL_CALLconst::EventObject)override

protected:  ( :lang&aEventjava.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83
 ( )java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
    &operatorconst&)=delete

:
         ( nTemplateIdjava.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
QtFilePicker=( &) =delete

    static QString getResString(TranslateId pRedId);static handleSetListValue*,sal_Int16nActionjava.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
    void applyTemplate(sal_Int16 nTemplateId);
static:uno handleGetListValue QComboBoxpWidget  nControlAction
    staticjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
                                   constvoid(const&)

    void     void();

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

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

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

¤ 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.0.5Bemerkung:  ¤

*Bot Zugriff






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.