summaryrefslogtreecommitdiffstats
path: root/quanta/project/projectnewgeneral.h
blob: 6a1839b7310fc047b1a52ca4e58d70bde9e3c064 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/***************************************************************************
                          projectnewgeneral.h  -  description
                             -------------------
    begin                : Fri Oct 27 2000
    copyright            : (C) 2000 by Dmitry Poplavsky & Alexander Yakovlev & Eric Laffoon <pdima@users.sourceforge.net,yshurik@penguinpowered.com,sequitur@easystreet.com>
                           (C) 2001, 2002 by Andras Mantia <amantia@kde.org>
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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 PROJECTNEWGENERAL_H
#define PROJECTNEWGENERAL_H

#include "projectnewgenerals.h"

/**
  *@author Dmitry Poplavsky & Alexander Yakovlev & Eric Laffoon
  */

class KURL;

class ProjectNewGeneral : public ProjectNewGeneralS  {
   Q_OBJECT
  
public:
  ProjectNewGeneral(TQWidget *parent=0, const char *name=0);
  ~ProjectNewGeneral();

  TQString type();
  void setMargin(int);

protected:
  bool eventFilter ( TQObject * watched, TQEvent * e );

public slots:
  void slotButtonDir();
  void slotLinePrjFile(const TQString &);
  void slotChangeNames(const TQString &);
  void slotButtonTmpl();
  void slotButtonToolbar();
  void slotProtocolChanged(const TQString& protocol);


signals:
  void setBaseURL(const KURL&);
  void enableNextButton(TQWidget *, bool);
  
private:
  KURL baseUrl;  
};

#endif