You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdevelop/buildtools/autotools/autodetailsview.h

90 lines
2.4 KiB

/*
TDevelop Autotools Support
Copyright (c) 2002 by Victor Roeder <victor_roeder@gmx.de>
Copyright (c) 2005 by Matt Rogers <mattr@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 AUTODETAILSVIEW_H
#define AUTODETAILSVIEW_H
#include "autoprojectviewbase.h"
#include "domutil.h"
#include "autolistviewitems.h"
class TDEAction;
class AutoProjectPart;
class AutoProjectWidget;
class AutoToolsAction;
class AutoDetailsView : protected AutoProjectViewBase
{
friend class RemoveFileDialog;
friend class FileItem;
Q_OBJECT
public:
AutoDetailsView( AutoProjectWidget* widget, AutoProjectPart* part, TQWidget *parent, const char *name );
virtual ~AutoDetailsView();
TQString getUiFileLink( const TQString &path, const TQString& filename );
TDEListView* listView()
{
return m_listView;
}
public slots:
void slotSelectionChanged( TQListViewItem* item );
void slotSelectionChanged();
signals:
void selectionChanged( TQListViewItem* );
protected:
void initActions ();
virtual void focusOutEvent( TQFocusEvent *e );
private slots:
void slotDetailsExecuted( TQListViewItem *item );
void slotDetailsContextMenu( TDEListView *, TQListViewItem *item, const TQPoint &p );
void slotTargetOptions ();
void slotAddNewFile();
void slotAddExistingFile();
void slotAddIcon();
void slotBuildTarget();
void slotExecuteTarget();
void slotRemoveDetail();
void slotSetActiveTarget();
private:
AutoProjectWidget* m_widget;
AutoProjectPart* m_part;
DomUtil::PairList m_subclasslist;
AutoToolsAction* targetOptionsAction;
AutoToolsAction* addNewFileAction;
AutoToolsAction* addExistingFileAction;
TDEAction* addIconAction;
AutoToolsAction* buildTargetAction;
AutoToolsAction* executeTargetAction;
TDEAction* setActiveTargetAction;
AutoToolsAction* removeDetailAction;
};
#endif
// kate: indent-mode csands; tab-width 4;