diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-22 23:33:11 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-22 23:33:11 +0900 |
commit | 7665c8d3f798aaf287ff14a35af74d9c303cb20c (patch) | |
tree | 00fd812583eed65f80d269255e8b662c90d1ddc7 /src/menulistviewitem.h | |
parent | 100a40e71a3f796a93675f9940c42ebe6429740e (diff) | |
download | kommando-7665c8d3f798aaf287ff14a35af74d9c303cb20c.tar.gz kommando-7665c8d3f798aaf287ff14a35af74d9c303cb20c.zip |
Raw Qt->TQt conversion using tde/scripts/conversions/qt3-tqt3/convert_existing_qt3_app_to_tq
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/menulistviewitem.h')
-rw-r--r-- | src/menulistviewitem.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/menulistviewitem.h b/src/menulistviewitem.h index e55d3f8..350116b 100644 --- a/src/menulistviewitem.h +++ b/src/menulistviewitem.h @@ -20,29 +20,29 @@ #ifndef MENULISTVIEWITEM_H #define MENULISTVIEWITEM_H -#include <qlistview.h> +#include <ntqlistview.h> -class MenuListViewItem : public QListViewItem +class MenuListViewItem : public TQListViewItem { public: enum ItemType{Menu,Button}; //The after parameter is needed to avoid, that the Buttons get reversed everytime the config file is loaded - MenuListViewItem(QListViewItem* parent, QListViewItem* after, QString col1, ItemType type=Button, QString iconPath=NULL, QString col2=NULL); - MenuListViewItem(QListView* parent, QListViewItem* after, QString col1, ItemType type=Button, QString iconPath=NULL, QString col2=NULL); + MenuListViewItem(TQListViewItem* parent, TQListViewItem* after, TQString col1, ItemType type=Button, TQString iconPath=NULL, TQString col2=NULL); + MenuListViewItem(TQListView* parent, TQListViewItem* after, TQString col1, ItemType type=Button, TQString iconPath=NULL, TQString col2=NULL); ~MenuListViewItem(); void setType(const ItemType icontype){ mType = icontype; } ItemType type() const{ return mType; } - void setIconPath(const QString& path); + void setIconPath(const TQString& path); MenuListViewItem* lastChild(); - QString iconPath() const { return mIconPath; } + TQString iconPath() const { return mIconPath; } protected: ItemType mType; - QString mIconPath; + TQString mIconPath; }; #endif |