KIO
skipdialog.h
Go to the documentation of this file.
00001 /* This file is part of the KDE libraries 00002 Copyright (C) 2000 David Faure <faure@kde.org> 00003 00004 This library is free software; you can redistribute it and/or 00005 modify it under the terms of the GNU Library General Public 00006 License version 2 as published by the Free Software Foundation. 00007 00008 This library is distributed in the hope that it will be useful, 00009 but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 Library General Public License for more details. 00012 00013 You should have received a copy of the GNU Library General Public License 00014 along with this library; see the file COPYING.LIB. If not, write to 00015 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00016 Boston, MA 02110-1301, USA. 00017 */ 00018 00019 #ifndef KIO_SKIPDIALOG_H 00020 #define KIO_SKIPDIALOG_H 00021 00022 #include <kio/kio_export.h> 00023 #include <kdialog.h> 00024 00025 class QWidget; 00026 00027 namespace KIO { 00028 00029 enum SkipDialog_Result { S_SKIP = 1, S_AUTO_SKIP = 2, S_CANCEL = 0 }; 00030 00031 class SkipDialogPrivate; 00035 class KIO_EXPORT SkipDialog : public KDialog 00036 { 00037 Q_OBJECT 00038 public: 00039 SkipDialog( QWidget *parent, bool _multi, const QString& _error_text ); 00040 ~SkipDialog(); 00041 00042 private Q_SLOTS: 00043 void cancelPressed(); 00044 void skipPressed(); 00045 void autoSkipPressed(); 00046 00047 Q_SIGNALS: 00048 void result( SkipDialog *_this, int _button ); 00049 00050 private: 00051 SkipDialogPrivate * const d; 00052 }; 00053 00054 } 00055 #endif
KDE 4.6 API Reference