kpilot

resolutionDialog.h

Go to the documentation of this file.
00001 #ifndef RESOLUTIONDIALOG_H
00002 #define RESOLUTIONDIALOG_H
00003 /* resolutionDialog.h           KPilot
00004 **
00005 ** Copyright (C) 2002-2003 by Reinhold Kainhofer
00006 **
00007 ** See the .cc file for an explanation of what this file is for.
00008 */
00009 
00010 /*
00011 ** This program is free software; you can redistribute it and/or modify
00012 ** it under the terms of the GNU General Public License as published by
00013 ** the Free Software Foundation; either version 2 of the License, or
00014 ** (at your option) any later version.
00015 **
00016 ** This program is distributed in the hope that it will be useful,
00017 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00018 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00019 ** GNU General Public License for more details.
00020 **
00021 ** You should have received a copy of the GNU General Public License
00022 ** along with this program in a file called COPYING; if not, write to
00023 ** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
00024 ** MA 02110-1301, USA.
00025 */
00026 
00027 /*
00028 ** Bug reports and questions can be sent to kde-pim@kde.org
00029 */
00030 
00031 #include <kdialogbase.h>
00032 class KPilotLink;
00033 class QTimer;
00034 class QListView;
00035 class ResolutionDialogBase;
00036 
00037 
00038 class ResolutionTable;
00039 
00040 class ResolutionDlg : public KDialogBase
00041 {
00042     Q_OBJECT
00043 
00044 public:
00045     ResolutionDlg( QWidget* parent=0, 
00046         KPilotLink*fH=0L, 
00047         const QString &caption=QString(), 
00048         const QString &helpText=QString(), 
00049         ResolutionTable *tab=0L );
00050     ~ResolutionDlg();
00051 
00052 public slots:
00053     void slotKeepBoth();
00054     void slotUseBackup();
00055     void slotUsePalm();
00056     void slotUsePC();
00057     void slotApply();
00058     void _tickle();
00059 protected:
00060     void fillListView();
00061     void adjustButtons(ResolutionTable*tab);
00062 
00063     QTimer* tickleTimer;
00064     KPilotLink* fHandle;
00065     ResolutionTable*fTable;
00066 
00067     ResolutionDialogBase*fWidget;
00068 };
00069 
00070 #endif // RESOLUTIONDIALOG_H