#include <kdialog.h>
#include <klocale.h>

/********************************************************************************
** Form generated from reading UI file 'DeviceAutomounterKCM.ui'
**
** Created by: Qt User Interface Compiler version 4.8.7
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_DEVICEAUTOMOUNTERKCM_H
#define UI_DEVICEAUTOMOUNTERKCM_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QTreeView>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>

QT_BEGIN_NAMESPACE

class Ui_DeviceAutomounterKCM
{
public:
    QGridLayout *gridLayout_2;
    QCheckBox *automountEnabled;
    QSpacerItem *horizontalSpacer;
    QVBoxLayout *verticalLayout;
    QCheckBox *automountUnknownDevices;
    QCheckBox *automountOnLogin;
    QCheckBox *automountOnPlugin;
    QSpacerItem *horizontalSpacer_2;
    QGroupBox *groupBox;
    QVBoxLayout *verticalLayout_2;
    QTreeView *deviceView;
    QHBoxLayout *horizontalLayout;
    QPushButton *forgetDevice;

    void setupUi(QWidget *DeviceAutomounterKCM)
    {
        if (DeviceAutomounterKCM->objectName().isEmpty())
            DeviceAutomounterKCM->setObjectName(QString::fromUtf8("DeviceAutomounterKCM"));
        DeviceAutomounterKCM->resize(615, 380);
        gridLayout_2 = new QGridLayout(DeviceAutomounterKCM);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        automountEnabled = new QCheckBox(DeviceAutomounterKCM);
        automountEnabled->setObjectName(QString::fromUtf8("automountEnabled"));

        gridLayout_2->addWidget(automountEnabled, 0, 0, 1, 3);

        horizontalSpacer = new QSpacerItem(22, 76, QSizePolicy::Fixed, QSizePolicy::Minimum);

        gridLayout_2->addItem(horizontalSpacer, 1, 0, 1, 1);

        verticalLayout = new QVBoxLayout();
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        automountUnknownDevices = new QCheckBox(DeviceAutomounterKCM);
        automountUnknownDevices->setObjectName(QString::fromUtf8("automountUnknownDevices"));

        verticalLayout->addWidget(automountUnknownDevices);

        automountOnLogin = new QCheckBox(DeviceAutomounterKCM);
        automountOnLogin->setObjectName(QString::fromUtf8("automountOnLogin"));

        verticalLayout->addWidget(automountOnLogin);

        automountOnPlugin = new QCheckBox(DeviceAutomounterKCM);
        automountOnPlugin->setObjectName(QString::fromUtf8("automountOnPlugin"));

        verticalLayout->addWidget(automountOnPlugin);


        gridLayout_2->addLayout(verticalLayout, 1, 1, 1, 1);

        horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout_2->addItem(horizontalSpacer_2, 1, 2, 1, 1);

        groupBox = new QGroupBox(DeviceAutomounterKCM);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        verticalLayout_2 = new QVBoxLayout(groupBox);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        deviceView = new QTreeView(groupBox);
        deviceView->setObjectName(QString::fromUtf8("deviceView"));
        deviceView->setEditTriggers(QAbstractItemView::NoEditTriggers);
        deviceView->setSelectionMode(QAbstractItemView::ExtendedSelection);
        deviceView->setRootIsDecorated(true);
        deviceView->setItemsExpandable(true);
        deviceView->setSortingEnabled(true);
        deviceView->setAnimated(true);
        deviceView->setAllColumnsShowFocus(true);
        deviceView->setExpandsOnDoubleClick(false);
        deviceView->header()->setProperty("showSortIndicator", QVariant(true));

        verticalLayout_2->addWidget(deviceView);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        forgetDevice = new QPushButton(groupBox);
        forgetDevice->setObjectName(QString::fromUtf8("forgetDevice"));

        horizontalLayout->addWidget(forgetDevice);


        verticalLayout_2->addLayout(horizontalLayout);


        gridLayout_2->addWidget(groupBox, 2, 0, 1, 3);


        retranslateUi(DeviceAutomounterKCM);

        QMetaObject::connectSlotsByName(DeviceAutomounterKCM);
    } // setupUi

    void retranslateUi(QWidget *DeviceAutomounterKCM)
    {
#ifndef UI_QT_NO_WHATSTHIS
        automountEnabled->setWhatsThis(tr2i18n("When this is unchecked, no device automounting of any kind will happen, regardless of anything selected in the \"Device Overrides\" section.", 0));
#endif // QT_NO_WHATSTHIS
        automountEnabled->setText(tr2i18n("Enable automatic mounting of removable media", 0));
#ifndef UI_QT_NO_WHATSTHIS
        automountUnknownDevices->setWhatsThis(tr2i18n("When this is checked, only remembered devices will be automatically mounted. A device is 'remembered' if it has ever been mounted before. For instance, plugging in a USB media player to charge is not sufficient to 'remember' it - if the files are not accessed, it will not be automatically mounted the next time it is seen. Once they have been accessed, however, the device's contents will be automatically made available to the system.", 0));
#endif // QT_NO_WHATSTHIS
        automountUnknownDevices->setText(tr2i18n("Only automatically mount removable media that has been manually mounted before", 0));
#ifndef UI_QT_NO_WHATSTHIS
        automountOnLogin->setWhatsThis(tr2i18n("If any removable storage devices are connected to your system when you login to your desktop, their contents will automatically be made available to your system for other programs to read.", 0));
#endif // QT_NO_WHATSTHIS
        automountOnLogin->setText(tr2i18n("Mount all removable media at login", 0));
#ifndef UI_QT_NO_WHATSTHIS
        automountOnPlugin->setWhatsThis(tr2i18n("When this is checked, the contents of any storage device will automatically be made available to the system when it is plugged in or attached.", 0));
#endif // QT_NO_WHATSTHIS
        automountOnPlugin->setText(tr2i18n("Automatically mount removable media when attached", 0));
        groupBox->setTitle(tr2i18n("Device Overrides", 0));
#ifndef UI_QT_NO_WHATSTHIS
        deviceView->setWhatsThis(tr2i18n("This list contains the storage devices known to the system. If \"Automount on Login\" is checked, the device will be automatically mounted even though \"Mount all removable media at login\" is unchecked. The same applies for \"Automount on Attach\".\n"
"\n"
"If \"Enable automatic mounting of removable media\" is unchecked, the overrides do not apply and no devices will be automatically mounted.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        forgetDevice->setWhatsThis(tr2i18n("Clicking this button causes the selected devices to be 'forgotten'. This is only useful if \"Only automatically mount removable media that has been manually mounted before\" is checked. Once a device is forgotten and the system is set to only automatically mount familiar devices, the device will not be automatically mounted.", 0));
#endif // QT_NO_WHATSTHIS
        forgetDevice->setText(tr2i18n("Forget Device", 0));
        Q_UNUSED(DeviceAutomounterKCM);
    } // retranslateUi

};

namespace Ui {
    class DeviceAutomounterKCM: public Ui_DeviceAutomounterKCM {};
} // namespace Ui

QT_END_NAMESPACE

#endif // DEVICEAUTOMOUNTERKCM_H

