diff options
Diffstat (limited to 'src/filelist.h')
-rwxr-xr-x | src/filelist.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/filelist.h b/src/filelist.h index 70e2772..bd13d4c 100755 --- a/src/filelist.h +++ b/src/filelist.h @@ -20,30 +20,30 @@ class TQPainter; class TQColorGroup; class TQSimpleRichText; class KProgress; -class KPopupMenu; -class KAction; -class KActionCollection; +class TDEPopupMenu; +class TDEAction; +class TDEActionCollection; /** * @short The items for the file list * @author Daniel Faust <[email protected]> * @version 0.3 */ -class FileListItem : public KListViewItem +class FileListItem : public TDEListViewItem { public: /** * Constructor * @param parent The parent list view */ - FileListItem( KListView* parent ); + FileListItem( TDEListView* parent ); /** * Constructor * @param parent The parent list view * @param after The item, the new item should be placed after */ - FileListItem( KListView* parent, FileListItem* after ); + FileListItem( TDEListView* parent, FileListItem* after ); /** * Destructor @@ -55,10 +55,10 @@ public: //void updateOutputCell(); //void updateOptionsCell(); - FileListItem* nextSibling() const { return static_cast<FileListItem*>( KListViewItem::nextSibling() ); } - FileListItem* itemAbove() { return static_cast<FileListItem*>( KListViewItem::itemAbove() ); } - FileListItem* itemBelow() { return static_cast<FileListItem*>( KListViewItem::itemBelow() ); } - //FileList* listView() const { return static_cast<FileList*>( KListViewItem::listView() ); } + FileListItem* nextSibling() const { return static_cast<FileListItem*>( TDEListViewItem::nextSibling() ); } + FileListItem* itemAbove() { return static_cast<FileListItem*>( TDEListViewItem::itemAbove() ); } + FileListItem* itemBelow() { return static_cast<FileListItem*>( TDEListViewItem::itemBelow() ); } + //FileList* listView() const { return static_cast<FileList*>( TDEListViewItem::listView() ); } ConversionOptions options; // the information we get from the options class for creating the item TagData* tags; // we need to instruct the tagengine to read the tags from the file! @@ -83,7 +83,7 @@ public: * @author Daniel Faust <[email protected]> * @version 0.3 */ -class FileList : public KListView +class FileList : public TDEListView { Q_OBJECT @@ -100,8 +100,8 @@ public: */ virtual ~FileList(); - FileListItem* firstChild() const { return static_cast<FileListItem*>( KListView::firstChild() ); } - FileListItem* lastItem() const { return static_cast<FileListItem*>( KListView::lastItem() ); } + FileListItem* firstChild() const { return static_cast<FileListItem*>( TDEListView::firstChild() ); } + FileListItem* lastItem() const { return static_cast<FileListItem*>( TDEListView::lastItem() ); } int columnByName( const TQString& name ); void updateItem( FileListItem* item ); @@ -131,14 +131,14 @@ private: TQSimpleRichText* bubble; /** The context menu for editing or starting the files */ - KPopupMenu* contextMenu; - - KActionCollection* actionCollection; - KAction* edit; - KAction* start; - KAction* stop; - KAction* remove; - KAction* paste; + TDEPopupMenu* contextMenu; + + TDEActionCollection* actionCollection; + TDEAction* edit; + TDEAction* start; + TDEAction* stop; + TDEAction* remove; + TDEAction* paste; CDManager* cdManager; TagEngine* tagEngine; |