kio
renamedlgplugin.h
Go to the documentation of this file.00001 /* This file is part of the KDE libraries 00002 Copyright (C) 2001 Holger Freyther <freyther@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 as published by the Free Software Foundation; either 00007 version 2 of the License, or (at your option) any later version. 00008 00009 This library is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 Library General Public License for more details. 00013 00014 You should have received a copy of the GNU Library General Public License 00015 along with this library; see the file COPYING.LIB. If not, write to 00016 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00017 Boston, MA 02110-1301, USA. 00018 */ 00019 00020 #ifndef renamedlgplugin_h 00021 #define renamedlgplugin_h 00022 00023 #include <kio/renamedlg.h> 00024 #include <qdialog.h> 00025 #include <sys/types.h> 00026 #include <qstring.h> 00027 #include <qstringlist.h> 00028 00034 class KIO_EXPORT RenameDlgPlugin : public QWidget 00035 { 00036 public: 00040 RenameDlgPlugin(QDialog *dialog, const char *name, const QStringList &/*list*/ = QStringList() ): QWidget(dialog, name ) {}; 00041 00046 virtual bool initialize(KIO::RenameDlg_Mode /*mod*/ , const QString &/*_src*/, const QString &/*_dest*/, 00047 const QString &/*mimeSrc*/, 00048 const QString &/*mimeDest*/, 00049 KIO::filesize_t /*sizeSrc*/, 00050 KIO::filesize_t /*sizeDest*/, 00051 time_t /*ctimeSrc*/, 00052 time_t /*ctimeDest*/, 00053 time_t /*mtimeSrc*/, 00054 time_t /*mtimeDest*/ ) {return false;}; 00055 00056 }; 00057 00058 #endif 00059