add a separate header file for MetaContact::Private class
[kdenetwork.git] / ksirc / dccNew.h
blobe0adcf80ec5f30ceb2d25bc0320e185e9141e56c
1 /***************************************************************************
2 * *
3 * This program is free software; you can redistribute it and/or modify *
4 * it under the terms of the GNU General Public License as published by *
5 * the Free Software Foundation version 2 of the License. *
6 * *
7 ***************************************************************************/
9 #ifndef DCC_NEW_H
10 #define DCC_NEW_H
12 #include "dccNewbase.h"
14 class dccNew : public dccNewBase
16 Q_OBJECT
18 public:
19 dccNew( QWidget *parent = 0,
20 const char *name = 0,
21 int type = -1,
22 QString nick = QString::null );
23 ~dccNew();
25 enum { Chat, Send };
27 QString getFile();
28 QString getNick();
29 int getType();
32 signals:
33 void modified();
34 void accepted(int type, QString nick, QString file);
36 protected slots:
37 virtual void chatClicked();
38 virtual void fileSendClicked();
39 virtual void sendClicked();
40 virtual void fileClicked();
41 virtual void reject();
44 #endif