- Main Page
- Namespaces
- Classes
- Files
- Directories

# commanddialog.h

    00001 /***************************************************************************
    00002                           commanddialog.h  -  description
    00003                              -------------------
    00004     begin                : Wed Oct 31 2001
    00005     copyright            : (C) 2001 by Eggert Ehmke
    00006     email                : eggert.ehmke@berlin.de
    00007  ***************************************************************************/
    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  ***************************************************************************/
    00017
    00018 #ifndef COMMANDDIALOG_H
    00019 #define COMMANDDIALOG_H
    00020
    00021 #include <ntqwidget.h>
    00022 #include "CommandDlg.h"
    00023 #include "commandlist.h"
    00024 #include "configelem.h"
    00025 #include "configlist.h"
    00026
    00031 #define ID_OPTION_COMPLAIN 13000
    00032
    00033 class ConfigList;
    00034
    00035 class CommandDialog : public CommandDlg
    00036 {
    00037    Q_OBJECT
    00038 public:
    00039        CommandDialog(TQWidget *parent, const char *name, CommandList* list, ConfigElem* pConfig, ConfigList* pConfigList);
    00040        ~CommandDialog();
    00041 private slots:
    00042   virtual void slotAdd ();
    00043   virtual void slotEdit ();
    00044   virtual void slotCopy();
    00045   virtual void slotDelete ();
    00046   virtual void slotOk ();
    00047   virtual void slotCommandActivated (int);
    00048 private:
    00049        CommandList* m_plist;
    00050        CommandList m_locallist;
    00051        ConfigList* m_pConfigList;
    00052        ConfigElem* m_pConfig;
    00053 };
    00054
    00055 #endif