summaryrefslogtreecommitdiffstats
path: root/src/filelist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/filelist.cpp')
-rw-r--r--src/filelist.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/filelist.cpp b/src/filelist.cpp
index 65a2ef8..100ba4a 100644
--- a/src/filelist.cpp
+++ b/src/filelist.cpp
@@ -160,25 +160,25 @@ FileList::FileList( CDManager* _cdManager, TagEngine* _tagEngine, Config* _confi
grid->setColStretch( 1, 2 );
contextMenu = new TDEPopupMenu( this );
- connect( TQT_TQOBJECT(this), TQT_SIGNAL(contextMenuRequested( TQListViewItem*, const TQPoint&, int )),
- TQT_TQOBJECT(this), TQT_SLOT(showContextMenu( TQListViewItem*, const TQPoint&, int ))
+ connect( this, TQT_SIGNAL(contextMenuRequested( TQListViewItem*, const TQPoint&, int )),
+ this, TQT_SLOT(showContextMenu( TQListViewItem*, const TQPoint&, int ))
);
// we haven't got access to the action collection of soundKonverter, so let's create a new one
actionCollection = new TDEActionCollection( this );
- edit = new TDEAction( i18n("Edit options ..."), "view_text", 0, TQT_TQOBJECT(this), TQT_SLOT(showOptionsEditorDialog()), actionCollection, "edit_options" );
- start = new TDEAction( i18n("Start conversion"), "system-run", 0, TQT_TQOBJECT(this), TQT_SLOT(convertSelectedItems()), actionCollection, "start_conversion" );
- stop = new TDEAction( i18n("Stop conversion"), "process-stop", 0, TQT_TQOBJECT(this), TQT_SLOT(stopSelectedItems()), actionCollection, "stop_conversion" );
- remove = new TDEAction( i18n("Remove"), "edittrash", Key_Delete, TQT_TQOBJECT(this), TQT_SLOT(removeSelectedItems()), actionCollection, "remove" );
- paste = new TDEAction( i18n("Paste"), "edit-paste", 0, TQT_TQOBJECT(this), 0, actionCollection, "paste" ); // TODO paste
+ edit = new TDEAction( i18n("Edit options ..."), "view_text", 0, this, TQT_SLOT(showOptionsEditorDialog()), actionCollection, "edit_options" );
+ start = new TDEAction( i18n("Start conversion"), "system-run", 0, this, TQT_SLOT(convertSelectedItems()), actionCollection, "start_conversion" );
+ stop = new TDEAction( i18n("Stop conversion"), "process-stop", 0, this, TQT_SLOT(stopSelectedItems()), actionCollection, "stop_conversion" );
+ remove = new TDEAction( i18n("Remove"), "edittrash", Key_Delete, this, TQT_SLOT(removeSelectedItems()), actionCollection, "remove" );
+ paste = new TDEAction( i18n("Paste"), "edit-paste", 0, this, 0, actionCollection, "paste" ); // TODO paste
- connect( TQT_TQOBJECT(this), TQT_SIGNAL(selectionChanged()),
- TQT_TQOBJECT(this), TQT_SLOT(itemsSelected())
+ connect( this, TQT_SIGNAL(selectionChanged()),
+ this, TQT_SLOT(itemsSelected())
);
-// connect( TQT_TQOBJECT(this), TQT_SIGNAL(clicked(TQListViewItem*,const TQPoint&,int)),
-// TQT_TQOBJECT(this), TQT_SLOT(clickedSomewhere(TQListViewItem*,const TQPoint&,int))
+// connect( this, TQT_SIGNAL(clicked(TQListViewItem*,const TQPoint&,int)),
+// this, TQT_SLOT(clickedSomewhere(TQListViewItem*,const TQPoint&,int))
// );
bubble = new TQSimpleRichText( i18n( "<div align=center>"
@@ -191,7 +191,7 @@ FileList::FileList( CDManager* _cdManager, TagEngine* _tagEngine, Config* _confi
connect( header(), TQT_SIGNAL(sizeChange( int, int, int )),
TQT_SLOT(columnResizeEvent( int, int, int ))
);
- connect( TQT_TQOBJECT(this), TQT_SIGNAL( dropped(TQDropEvent*, TQListViewItem*, TQListViewItem*) ),
+ connect( this, TQT_SIGNAL( dropped(TQDropEvent*, TQListViewItem*, TQListViewItem*) ),
TQT_SLOT( slotDropped(TQDropEvent*, TQListViewItem*, TQListViewItem*) )
);
@@ -764,22 +764,22 @@ void FileList::showOptionsEditorDialog()
return;
}
// }
- connect( TQT_TQOBJECT(this), TQT_SIGNAL(editItems(TQValueList<FileListItem*>)),
+ connect( this, TQT_SIGNAL(editItems(TQValueList<FileListItem*>)),
optionsEditor, TQT_SLOT(itemsSelected(TQValueList<FileListItem*>))
);
- connect( TQT_TQOBJECT(this), TQT_SIGNAL(setPreviousItemEnabled(bool)),
+ connect( this, TQT_SIGNAL(setPreviousItemEnabled(bool)),
optionsEditor, TQT_SLOT(setPreviousEnabled(bool))
);
- connect( TQT_TQOBJECT(this), TQT_SIGNAL(setNextItemEnabled(bool)),
+ connect( this, TQT_SIGNAL(setNextItemEnabled(bool)),
optionsEditor, TQT_SLOT(setNextEnabled(bool))
);
connect( optionsEditor, TQT_SIGNAL(user2Clicked()),
- TQT_TQOBJECT(this), TQT_SLOT(selectPreviousItem())
+ this, TQT_SLOT(selectPreviousItem())
);
connect( optionsEditor, TQT_SIGNAL(user1Clicked()),
- TQT_TQOBJECT(this), TQT_SLOT(selectNextItem())
+ this, TQT_SLOT(selectNextItem())
);
- /*connect( TQT_TQOBJECT(this), TQT_SIGNAL(moveEditor(int,int)),
+ /*connect( this, TQT_SIGNAL(moveEditor(int,int)),
optionsEditor, TQT_SLOT(moveWindow(int,int))
);*/
}