summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneychecklistitem.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 17:25:32 -0600
committerTimothy Pearson <[email protected]>2013-02-01 17:25:32 -0600
commit89d8c2baa9b51d8da8511a54b9962155aa29c4c0 (patch)
tree5af383305d44c31dd8e499fe01c067f32e101029 /kmymoney2/widgets/kmymoneychecklistitem.h
parenta6000c6f2f1a03b34f15d1948f63f0c894f09451 (diff)
downloadkmymoney-89d8c2baa9b51d8da8511a54b9962155aa29c4c0.tar.gz
kmymoney-89d8c2baa9b51d8da8511a54b9962155aa29c4c0.zip
Fix FTBFS
Diffstat (limited to 'kmymoney2/widgets/kmymoneychecklistitem.h')
-rw-r--r--kmymoney2/widgets/kmymoneychecklistitem.h94
1 files changed, 0 insertions, 94 deletions
diff --git a/kmymoney2/widgets/kmymoneychecklistitem.h b/kmymoney2/widgets/kmymoneychecklistitem.h
deleted file mode 100644
index 1c5474d..0000000
--- a/kmymoney2/widgets/kmymoneychecklistitem.h
+++ /dev/null
@@ -1,94 +0,0 @@
-/***************************************************************************
- kmymoneychecklistitem - description
- -------------------
- begin : Wed Jun 28 2006
- copyright : (C) 2006 by Thomas Baumgart
- email : Thomas Baumgart <[email protected]>
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * 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 KMYMONEYCHECKLISTITEM_H
-#define KMYMONEYCHECKLISTITEM_H
-
-// ----------------------------------------------------------------------------
-// QT Includes
-
-#include <tqobject.h>
-#include <tqlistview.h>
-
-// ----------------------------------------------------------------------------
-// KDE Includes
-
-// ----------------------------------------------------------------------------
-// Project Includes
-
-class KMyMoneyListViewItem;
-
-/**
- * This class implements a derived version of a TQCheckListItem that
- * allows the storage of an engine object id with the object and emits
- * a signal upon state change.
- *
- * @author Thomas Baumgart
- */
-class KMyMoneyCheckListItem : public TQObject, public TQCheckListItem
-{
- friend class KMyMoneyListViewItem;
-
- Q_OBJECT
-
-public:
- KMyMoneyCheckListItem(TQListView *parent, const TQString& txt, const TQString& key, const TQString& id, Type type = TQCheckListItem::CheckBox);
- KMyMoneyCheckListItem(TQListView *parent, TQListViewItem* after, const TQString& txt, const TQString& key, const TQString& id, Type type = TQCheckListItem::CheckBox);
- KMyMoneyCheckListItem(TQListViewItem *parent, const TQString& txt, const TQString& key, const TQString& id, Type type = TQCheckListItem::CheckBox);
- ~KMyMoneyCheckListItem();
-
- const TQString& id(void) const { return m_id; };
-
- /**
- * use my own paint method
- */
- void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment);
-
- /**
- * use my own backgroundColor method
- */
- const TQColor backgroundColor();
-
- /**
- * see TDEListViewItem::isAlternate()
- */
- bool isAlternate(void);
-
- /**
- * This method returns a const reference to the key passed to the constructor. The column
- * defines what is returned: For @a column equals 0, the first character passed as @a key to
- * the constructor concatenated with the value returned by text(0) is returned. For @a column
- * equals to 1, the @a key as passed to the constructor except the first character is returned.
- */
- TQString key(int column, bool ascending) const;
-
-signals:
- void stateChanged(bool);
-
-protected:
- virtual void stateChange(bool);
-
-private:
- TQString m_key;
- TQString m_id;
- // copied from TDEListViewItem()
- unsigned int m_isOdd : 1;
- unsigned int m_isKnown : 1;
- unsigned int m_unused : 30;
-};
-
-#endif