kate Library API Documentation

katemwmodonhddialog.h

00001 /*
00002     This library is free software; you can redistribute it and/or
00003     modify it under the terms of the GNU Library General Public
00004     License version 2 as published by the Free Software Foundation.
00005 
00006     This library is distributed in the hope that it will be useful,
00007     but WITHOUT ANY WARRANTY; without even the implied warranty of
00008     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00009     Library General Public License for more details.
00010 
00011     You should have received a copy of the GNU Library General Public License
00012     along with this library; see the file COPYING.LIB.  If not, write to
00013     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00014     Boston, MA 02111-1307, USA.
00015 
00016     ---
00017     Copyright (C) 2004, Anders Lund <anders@alweb.dk>
00018 */
00019 
00020 #ifndef _KATE_MW_MODONHD_DIALOG_H_
00021 #define _KATE_MW_MODONHD_DIALOG_H_
00022 
00023 #include <kdialogbase.h>
00024 #include <qptrvector.h>
00025 #include <kate/document.h>
00026 
00027 typedef  QPtrVector<Kate::Document> DocVector;
00028 class KProcIO;
00029 class KProcess;
00034 class KateMwModOnHdDialog : public KDialogBase
00035 {
00036   Q_OBJECT
00037   public:
00038     KateMwModOnHdDialog( DocVector docs, QWidget *parent=0, const char *name=0 );
00039     ~KateMwModOnHdDialog() {};
00040 
00041   protected slots:
00042     void slotUser1();
00043     void slotUser2();
00044     void slotUser3();
00045 
00046   private slots:
00047     void slotDiff();
00048     void slotSelectionChanged();
00049     void slotPRead(KProcIO*);
00050     void slotPDone(KProcess*);
00051 
00052   private:
00053     enum Action { Ignore, Overwrite, Reload };
00054     void handleSelected( int action );
00055     class KListView *lvDocuments;
00056     class QPushButton *btnDiff;
00057     class KTempFile *m_tmpfile;
00058 };
00059 
00060 #endif // _KATE_MW_MODONHD_DIALOG_H_
00061 // kate: space-indent on; indent-width 2; replace-tabs on;
KDE Logo
This file is part of the documentation for kate Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Sep 30 18:40:31 2005 by doxygen 1.4.3 written by Dimitri van Heesch, © 1997-2003