Logo Search packages:      
Sourcecode: kmess version File versions  Download package

addcontactdialog.h

/***************************************************************************
                          addcontactdialog.h  -  description
                             -------------------
    begin                : Sun Apr 14 2002
    copyright            : (C) 2002 by Mike K. Bennett
    email                : mkb137b@hotmail.com
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef ADDCONTACTDIALOG_H
#define ADDCONTACTDIALOG_H

#include <qcstring.h>
#include <qwidget.h>
#include <kdialogbase.h>

// Forward declarations
class KLineEdit;

/**The dialog for adding a contact.
  *@author Mike K. Bennett
  */

00032 class AddContactDialog : public KDialogBase//AddContactDialogInterface
{
   Q_OBJECT

  public:
                   AddContactDialog(QWidget *parent=0, const char *name=0);
                  ~AddContactDialog();
    // Show the dialog and obtain the contact handle.
    bool         launch(QString &contactHandle);

  protected slots: // Protected slots
    // The Cancel button was pressed.
    void         slotCancel();
    // The OK button was pressed.
    void         slotOk();

  private: // Private attributes
    // The contact handle edit
    KLineEdit   *handleEdit_;
    // Whether or not OK was pressed.
    bool         ok_;
};

#endif

Generated by  Doxygen 1.6.0   Back to index