Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[19ebe3]: src / lib / simulator / src / electronics / components / capacitor.h Maximize Restore History

Download this file

capacitor.h    39 lines (31 with data), 1.1 kB

 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
/***************************************************************************
* Copyright (C) 2003 by David Saxton *
* david@bluehaze.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 CAPACITOR_H
#define CAPACITOR_H
#include "component.h"
class Capacitance;
class Circuit;
class ECNode;
/**
@short Capacitor
Simple capacitor
@author David Saxton
*/
class Capacitor : public Component
{
public:
Capacitor(Circuit &ownerCircuit);
~Capacitor();
protected:
virtual void propertyChanged(Property& theProperty,
QVariant newValue, QVariant oldValue );
Capacitance *m_capacitance;
};
#endif