diff options
Diffstat (limited to 'kplato/kptresourcespanel.h')
-rw-r--r-- | kplato/kptresourcespanel.h | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/kplato/kptresourcespanel.h b/kplato/kptresourcespanel.h index a5e1a46a..9324fd9b 100644 --- a/kplato/kptresourcespanel.h +++ b/kplato/kptresourcespanel.h @@ -23,10 +23,10 @@ #include "kptresource.h" #include "resourcespanelbase.h" -#include <qlistbox.h> -#include <qstring.h> +#include <tqlistbox.h> +#include <tqstring.h> -class QListViewItem; +class TQListViewItem; class KCommand; namespace KPlato @@ -40,15 +40,16 @@ class Part; class ResourcesPanel : public ResourcesPanelBase { Q_OBJECT + TQ_OBJECT public: - ResourcesPanel (QWidget *parent, Project *project); + ResourcesPanel (TQWidget *tqparent, Project *project); bool ok(); KCommand *buildCommand(Part *part); void sendChanged(); - void renameStopped(QListViewItem* item); + void renameStopped(TQListViewItem* item); protected slots: void slotAddGroup(); @@ -58,31 +59,31 @@ protected slots: void slotEditResource(); void slotDeleteResource(); - void slotGroupChanged(QListViewItem *item); + void slotGroupChanged(TQListViewItem *item); void slotGroupChanged(); - void slotResourceRename(const QString &newName); - void slotResourceChanged( QListBoxItem*); - void slotCurrentChanged( QListBoxItem*); - - void slotListDoubleClicked(QListViewItem*, const QPoint&, int); - void slotItemRenamed(QListViewItem *item, int col); - void slotRenameStarted(QListViewItem *item, int col); - void slotStartRename(QListViewItem *item, int col); + void slotResourceRename(const TQString &newName); + void slotResourceChanged( TQListBoxItem*); + void slotCurrentChanged( TQListBoxItem*); + + void slotListDoubleClicked(TQListViewItem*, const TQPoint&, int); + void slotItemRenamed(TQListViewItem *item, int col); + void slotRenameStarted(TQListViewItem *item, int col); + void slotStartRename(TQListViewItem *item, int col); signals: void changed(); void selectionChanged(); - void startRename(QListViewItem *item, int col); - void renameStarted(QListViewItem *item, int col); + void startRename(TQListViewItem *item, int col); + void renameStarted(TQListViewItem *item, int col); private: Project *project; ResourcesPanelGroupLVItem *m_groupItem; - QPtrList<GroupItem> m_groupItems; - QPtrList<GroupItem> m_deletedGroupItems; + TQPtrList<GroupItem> m_groupItems; + TQPtrList<GroupItem> m_deletedGroupItems; bool m_blockResourceRename; - QListViewItem *m_renameItem; + TQListViewItem *m_renameItem; }; } //KPlato namespace |