|
|
|
/***************************************************************************
|
|
|
|
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
|