setupDialog.h
00001 #ifndef _EXPENSE_SETUPDIALOG_H
00002 #define _EXPENSE_SETUPDIALOG_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 #include "plugin.h"
00035
00036 class ExpenseWidget;
00037
00038 class ExpenseWidgetSetup : public ConduitConfig
00039 {
00040 Q_OBJECT
00041 public:
00042 ExpenseWidgetSetup(QWidget *,const char *,const QStringList &);
00043 virtual ~ExpenseWidgetSetup();
00044
00045 virtual void readSettings();
00046
00047 typedef enum { PolicyOverwrite,
00048 PolicyAppend,
00049 PolicyRotate } RotatePolicy;
00050 int getRotatePolicy() const;
00051 void setRotatePolicy(RotatePolicy);
00052
00053 typedef enum { PolicyNone,
00054 PolicyPostgresql,
00055 PolicyMysql } DBPolicy;
00056
00057 int getDBPolicy() const;
00058 void setDBPolicy(DBPolicy);
00059
00060 public slots:
00061 void slotRotatePolicyChanged();
00062 void slotCSVBrowse();
00063
00064 void slotDBPolicyChanged();
00065
00066 protected:
00067 virtual void commitChanges();
00068
00069 private:
00070 ExpenseWidget *fConfigWidget;
00071 } ;
00072
00073 #endif
This file is part of the documentation for kpilot Library Version 3.2.2.