Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/28/head
Michele Calgaro 11 months ago
parent 71d014f5e8
commit 1bc48a6ae2
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -43,13 +43,13 @@ BookmarkSelector::BookmarkSelector(URLNavigator* parent) :
m_bookmarksMenu = new TQPopupMenu(this); m_bookmarksMenu = new TQPopupMenu(this);
KBookmarkManager* manager = DolphinSettings::instance().bookmarkManager(); KBookmarkManager* manager = DolphinSettings::instance().bookmarkManager();
connect(manager, TQT_SIGNAL(changed(const TQString&, const TQString&)), connect(manager, TQ_SIGNAL(changed(const TQString&, const TQString&)),
this, TQT_SLOT(updateBookmarks())); this, TQ_SLOT(updateBookmarks()));
updateBookmarks(); updateBookmarks();
connect(m_bookmarksMenu, TQT_SIGNAL(activated(int)), connect(m_bookmarksMenu, TQ_SIGNAL(activated(int)),
this, TQT_SLOT(slotBookmarkActivated(int))); this, TQ_SLOT(slotBookmarkActivated(int)));
setPopup(m_bookmarksMenu); setPopup(m_bookmarksMenu);
} }

@ -61,12 +61,12 @@ BookmarksSettingsPage::BookmarksSettingsPage(TQWidget*parent) :
m_listView->setColumnAlignment(0, TQt::AlignHCenter); m_listView->setColumnAlignment(0, TQt::AlignHCenter);
m_listView->setAllColumnsShowFocus(true); m_listView->setAllColumnsShowFocus(true);
m_listView->setSorting(-1); m_listView->setSorting(-1);
connect(m_listView, TQT_SIGNAL(selectionChanged()), connect(m_listView, TQ_SIGNAL(selectionChanged()),
this, TQT_SLOT(updateButtons())); this, TQ_SLOT(updateButtons()));
connect(m_listView, TQT_SIGNAL(pressed(TQListViewItem*)), connect(m_listView, TQ_SIGNAL(pressed(TQListViewItem*)),
this, TQT_SLOT(slotBookmarkPressed(TQListViewItem*))); this, TQ_SLOT(slotBookmarkPressed(TQListViewItem*)));
connect(m_listView, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)), connect(m_listView, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)),
this, TQT_SLOT(slotBookmarkDoubleClicked(TQListViewItem*, const TQPoint&, int))); this, TQ_SLOT(slotBookmarkDoubleClicked(TQListViewItem*, const TQPoint&, int)));
TQVBox* buttonBox = new TQVBox(hBox); TQVBox* buttonBox = new TQVBox(hBox);
buttonBox->setSpacing(spacing); buttonBox->setSpacing(spacing);
@ -74,28 +74,28 @@ BookmarksSettingsPage::BookmarksSettingsPage(TQWidget*parent) :
const TQSizePolicy buttonSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Maximum); const TQSizePolicy buttonSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Maximum);
m_addButton = new KPushButton(i18n("Add..."), buttonBox); m_addButton = new KPushButton(i18n("Add..."), buttonBox);
connect(m_addButton, TQT_SIGNAL(clicked()), connect(m_addButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotAddButtonClicked())); this, TQ_SLOT(slotAddButtonClicked()));
m_addButton->setSizePolicy(buttonSizePolicy); m_addButton->setSizePolicy(buttonSizePolicy);
m_editButton = new KPushButton(i18n("Edit..."), buttonBox); m_editButton = new KPushButton(i18n("Edit..."), buttonBox);
connect(m_editButton, TQT_SIGNAL(clicked()), connect(m_editButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotEditButtonClicked())); this, TQ_SLOT(slotEditButtonClicked()));
m_editButton->setSizePolicy(buttonSizePolicy); m_editButton->setSizePolicy(buttonSizePolicy);
m_removeButton = new KPushButton(i18n("Remove"), buttonBox); m_removeButton = new KPushButton(i18n("Remove"), buttonBox);
connect(m_removeButton, TQT_SIGNAL(clicked()), connect(m_removeButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotRemoveButtonClicked())); this, TQ_SLOT(slotRemoveButtonClicked()));
m_removeButton->setSizePolicy(buttonSizePolicy); m_removeButton->setSizePolicy(buttonSizePolicy);
m_moveUpButton = new KPushButton(i18n("Move Up"), buttonBox); m_moveUpButton = new KPushButton(i18n("Move Up"), buttonBox);
connect(m_moveUpButton, TQT_SIGNAL(clicked()), connect(m_moveUpButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotMoveUpButtonClicked())); this, TQ_SLOT(slotMoveUpButtonClicked()));
m_moveUpButton->setSizePolicy(buttonSizePolicy); m_moveUpButton->setSizePolicy(buttonSizePolicy);
m_moveDownButton = new KPushButton(i18n("Move Down"), buttonBox); m_moveDownButton = new KPushButton(i18n("Move Down"), buttonBox);
connect(m_moveDownButton, TQT_SIGNAL(clicked()), connect(m_moveDownButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotMoveDownButtonClicked())); this, TQ_SLOT(slotMoveDownButtonClicked()));
m_moveDownButton->setSizePolicy(buttonSizePolicy); m_moveDownButton->setSizePolicy(buttonSizePolicy);
// Add a dummy widget with no restriction regarding a vertical resizing. // Add a dummy widget with no restriction regarding a vertical resizing.

@ -43,14 +43,14 @@ BookmarksSidebarPage::BookmarksSidebarPage(TQWidget* parent) :
m_bookmarksList->setPaletteBackgroundColor(colorGroup().background()); m_bookmarksList->setPaletteBackgroundColor(colorGroup().background());
layout->addWidget(m_bookmarksList); layout->addWidget(m_bookmarksList);
connect(m_bookmarksList, TQT_SIGNAL(mouseButtonClicked(int, TQListBoxItem*, const TQPoint&)), connect(m_bookmarksList, TQ_SIGNAL(mouseButtonClicked(int, TQListBoxItem*, const TQPoint&)),
this, TQT_SLOT(slotMouseButtonClicked(int, TQListBoxItem*))); this, TQ_SLOT(slotMouseButtonClicked(int, TQListBoxItem*)));
connect(m_bookmarksList, TQT_SIGNAL(contextMenuRequested(TQListBoxItem*, const TQPoint&)), connect(m_bookmarksList, TQ_SIGNAL(contextMenuRequested(TQListBoxItem*, const TQPoint&)),
this, TQT_SLOT(slotContextMenuRequested(TQListBoxItem*, const TQPoint&))); this, TQ_SLOT(slotContextMenuRequested(TQListBoxItem*, const TQPoint&)));
KBookmarkManager* manager = DolphinSettings::instance().bookmarkManager(); KBookmarkManager* manager = DolphinSettings::instance().bookmarkManager();
connect(manager, TQT_SIGNAL(changed(const TQString&, const TQString&)), connect(manager, TQ_SIGNAL(changed(const TQString&, const TQString&)),
this, TQT_SLOT(updateBookmarks())); this, TQ_SLOT(updateBookmarks()));
updateBookmarks(); updateBookmarks();
} }
@ -234,8 +234,8 @@ void BookmarksSidebarPage::connectToActiveView()
{ {
DolphinView* view = Dolphin::mainWin().activeView(); DolphinView* view = Dolphin::mainWin().activeView();
adjustSelection(view->url()); adjustSelection(view->url());
connect(view, TQT_SIGNAL(signalURLChanged(const KURL&)), connect(view, TQ_SIGNAL(signalURLChanged(const KURL&)),
this, TQT_SLOT(slotURLChanged(const KURL&))); this, TQ_SLOT(slotURLChanged(const KURL&)));
} }
BookmarksListBox::BookmarksListBox(TQWidget* parent) : BookmarksListBox::BookmarksListBox(TQWidget* parent) :

@ -553,10 +553,10 @@ void Dolphin::deleteItems()
) == KMessageBox::Continue; ) == KMessageBox::Continue;
if (del) { if (del) {
TDEIO::Job* job = TDEIO::del(list); TDEIO::Job* job = TDEIO::del(list);
connect(job, TQT_SIGNAL(result(TDEIO::Job*)), connect(job, TQ_SIGNAL(result(TDEIO::Job*)),
this, TQT_SLOT(slotHandleJobError(TDEIO::Job*))); this, TQ_SLOT(slotHandleJobError(TDEIO::Job*)));
connect(job, TQT_SIGNAL(result(TDEIO::Job*)), connect(job, TQ_SIGNAL(result(TDEIO::Job*)),
this, TQT_SLOT(slotDeleteFileFinished(TDEIO::Job*))); this, TQ_SLOT(slotDeleteFileFinished(TDEIO::Job*)));
} }
} }
@ -1148,8 +1148,8 @@ void Dolphin::init()
setAutoSaveSettings(); setAutoSaveSettings();
TQClipboard* clipboard = TQApplication::clipboard(); TQClipboard* clipboard = TQApplication::clipboard();
connect(clipboard, TQT_SIGNAL(dataChanged()), connect(clipboard, TQ_SIGNAL(dataChanged()),
this, TQT_SLOT(updatePasteAction())); this, TQ_SLOT(updatePasteAction()));
updatePasteAction(); updatePasteAction();
updateGoActions(); updateGoActions();
@ -1180,173 +1180,173 @@ void Dolphin::setupActions()
{ {
// setup 'File' menu // setup 'File' menu
TDEAction* createFolder = new TDEAction(i18n("Folder..."), "Ctrl+N", TDEAction* createFolder = new TDEAction(i18n("Folder..."), "Ctrl+N",
this, TQT_SLOT(createFolder()), this, TQ_SLOT(createFolder()),
actionCollection(), "create_folder"); actionCollection(), "create_folder");
createFolder->setIcon("folder"); createFolder->setIcon("folder");
new TDEAction(i18n("Rename"), KKey(Key_F2), new TDEAction(i18n("Rename"), KKey(Key_F2),
this, TQT_SLOT(rename()), this, TQ_SLOT(rename()),
actionCollection(), "rename"); actionCollection(), "rename");
TDEAction* moveToTrashAction = new TDEAction(i18n("Move to Trash"), KKey(Key_Delete), TDEAction* moveToTrashAction = new TDEAction(i18n("Move to Trash"), KKey(Key_Delete),
this, TQT_SLOT(moveToTrash()), this, TQ_SLOT(moveToTrash()),
actionCollection(), "move_to_trash"); actionCollection(), "move_to_trash");
moveToTrashAction->setIcon("edittrash"); moveToTrashAction->setIcon("edittrash");
TDEAction* deleteAction = new TDEAction(i18n("Delete"), "Shift+Delete", TDEAction* deleteAction = new TDEAction(i18n("Delete"), "Shift+Delete",
this, TQT_SLOT(deleteItems()), this, TQ_SLOT(deleteItems()),
actionCollection(), "delete"); actionCollection(), "delete");
deleteAction->setIcon("edit-delete"); deleteAction->setIcon("edit-delete");
new TDEAction(i18n("Propert&ies"), "edit", "Alt+Return", new TDEAction(i18n("Propert&ies"), "edit", "Alt+Return",
this, TQT_SLOT(properties()), this, TQ_SLOT(properties()),
actionCollection(), "properties"); actionCollection(), "properties");
KStdAction::quit(this, TQT_SLOT(quit()), actionCollection()); KStdAction::quit(this, TQ_SLOT(quit()), actionCollection());
// setup 'Edit' menu // setup 'Edit' menu
UndoManager& undoManager = UndoManager::instance(); UndoManager& undoManager = UndoManager::instance();
KStdAction::undo(&undoManager, KStdAction::undo(&undoManager,
TQT_SLOT(undo()), TQ_SLOT(undo()),
actionCollection()); actionCollection());
connect(&undoManager, TQT_SIGNAL(undoAvailable(bool)), connect(&undoManager, TQ_SIGNAL(undoAvailable(bool)),
this, TQT_SLOT(slotUndoAvailable(bool))); this, TQ_SLOT(slotUndoAvailable(bool)));
connect(&undoManager, TQT_SIGNAL(undoTextChanged(const TQString&)), connect(&undoManager, TQ_SIGNAL(undoTextChanged(const TQString&)),
this, TQT_SLOT(slotUndoTextChanged(const TQString&))); this, TQ_SLOT(slotUndoTextChanged(const TQString&)));
KStdAction::redo(&undoManager, KStdAction::redo(&undoManager,
TQT_SLOT(redo()), TQ_SLOT(redo()),
actionCollection()); actionCollection());
connect(&undoManager, TQT_SIGNAL(redoAvailable(bool)), connect(&undoManager, TQ_SIGNAL(redoAvailable(bool)),
this, TQT_SLOT(slotRedoAvailable(bool))); this, TQ_SLOT(slotRedoAvailable(bool)));
connect(&undoManager, TQT_SIGNAL(redoTextChanged(const TQString&)), connect(&undoManager, TQ_SIGNAL(redoTextChanged(const TQString&)),
this, TQT_SLOT(slotRedoTextChanged(const TQString&))); this, TQ_SLOT(slotRedoTextChanged(const TQString&)));
KStdAction::cut(this, TQT_SLOT(cut()), actionCollection()); KStdAction::cut(this, TQ_SLOT(cut()), actionCollection());
KStdAction::copy(this, TQT_SLOT(copy()), actionCollection()); KStdAction::copy(this, TQ_SLOT(copy()), actionCollection());
KStdAction::paste(this, TQT_SLOT(paste()), actionCollection()); KStdAction::paste(this, TQ_SLOT(paste()), actionCollection());
new TDEAction(i18n("Select All"), "Ctrl+A", new TDEAction(i18n("Select All"), "Ctrl+A",
this, TQT_SLOT(selectAll()), this, TQ_SLOT(selectAll()),
actionCollection(), "select_all"); actionCollection(), "select_all");
new TDEAction(i18n("Invert Selection"), "Ctrl+Shift+A", new TDEAction(i18n("Invert Selection"), "Ctrl+Shift+A",
this, TQT_SLOT(invertSelection()), this, TQ_SLOT(invertSelection()),
actionCollection(), "invert_selection"); actionCollection(), "invert_selection");
// setup 'View' menu // setup 'View' menu
KStdAction::zoomIn(this, KStdAction::zoomIn(this,
TQT_SLOT(zoomIn()), TQ_SLOT(zoomIn()),
actionCollection()); actionCollection());
KStdAction::zoomOut(this, KStdAction::zoomOut(this,
TQT_SLOT(zoomOut()), TQ_SLOT(zoomOut()),
actionCollection()); actionCollection());
TDERadioAction* iconsView = new TDERadioAction(i18n("Icons"), "Ctrl+1", TDERadioAction* iconsView = new TDERadioAction(i18n("Icons"), "Ctrl+1",
this, TQT_SLOT(setIconsView()), this, TQ_SLOT(setIconsView()),
actionCollection(), "icons"); actionCollection(), "icons");
iconsView->setExclusiveGroup("view_mode"); iconsView->setExclusiveGroup("view_mode");
iconsView->setIcon("view_icon"); iconsView->setIcon("view_icon");
TDERadioAction* detailsView = new TDERadioAction(i18n("Details"), "Ctrl+2", TDERadioAction* detailsView = new TDERadioAction(i18n("Details"), "Ctrl+2",
this, TQT_SLOT(setDetailsView()), this, TQ_SLOT(setDetailsView()),
actionCollection(), "details"); actionCollection(), "details");
detailsView->setExclusiveGroup("view_mode"); detailsView->setExclusiveGroup("view_mode");
detailsView->setIcon("view_text"); detailsView->setIcon("view_text");
TDERadioAction* previewsView = new TDERadioAction(i18n("Previews"), "Ctrl+3", TDERadioAction* previewsView = new TDERadioAction(i18n("Previews"), "Ctrl+3",
this, TQT_SLOT(setPreviewsView()), this, TQ_SLOT(setPreviewsView()),
actionCollection(), "previews"); actionCollection(), "previews");
previewsView->setExclusiveGroup("view_mode"); previewsView->setExclusiveGroup("view_mode");
previewsView->setIcon("gvdirpart"); previewsView->setIcon("gvdirpart");
TDERadioAction* sortByName = new TDERadioAction(i18n("By Name"), 0, TDERadioAction* sortByName = new TDERadioAction(i18n("By Name"), 0,
this, TQT_SLOT(sortByName()), this, TQ_SLOT(sortByName()),
actionCollection(), "by_name"); actionCollection(), "by_name");
sortByName->setExclusiveGroup("sort"); sortByName->setExclusiveGroup("sort");
TDERadioAction* sortBySize = new TDERadioAction(i18n("By Size"), 0, TDERadioAction* sortBySize = new TDERadioAction(i18n("By Size"), 0,
this, TQT_SLOT(sortBySize()), this, TQ_SLOT(sortBySize()),
actionCollection(), "by_size"); actionCollection(), "by_size");
sortBySize->setExclusiveGroup("sort"); sortBySize->setExclusiveGroup("sort");
TDERadioAction* sortByDate = new TDERadioAction(i18n("By Date"), 0, TDERadioAction* sortByDate = new TDERadioAction(i18n("By Date"), 0,
this, TQT_SLOT(sortByDate()), this, TQ_SLOT(sortByDate()),
actionCollection(), "by_date"); actionCollection(), "by_date");
sortByDate->setExclusiveGroup("sort"); sortByDate->setExclusiveGroup("sort");
new TDEToggleAction(i18n("Descending"), 0, this, TQT_SLOT(toggleSortOrder()), new TDEToggleAction(i18n("Descending"), 0, this, TQ_SLOT(toggleSortOrder()),
actionCollection(), "descending"); actionCollection(), "descending");
new TDEToggleAction(i18n("Show Hidden Files"), "Alt+.", new TDEToggleAction(i18n("Show Hidden Files"), "Alt+.",
this, TQT_SLOT(showHiddenFiles()), this, TQ_SLOT(showHiddenFiles()),
actionCollection(), "show_hidden_files"); actionCollection(), "show_hidden_files");
TDEToggleAction* splitAction = new TDEToggleAction(i18n("Split View"), "F10", TDEToggleAction* splitAction = new TDEToggleAction(i18n("Split View"), "F10",
this, TQT_SLOT(toggleSplitView()), this, TQ_SLOT(toggleSplitView()),
actionCollection(), "split_view"); actionCollection(), "split_view");
splitAction->setIcon("view_left_right"); splitAction->setIcon("view_left_right");
TDEAction* reloadAction = new TDEAction(i18n("Reload"), "F5", TDEAction* reloadAction = new TDEAction(i18n("Reload"), "F5",
this, TQT_SLOT(reloadView()), this, TQ_SLOT(reloadView()),
actionCollection(), "reload"); actionCollection(), "reload");
reloadAction->setIcon("reload"); reloadAction->setIcon("reload");
TDEAction* stopAction = new TDEAction(i18n("Stop"), 0, TDEAction* stopAction = new TDEAction(i18n("Stop"), 0,
this, TQT_SLOT(stopLoading()), this, TQ_SLOT(stopLoading()),
actionCollection(), "stop"); actionCollection(), "stop");
stopAction->setIcon("process-stop"); stopAction->setIcon("process-stop");
new TDEAction(i18n("Edit Location"), "Ctrl+L", new TDEAction(i18n("Edit Location"), "Ctrl+L",
this, TQT_SLOT(editLocation()), this, TQ_SLOT(editLocation()),
actionCollection(), "edit_location"); actionCollection(), "edit_location");
new TDEAction(i18n("Browse"), "Ctrl+B", new TDEAction(i18n("Browse"), "Ctrl+B",
this, TQT_SLOT(browse()), this, TQ_SLOT(browse()),
actionCollection(), "browse"); actionCollection(), "browse");
new TDEToggleAction(i18n("Left Sidebar"), "F8", new TDEToggleAction(i18n("Left Sidebar"), "F8",
this, TQT_SLOT(toggleleftSidebar()), this, TQ_SLOT(toggleleftSidebar()),
actionCollection(), "leftsidebar"); actionCollection(), "leftsidebar");
new TDEToggleAction(i18n("Right Sidebar"), "F9", new TDEToggleAction(i18n("Right Sidebar"), "F9",
this, TQT_SLOT(togglerightSidebar()), this, TQ_SLOT(togglerightSidebar()),
actionCollection(), "rightsidebar"); actionCollection(), "rightsidebar");
new TDEAction(i18n("Adjust View Properties..."), 0, new TDEAction(i18n("Adjust View Properties..."), 0,
this, TQT_SLOT(adjustViewProperties()), this, TQ_SLOT(adjustViewProperties()),
actionCollection(), "view_properties"); actionCollection(), "view_properties");
// setup 'Go' menu // setup 'Go' menu
KStdAction::back(this, TQT_SLOT(goBack()), actionCollection()); KStdAction::back(this, TQ_SLOT(goBack()), actionCollection());
KStdAction::forward(this, TQT_SLOT(goForward()), actionCollection()); KStdAction::forward(this, TQ_SLOT(goForward()), actionCollection());
KStdAction::up(this, TQT_SLOT(goUp()), actionCollection()); KStdAction::up(this, TQ_SLOT(goUp()), actionCollection());
KStdAction::home(this, TQT_SLOT(goHome()), actionCollection()); KStdAction::home(this, TQ_SLOT(goHome()), actionCollection());
// setup 'Tools' menu // setup 'Tools' menu
TDEAction* openTerminalAction = new TDEAction(i18n("Open Terminal"), "F4", TDEAction* openTerminalAction = new TDEAction(i18n("Open Terminal"), "F4",
this, TQT_SLOT(openTerminal()), this, TQ_SLOT(openTerminal()),
actionCollection(), "open_terminal"); actionCollection(), "open_terminal");
openTerminalAction->setIcon("konsole"); openTerminalAction->setIcon("konsole");
TDEAction* findFileAction = new TDEAction(i18n("Find File..."), "Ctrl+F", TDEAction* findFileAction = new TDEAction(i18n("Find File..."), "Ctrl+F",
this, TQT_SLOT(findFile()), this, TQ_SLOT(findFile()),
actionCollection(), "find_file"); actionCollection(), "find_file");
findFileAction->setIcon("filefind"); findFileAction->setIcon("filefind");
new TDEToggleAction(i18n("Show Filter Bar"), "filter", "/", new TDEToggleAction(i18n("Show Filter Bar"), "filter", "/",
this, TQT_SLOT(showFilterBar()), this, TQ_SLOT(showFilterBar()),
actionCollection(), "show_filter_bar"); actionCollection(), "show_filter_bar");
TDEAction* compareFilesAction = new TDEAction(i18n("Compare Files"), 0, TDEAction* compareFilesAction = new TDEAction(i18n("Compare Files"), 0,
this, TQT_SLOT(compareFiles()), this, TQ_SLOT(compareFiles()),
actionCollection(), "compare_files"); actionCollection(), "compare_files");
compareFilesAction->setIcon("kompare"); compareFilesAction->setIcon("kompare");
compareFilesAction->setEnabled(false); compareFilesAction->setEnabled(false);
// setup 'Settings' menu // setup 'Settings' menu
KStdAction::preferences(this, TQT_SLOT(editSettings()), actionCollection()); KStdAction::preferences(this, TQ_SLOT(editSettings()), actionCollection());
} }
void Dolphin::setupCreateNewMenuActions() void Dolphin::setupCreateNewMenuActions()
@ -1414,8 +1414,8 @@ void Dolphin::setupCreateNewMenuActions()
TDEAction* action = new TDEAction(entry.name); TDEAction* action = new TDEAction(entry.name);
action->setIcon(entry.icon); action->setIcon(entry.icon);
action->setName((*it).index().ascii()); action->setName((*it).index().ascii());
connect(action, TQT_SIGNAL(activated()), connect(action, TQ_SIGNAL(activated()),
this, TQT_SLOT(createFile())); this, TQ_SLOT(createFile()));
const TQChar section = ((*it).index()[0]); const TQChar section = ((*it).index()[0]);
switch (section) { switch (section) {
@ -1599,8 +1599,8 @@ void Dolphin::addPendingUndoJob(TDEIO::Job* job,
const KURL::List& source, const KURL::List& source,
const KURL& dest) const KURL& dest)
{ {
connect(job, TQT_SIGNAL(result(TDEIO::Job*)), connect(job, TQ_SIGNAL(result(TDEIO::Job*)),
this, TQT_SLOT(addUndoOperation(TDEIO::Job*))); this, TQ_SLOT(addUndoOperation(TDEIO::Job*)));
UndoInfo undoInfo; UndoInfo undoInfo;
undoInfo.id = job->progressId(); undoInfo.id = job->progressId();
@ -1623,8 +1623,8 @@ void Dolphin::openleftSidebar()
m_leftsidebar = new leftSidebar(m_splitter); m_leftsidebar = new leftSidebar(m_splitter);
m_leftsidebar->show(); m_leftsidebar->show();
connect(m_leftsidebar, TQT_SIGNAL(urlChanged(const KURL&)), connect(m_leftsidebar, TQ_SIGNAL(urlChanged(const KURL&)),
this, TQT_SLOT(slotURLChangeRequest(const KURL&))); this, TQ_SLOT(slotURLChangeRequest(const KURL&)));
m_splitter->setCollapsible(m_leftsidebar, false); m_splitter->setCollapsible(m_leftsidebar, false);
m_splitter->setResizeMode(m_leftsidebar, TQSplitter::KeepSize); m_splitter->setResizeMode(m_leftsidebar, TQSplitter::KeepSize);
m_splitter->moveToFirst(m_leftsidebar); m_splitter->moveToFirst(m_leftsidebar);
@ -1643,8 +1643,8 @@ void Dolphin::openrightSidebar()
m_rightsidebar = new rightSidebar(m_splitter); m_rightsidebar = new rightSidebar(m_splitter);
m_rightsidebar->show(); m_rightsidebar->show();
connect(m_rightsidebar, TQT_SIGNAL(urlChanged(const KURL&)), connect(m_rightsidebar, TQ_SIGNAL(urlChanged(const KURL&)),
this, TQT_SLOT(slotURLChangeRequest(const KURL&))); this, TQ_SLOT(slotURLChangeRequest(const KURL&)));
m_splitter->setCollapsible(m_rightsidebar, false); m_splitter->setCollapsible(m_rightsidebar, false);
m_splitter->setResizeMode(m_rightsidebar, TQSplitter::KeepSize); m_splitter->setResizeMode(m_rightsidebar, TQSplitter::KeepSize);
m_splitter->moveToLast(m_rightsidebar); m_splitter->moveToLast(m_rightsidebar);

@ -49,8 +49,8 @@ DolphinDetailsView::DolphinDetailsView(DolphinView* parent) :
m_rubber(0) m_rubber(0)
{ {
m_resizeTimer = new TQTimer(this); m_resizeTimer = new TQTimer(this);
connect(m_resizeTimer, TQT_SIGNAL(timeout()), connect(m_resizeTimer, TQ_SIGNAL(timeout()),
this, TQT_SLOT(updateColumnsWidth())); this, TQ_SLOT(updateColumnsWidth()));
setAcceptDrops(true); setAcceptDrops(true);
setSelectionMode(KFile::Extended); setSelectionMode(KFile::Extended);
@ -63,30 +63,30 @@ DolphinDetailsView::DolphinDetailsView(DolphinView* parent) :
Dolphin& dolphin = Dolphin::mainWin(); Dolphin& dolphin = Dolphin::mainWin();
connect(this, TQT_SIGNAL(onItem(TQListViewItem*)), connect(this, TQ_SIGNAL(onItem(TQListViewItem*)),
this, TQT_SLOT(slotOnItem(TQListViewItem*))); this, TQ_SLOT(slotOnItem(TQListViewItem*)));
connect(this, TQT_SIGNAL(onViewport()), connect(this, TQ_SIGNAL(onViewport()),
this, TQT_SLOT(slotOnViewport())); this, TQ_SLOT(slotOnViewport()));
connect(this, TQT_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)), connect(this, TQ_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)),
this, TQT_SLOT(slotContextMenuRequested(TQListViewItem*, const TQPoint&, int))); this, TQ_SLOT(slotContextMenuRequested(TQListViewItem*, const TQPoint&, int)));
connect(this, TQT_SIGNAL(selectionChanged()), connect(this, TQ_SIGNAL(selectionChanged()),
&dolphin, TQT_SLOT(slotSelectionChanged())); &dolphin, TQ_SLOT(slotSelectionChanged()));
connect(&dolphin, TQT_SIGNAL(activeViewChanged()), connect(&dolphin, TQ_SIGNAL(activeViewChanged()),
this, TQT_SLOT(slotActivationUpdate())); this, TQ_SLOT(slotActivationUpdate()));
connect(this, TQT_SIGNAL(itemRenamed(TQListViewItem*, const TQString&, int)), connect(this, TQ_SIGNAL(itemRenamed(TQListViewItem*, const TQString&, int)),
this, TQT_SLOT(slotItemRenamed(TQListViewItem*, const TQString&, int))); this, TQ_SLOT(slotItemRenamed(TQListViewItem*, const TQString&, int)));
connect(this, TQT_SIGNAL(dropped(TQDropEvent*, const KURL::List&, const KURL&)), connect(this, TQ_SIGNAL(dropped(TQDropEvent*, const KURL::List&, const KURL&)),
parent, TQT_SLOT(slotURLListDropped(TQDropEvent*, const KURL::List&, const KURL&))); parent, TQ_SLOT(slotURLListDropped(TQDropEvent*, const KURL::List&, const KURL&)));
TQClipboard* clipboard = TQApplication::clipboard(); TQClipboard* clipboard = TQApplication::clipboard();
connect(clipboard, TQT_SIGNAL(dataChanged()), connect(clipboard, TQ_SIGNAL(dataChanged()),
this, TQT_SLOT(slotUpdateDisabledItems())); this, TQ_SLOT(slotUpdateDisabledItems()));
TQHeader* viewHeader = header(); TQHeader* viewHeader = header();
viewHeader->setResizeEnabled(false); viewHeader->setResizeEnabled(false);
viewHeader->setMovingEnabled(false); viewHeader->setMovingEnabled(false);
connect(viewHeader, TQT_SIGNAL(clicked(int)), connect(viewHeader, TQ_SIGNAL(clicked(int)),
this, TQT_SLOT(slotHeaderClicked(int))); this, TQ_SLOT(slotHeaderClicked(int)));
setMouseTracking(true); setMouseTracking(true);
setDefaultRenameAction(TQListView::Accept); setDefaultRenameAction(TQListView::Accept);
@ -425,8 +425,8 @@ void DolphinDetailsView::contentsMouseReleaseEvent(TQMouseEvent* event)
} }
if (m_scrollTimer != 0) { if (m_scrollTimer != 0) {
disconnect(m_scrollTimer, TQT_SIGNAL(timeout()), disconnect(m_scrollTimer, TQ_SIGNAL(timeout()),
this, TQT_SLOT(slotAutoScroll())); this, TQ_SLOT(slotAutoScroll()));
m_scrollTimer->stop(); m_scrollTimer->stop();
delete m_scrollTimer; delete m_scrollTimer;
m_scrollTimer = 0; m_scrollTimer = 0;
@ -582,14 +582,14 @@ void DolphinDetailsView::slotAutoScroll()
if (scroll) { if (scroll) {
if (m_scrollTimer == 0) { if (m_scrollTimer == 0) {
m_scrollTimer = new TQTimer( this ); m_scrollTimer = new TQTimer( this );
connect(m_scrollTimer, TQT_SIGNAL(timeout()), connect(m_scrollTimer, TQ_SIGNAL(timeout()),
this, TQT_SLOT(slotAutoScroll())); this, TQ_SLOT(slotAutoScroll()));
m_scrollTimer->start(100, false); m_scrollTimer->start(100, false);
} }
} }
else if (m_scrollTimer != 0) { else if (m_scrollTimer != 0) {
disconnect(m_scrollTimer, TQT_SIGNAL(timeout()), disconnect(m_scrollTimer, TQ_SIGNAL(timeout()),
this, TQT_SLOT(slotAutoScroll())); this, TQ_SLOT(slotAutoScroll()));
m_scrollTimer->stop(); m_scrollTimer->stop();
delete m_scrollTimer; delete m_scrollTimer;
m_scrollTimer = 0; m_scrollTimer = 0;

@ -49,24 +49,24 @@ DolphinIconsView::DolphinIconsView(DolphinView* parent, LayoutMode layoutMode) :
setSelectionMode(KFile::Extended); setSelectionMode(KFile::Extended);
Dolphin& dolphin = Dolphin::mainWin(); Dolphin& dolphin = Dolphin::mainWin();
connect(this, TQT_SIGNAL(onItem(TQIconViewItem*)), connect(this, TQ_SIGNAL(onItem(TQIconViewItem*)),
this, TQT_SLOT(slotOnItem(TQIconViewItem*))); this, TQ_SLOT(slotOnItem(TQIconViewItem*)));
connect(this, TQT_SIGNAL(onViewport()), connect(this, TQ_SIGNAL(onViewport()),
this, TQT_SLOT(slotOnViewport())); this, TQ_SLOT(slotOnViewport()));
connect(this, TQT_SIGNAL(contextMenuRequested(TQIconViewItem*, const TQPoint&)), connect(this, TQ_SIGNAL(contextMenuRequested(TQIconViewItem*, const TQPoint&)),
this, TQT_SLOT(slotContextMenuRequested(TQIconViewItem*, const TQPoint&))); this, TQ_SLOT(slotContextMenuRequested(TQIconViewItem*, const TQPoint&)));
connect(this, TQT_SIGNAL(selectionChanged()), connect(this, TQ_SIGNAL(selectionChanged()),
&dolphin, TQT_SLOT(slotSelectionChanged())); &dolphin, TQ_SLOT(slotSelectionChanged()));
connect(&dolphin, TQT_SIGNAL(activeViewChanged()), connect(&dolphin, TQ_SIGNAL(activeViewChanged()),
this, TQT_SLOT(slotActivationUpdate())); this, TQ_SLOT(slotActivationUpdate()));
connect(this, TQT_SIGNAL(itemRenamed(TQIconViewItem*, const TQString&)), connect(this, TQ_SIGNAL(itemRenamed(TQIconViewItem*, const TQString&)),
this, TQT_SLOT(slotItemRenamed(TQIconViewItem*, const TQString&))); this, TQ_SLOT(slotItemRenamed(TQIconViewItem*, const TQString&)));
connect(this, TQT_SIGNAL(dropped(TQDropEvent*, const KURL::List&, const KURL&)), connect(this, TQ_SIGNAL(dropped(TQDropEvent*, const KURL::List&, const KURL&)),
parent, TQT_SLOT(slotURLListDropped(TQDropEvent*, const KURL::List&, const KURL&))); parent, TQ_SLOT(slotURLListDropped(TQDropEvent*, const KURL::List&, const KURL&)));
TQClipboard* clipboard = TQApplication::clipboard(); TQClipboard* clipboard = TQApplication::clipboard();
connect(clipboard, TQT_SIGNAL(dataChanged()), connect(clipboard, TQ_SIGNAL(dataChanged()),
this, TQT_SLOT(slotUpdateDisabledItems())); this, TQ_SLOT(slotUpdateDisabledItems()));
// KFileIconView creates two actions for zooming, which are directly connected to the // KFileIconView creates two actions for zooming, which are directly connected to the
// slots KFileIconView::zoomIn() and KFileIconView::zoomOut(). As this behavior is not // slots KFileIconView::zoomIn() and KFileIconView::zoomOut(). As this behavior is not
@ -111,7 +111,7 @@ void DolphinIconsView::endItemUpdates()
// has been finished. Using a delay of 300 ms is a temporary workaround // has been finished. Using a delay of 300 ms is a temporary workaround
// until the DolphinIconsView will implement the previews by it's own in // until the DolphinIconsView will implement the previews by it's own in
// future releases. // future releases.
TQTimer::singleShot(300, this, TQT_SLOT(slotUpdateDisabledItems())); TQTimer::singleShot(300, this, TQ_SLOT(slotUpdateDisabledItems()));
const KFileIconViewItem* item = static_cast<const KFileIconViewItem*>(firstItem()); const KFileIconViewItem* item = static_cast<const KFileIconViewItem*>(firstItem());
if (item != 0) { if (item != 0) {

@ -48,16 +48,16 @@ DolphinStatusBar::DolphinStatusBar(DolphinView* parent) :
m_progressBar->hide(); m_progressBar->hide();
m_progressTimer = new TQTimer(this); m_progressTimer = new TQTimer(this);
connect(m_progressTimer, TQT_SIGNAL(timeout()), connect(m_progressTimer, TQ_SIGNAL(timeout()),
this, TQT_SLOT(slotProgressTimer())); this, TQ_SLOT(slotProgressTimer()));
const TQSize size(m_progressBar->sizeHint()); const TQSize size(m_progressBar->sizeHint());
m_progressBar->setMaximumWidth(size.width()); m_progressBar->setMaximumWidth(size.width());
setMinimumHeight(size.height()); setMinimumHeight(size.height());
m_messageLabel->setMinimumTextHeight(size.height()); m_messageLabel->setMinimumTextHeight(size.height());
connect(parent, TQT_SIGNAL(signalURLChanged(const KURL&)), connect(parent, TQ_SIGNAL(signalURLChanged(const KURL&)),
this, TQT_SLOT(slotURLChanged(const KURL&))); this, TQ_SLOT(slotURLChanged(const KURL&)));
} }

@ -63,22 +63,22 @@ DolphinView::DolphinView(TQWidget *parent,
Dolphin& dolphin = Dolphin::mainWin(); Dolphin& dolphin = Dolphin::mainWin();
connect(this, TQT_SIGNAL(signalModeChanged()), connect(this, TQ_SIGNAL(signalModeChanged()),
&dolphin, TQT_SLOT(slotViewModeChanged())); &dolphin, TQ_SLOT(slotViewModeChanged()));
connect(this, TQT_SIGNAL(signalShowHiddenFilesChanged()), connect(this, TQ_SIGNAL(signalShowHiddenFilesChanged()),
&dolphin, TQT_SLOT(slotShowHiddenFilesChanged())); &dolphin, TQ_SLOT(slotShowHiddenFilesChanged()));
connect(this, TQT_SIGNAL(signalSortingChanged(DolphinView::Sorting)), connect(this, TQ_SIGNAL(signalSortingChanged(DolphinView::Sorting)),
&dolphin, TQT_SLOT(slotSortingChanged(DolphinView::Sorting))); &dolphin, TQ_SLOT(slotSortingChanged(DolphinView::Sorting)));
connect(this, TQT_SIGNAL(signalSortOrderChanged(TQt::SortOrder)), connect(this, TQ_SIGNAL(signalSortOrderChanged(TQt::SortOrder)),
&dolphin, TQT_SLOT(slotSortOrderChanged(TQt::SortOrder))); &dolphin, TQ_SLOT(slotSortOrderChanged(TQt::SortOrder)));
m_urlNavigator = new URLNavigator(url, this); m_urlNavigator = new URLNavigator(url, this);
connect(m_urlNavigator, TQT_SIGNAL(urlChanged(const KURL&)), connect(m_urlNavigator, TQ_SIGNAL(urlChanged(const KURL&)),
this, TQT_SLOT(slotURLChanged(const KURL&))); this, TQ_SLOT(slotURLChanged(const KURL&)));
connect(m_urlNavigator, TQT_SIGNAL(urlChanged(const KURL&)), connect(m_urlNavigator, TQ_SIGNAL(urlChanged(const KURL&)),
&dolphin, TQT_SLOT(slotURLChanged(const KURL&))); &dolphin, TQ_SLOT(slotURLChanged(const KURL&)));
connect(m_urlNavigator, TQT_SIGNAL(historyChanged()), connect(m_urlNavigator, TQ_SIGNAL(historyChanged()),
&dolphin, TQT_SLOT(slotHistoryChanged())); &dolphin, TQ_SLOT(slotHistoryChanged()));
m_statusBar = new DolphinStatusBar(this); m_statusBar = new DolphinStatusBar(this);
@ -86,22 +86,22 @@ DolphinView::DolphinView(TQWidget *parent,
m_dirLister->setAutoUpdate(true); m_dirLister->setAutoUpdate(true);
m_dirLister->setMainWindow(this); m_dirLister->setMainWindow(this);
m_dirLister->setShowingDotFiles(showHiddenFiles); m_dirLister->setShowingDotFiles(showHiddenFiles);
connect(m_dirLister, TQT_SIGNAL(clear()), connect(m_dirLister, TQ_SIGNAL(clear()),
this, TQT_SLOT(slotClear())); this, TQ_SLOT(slotClear()));
connect(m_dirLister, TQT_SIGNAL(percent(int)), connect(m_dirLister, TQ_SIGNAL(percent(int)),
this, TQT_SLOT(slotPercent(int))); this, TQ_SLOT(slotPercent(int)));
connect(m_dirLister, TQT_SIGNAL(deleteItem(KFileItem*)), connect(m_dirLister, TQ_SIGNAL(deleteItem(KFileItem*)),
this, TQT_SLOT(slotDeleteItem(KFileItem*))); this, TQ_SLOT(slotDeleteItem(KFileItem*)));
connect(m_dirLister, TQT_SIGNAL(completed()), connect(m_dirLister, TQ_SIGNAL(completed()),
this, TQT_SLOT(slotCompleted())); this, TQ_SLOT(slotCompleted()));
connect(m_dirLister, TQT_SIGNAL(infoMessage(const TQString&)), connect(m_dirLister, TQ_SIGNAL(infoMessage(const TQString&)),
this, TQT_SLOT(slotInfoMessage(const TQString&))); this, TQ_SLOT(slotInfoMessage(const TQString&)));
connect(m_dirLister, TQT_SIGNAL(errorMessage(const TQString&)), connect(m_dirLister, TQ_SIGNAL(errorMessage(const TQString&)),
this, TQT_SLOT(slotErrorMessage(const TQString&))); this, TQ_SLOT(slotErrorMessage(const TQString&)));
connect(m_dirLister, TQT_SIGNAL(refreshItems (const KFileItemList&)), connect(m_dirLister, TQ_SIGNAL(refreshItems (const KFileItemList&)),
this, TQT_SLOT(slotRefreshItems(const KFileItemList&))); this, TQ_SLOT(slotRefreshItems(const KFileItemList&)));
connect(m_dirLister, TQT_SIGNAL(newItems(const KFileItemList&)), connect(m_dirLister, TQ_SIGNAL(newItems(const KFileItemList&)),
this, TQT_SLOT(slotAddItems(const KFileItemList&))); this, TQ_SLOT(slotAddItems(const KFileItemList&)));
m_iconSize = TDEIcon::SizeMedium; m_iconSize = TDEIcon::SizeMedium;
@ -111,8 +111,8 @@ DolphinView::DolphinView(TQWidget *parent,
m_filterBar = new FilterBar(this); m_filterBar = new FilterBar(this);
m_filterBar->hide(); m_filterBar->hide();
m_topLayout->addWidget(m_filterBar); m_topLayout->addWidget(m_filterBar);
connect(m_filterBar, TQT_SIGNAL(signalFilterChanged(const TQString&)), connect(m_filterBar, TQ_SIGNAL(signalFilterChanged(const TQString&)),
this, TQT_SLOT(slotChangeNameFilter(const TQString&))); this, TQ_SLOT(slotChangeNameFilter(const TQString&)));
m_topLayout->addWidget(m_statusBar); m_topLayout->addWidget(m_statusBar);
} }
@ -652,7 +652,7 @@ void DolphinView::triggerIconsViewItem(TQIconViewItem* item)
if ((item != 0) && !isSelectionActive) { if ((item != 0) && !isSelectionActive) {
// Updating the URL must be done outside the scope of this slot, // Updating the URL must be done outside the scope of this slot,
// as iconview items will get deleted. // as iconview items will get deleted.
TQTimer::singleShot(0, this, TQT_SLOT(updateURL())); TQTimer::singleShot(0, this, TQ_SLOT(updateURL()));
Dolphin::mainWin().setActiveView(this); Dolphin::mainWin().setActiveView(this);
} }
} }
@ -668,7 +668,7 @@ void DolphinView::triggerDetailsViewItem(TQListViewItem* item,
if (m_detailsView->isOnFilename(item, pos)) { if (m_detailsView->isOnFilename(item, pos)) {
// Updating the URL must be done outside the scope of this slot, // Updating the URL must be done outside the scope of this slot,
// as listview items will get deleted. // as listview items will get deleted.
TQTimer::singleShot(0, this, TQT_SLOT(updateURL())); TQTimer::singleShot(0, this, TQ_SLOT(updateURL()));
Dolphin::mainWin().setActiveView(this); Dolphin::mainWin().setActiveView(this);
} }
else { else {
@ -831,7 +831,7 @@ void DolphinView::slotCompleted()
// Prevent a flickering of the icon view widget by giving a small // Prevent a flickering of the icon view widget by giving a small
// timeslot to swallow asynchronous update events. // timeslot to swallow asynchronous update events.
m_iconsView->setUpdatesEnabled(false); m_iconsView->setUpdatesEnabled(false);
TQTimer::singleShot(10, this, TQT_SLOT(slotDelayedUpdate())); TQTimer::singleShot(10, this, TQ_SLOT(slotDelayedUpdate()));
} }
if (m_detailsView != 0) { if (m_detailsView != 0) {
@ -861,7 +861,7 @@ void DolphinView::slotErrorMessage(const TQString& msg)
void DolphinView::slotRefreshItems(const KFileItemList& /* list */) void DolphinView::slotRefreshItems(const KFileItemList& /* list */)
{ {
TQTimer::singleShot(0, this, TQT_SLOT(reload())); TQTimer::singleShot(0, this, TQ_SLOT(reload()));
} }
void DolphinView::slotAddItems(const KFileItemList& list) void DolphinView::slotAddItems(const KFileItemList& list)
@ -900,12 +900,12 @@ void DolphinView::createView()
m_topLayout->insertWidget(1, m_iconsView); m_topLayout->insertWidget(1, m_iconsView);
setFocusProxy(m_iconsView); setFocusProxy(m_iconsView);
connect(m_iconsView, TQT_SIGNAL(executed(TQIconViewItem*)), connect(m_iconsView, TQ_SIGNAL(executed(TQIconViewItem*)),
this, TQT_SLOT(triggerIconsViewItem(TQIconViewItem*))); this, TQ_SLOT(triggerIconsViewItem(TQIconViewItem*)));
connect(m_iconsView, TQT_SIGNAL(returnPressed(TQIconViewItem*)), connect(m_iconsView, TQ_SIGNAL(returnPressed(TQIconViewItem*)),
this, TQT_SLOT(triggerIconsViewItem(TQIconViewItem*))); this, TQ_SLOT(triggerIconsViewItem(TQIconViewItem*)));
connect(m_iconsView, TQT_SIGNAL(signalRequestActivation()), connect(m_iconsView, TQ_SIGNAL(signalRequestActivation()),
this, TQT_SLOT(slotGrabActivation())); this, TQ_SLOT(slotGrabActivation()));
m_iconsView->endItemUpdates(); m_iconsView->endItemUpdates();
m_iconsView->show(); m_iconsView->show();
@ -918,12 +918,12 @@ void DolphinView::createView()
m_topLayout->insertWidget(1, m_detailsView); m_topLayout->insertWidget(1, m_detailsView);
setFocusProxy(m_detailsView); setFocusProxy(m_detailsView);
connect(m_detailsView, TQT_SIGNAL(executed(TQListViewItem*, const TQPoint&, int)), connect(m_detailsView, TQ_SIGNAL(executed(TQListViewItem*, const TQPoint&, int)),
this, TQT_SLOT(triggerDetailsViewItem(TQListViewItem*, const TQPoint&, int))); this, TQ_SLOT(triggerDetailsViewItem(TQListViewItem*, const TQPoint&, int)));
connect(m_detailsView, TQT_SIGNAL(returnPressed(TQListViewItem*)), connect(m_detailsView, TQ_SIGNAL(returnPressed(TQListViewItem*)),
this, TQT_SLOT(triggerDetailsViewItem(TQListViewItem*))); this, TQ_SLOT(triggerDetailsViewItem(TQListViewItem*)));
connect(m_detailsView, TQT_SIGNAL(signalRequestActivation()), connect(m_detailsView, TQ_SIGNAL(signalRequestActivation()),
this, TQT_SLOT(slotGrabActivation())); this, TQ_SLOT(slotGrabActivation()));
m_detailsView->show(); m_detailsView->show();
m_detailsView->setFocus(); m_detailsView->setFocus();
break; break;
@ -933,8 +933,8 @@ void DolphinView::createView()
break; break;
} }
connect(scrollView(), TQT_SIGNAL(contentsMoving(int, int)), connect(scrollView(), TQ_SIGNAL(contentsMoving(int, int)),
this, TQT_SLOT(slotContentsMoving(int, int))); this, TQ_SLOT(slotContentsMoving(int, int)));
startDirLister(m_urlNavigator->url()); startDirLister(m_urlNavigator->url());
} }

@ -73,8 +73,8 @@ EditBookmarkDialog::EditBookmarkDialog(const TQString& title,
m_iconName = icon; m_iconName = icon;
m_iconButton = new TQPushButton(SmallIcon(m_iconName), TQString(), grid); m_iconButton = new TQPushButton(SmallIcon(m_iconName), TQString(), grid);
m_iconButton->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed); m_iconButton->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed);
connect(m_iconButton, TQT_SIGNAL(clicked()), connect(m_iconButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(selectIcon())); this, TQ_SLOT(selectIcon()));
// create name widgets // create name widgets
new TQLabel(i18n("Name:"), grid); new TQLabel(i18n("Name:"), grid);
@ -93,8 +93,8 @@ EditBookmarkDialog::EditBookmarkDialog(const TQString& title,
TQPushButton* selectLocationButton = new TQPushButton(SmallIcon("folder"), TQString(), locationBox); TQPushButton* selectLocationButton = new TQPushButton(SmallIcon("folder"), TQString(), locationBox);
selectLocationButton->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed); selectLocationButton->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed);
connect(selectLocationButton, TQT_SIGNAL(clicked()), connect(selectLocationButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(selectLocation())); this, TQ_SLOT(selectLocation()));
topLayout->addWidget(grid); topLayout->addWidget(grid);
} }

@ -54,11 +54,11 @@ FilterBar::FilterBar(TQWidget *parent, const char *name) :
layout->addWidget(m_close); layout->addWidget(m_close);
layout->addSpacing(gap); layout->addSpacing(gap);
connect(m_filterInput, TQT_SIGNAL(textChanged(const TQString&)), connect(m_filterInput, TQ_SIGNAL(textChanged(const TQString&)),
this, TQT_SIGNAL(signalFilterChanged(const TQString&))); this, TQ_SIGNAL(signalFilterChanged(const TQString&)));
connect(m_close, TQT_SIGNAL(clicked()), this, TQT_SLOT(hide())); connect(m_close, TQ_SIGNAL(clicked()), this, TQ_SLOT(hide()));
connect(m_close, TQT_SIGNAL(clicked()), connect(m_close, TQ_SIGNAL(clicked()),
&Dolphin::mainWin(), TQT_SLOT(slotShowFilterBarChanged())); &Dolphin::mainWin(), TQ_SLOT(slotShowFilterBarChanged()));
} }
FilterBar::~FilterBar() FilterBar::~FilterBar()

@ -71,18 +71,18 @@ GeneralSettingsPage::GeneralSettingsPage(TQWidget* parent) :
m_homeURL = new TQLineEdit(settings.homeURL().prettyURL(), homeURLBox); m_homeURL = new TQLineEdit(settings.homeURL().prettyURL(), homeURLBox);
TQPushButton* selectHomeURLButton = new TQPushButton(SmallIcon("folder"), TQString(), homeURLBox); TQPushButton* selectHomeURLButton = new TQPushButton(SmallIcon("folder"), TQString(), homeURLBox);
connect(selectHomeURLButton, TQT_SIGNAL(clicked()), connect(selectHomeURLButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(selectHomeURL())); this, TQ_SLOT(selectHomeURL()));
TQHBox* buttonBox = new TQHBox(homeGroup); TQHBox* buttonBox = new TQHBox(homeGroup);
buttonBox->setSizePolicy(sizePolicy); buttonBox->setSizePolicy(sizePolicy);
buttonBox->setSpacing(spacing); buttonBox->setSpacing(spacing);
TQPushButton* useCurrentButton = new TQPushButton(i18n("Use current location"), buttonBox); TQPushButton* useCurrentButton = new TQPushButton(i18n("Use current location"), buttonBox);
connect(useCurrentButton, TQT_SIGNAL(clicked()), connect(useCurrentButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(useCurrentLocation())); this, TQ_SLOT(useCurrentLocation()));
TQPushButton* useDefaultButton = new TQPushButton(i18n("Use default location"), buttonBox); TQPushButton* useDefaultButton = new TQPushButton(i18n("Use default location"), buttonBox);
connect(useDefaultButton, TQT_SIGNAL(clicked()), connect(useDefaultButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(useDefaulLocation())); this, TQ_SLOT(useDefaulLocation()));
// create 'Default View Mode' group // create 'Default View Mode' group
TQButtonGroup* buttonGroup = new TQButtonGroup(3, TQt::Vertical, i18n("Default View Mode"), vBox); TQButtonGroup* buttonGroup = new TQButtonGroup(3, TQt::Vertical, i18n("Default View Mode"), vBox);

@ -78,8 +78,8 @@ IconsViewSettingsPage::IconsViewSettingsPage(DolphinIconsView::LayoutMode mode,
m_iconSizeSlider = new TQSlider(0, 5, 1, 0, TQt::Horizontal, iconSizeVBox); m_iconSizeSlider = new TQSlider(0, 5, 1, 0, TQt::Horizontal, iconSizeVBox);
m_iconSizeSlider->setValue(sliderValue(settings->iconSize())); m_iconSizeSlider->setValue(sliderValue(settings->iconSize()));
m_iconSizeSlider->setTickmarks(TQSlider::Below); m_iconSizeSlider->setTickmarks(TQSlider::Below);
connect(m_iconSizeSlider, TQT_SIGNAL(valueChanged(int)), connect(m_iconSizeSlider, TQ_SIGNAL(valueChanged(int)),
this, TQT_SLOT(slotIconSizeChanged(int))); this, TQ_SLOT(slotIconSizeChanged(int)));
new TQLabel(i18n("Large"), iconSizeVBox); new TQLabel(i18n("Large"), iconSizeVBox);
m_iconSizeViewer = new PixmapViewer(iconSizeGroup); m_iconSizeViewer = new PixmapViewer(iconSizeGroup);
@ -100,8 +100,8 @@ IconsViewSettingsPage::IconsViewSettingsPage(DolphinIconsView::LayoutMode mode,
m_previewSizeSlider = new TQSlider(0, 5, 1, 0, TQt::Horizontal, previewSizeVBox); m_previewSizeSlider = new TQSlider(0, 5, 1, 0, TQt::Horizontal, previewSizeVBox);
m_previewSizeSlider->setValue(sliderValue(settings->previewSize())); m_previewSizeSlider->setValue(sliderValue(settings->previewSize()));
m_previewSizeSlider->setTickmarks(TQSlider::Below); m_previewSizeSlider->setTickmarks(TQSlider::Below);
connect(m_previewSizeSlider, TQT_SIGNAL(valueChanged(int)), connect(m_previewSizeSlider, TQ_SIGNAL(valueChanged(int)),
this, TQT_SLOT(slotPreviewSizeChanged(int))); this, TQ_SLOT(slotPreviewSizeChanged(int)));
new TQLabel(i18n("Large"), previewSizeVBox); new TQLabel(i18n("Large"), previewSizeVBox);
m_previewSizeViewer = new PixmapViewer(previewSizeGroup); m_previewSizeViewer = new PixmapViewer(previewSizeGroup);

@ -60,8 +60,8 @@ InfoSidebarPage::InfoSidebarPage(TQWidget* parent) :
const int spacing = KDialog::spacingHint(); const int spacing = KDialog::spacingHint();
m_timer = new TQTimer(this); m_timer = new TQTimer(this);
connect(m_timer, TQT_SIGNAL(timeout()), connect(m_timer, TQ_SIGNAL(timeout()),
this, TQT_SLOT(slotTimeout())); this, TQ_SLOT(slotTimeout()));
TQVBoxLayout* layout = new TQVBoxLayout(this); TQVBoxLayout* layout = new TQVBoxLayout(this);
layout->setSpacing(spacing); layout->setSpacing(spacing);
@ -106,8 +106,8 @@ InfoSidebarPage::InfoSidebarPage(TQWidget* parent) :
layout->addWidget(m_actionBox); layout->addWidget(m_actionBox);
layout->addWidget(dummy); layout->addWidget(dummy);
connect(&Dolphin::mainWin(), TQT_SIGNAL(selectionChanged()), connect(&Dolphin::mainWin(), TQ_SIGNAL(selectionChanged()),
this, TQT_SLOT(showItemInfo())); this, TQ_SLOT(showItemInfo()));
connectToActiveView(); connectToActiveView();
} }
@ -173,10 +173,10 @@ void InfoSidebarPage::showItemInfo()
TDEIO::PreviewJob* job = TDEIO::filePreview(list, TDEIO::PreviewJob* job = TDEIO::filePreview(list,
m_preview->width(), m_preview->width(),
TDEIcon::SizeEnormous); TDEIcon::SizeEnormous);
connect(job, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), connect(job, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
this, TQT_SLOT(gotPreview(const KFileItem*, const TQPixmap&))); this, TQ_SLOT(gotPreview(const KFileItem*, const TQPixmap&)));
connect(job, TQT_SIGNAL(failed(const KFileItem*)), connect(job, TQ_SIGNAL(failed(const KFileItem*)),
this, TQT_SLOT(slotPreviewFailed(const KFileItem*))); this, TQ_SLOT(slotPreviewFailed(const KFileItem*)));
TQString text("<b>"); TQString text("<b>");
text.append(m_shownURL.fileName()); text.append(m_shownURL.fileName());
@ -228,10 +228,10 @@ void InfoSidebarPage::connectToActiveView()
cancelRequest(); cancelRequest();
DolphinView* view = Dolphin::mainWin().activeView(); DolphinView* view = Dolphin::mainWin().activeView();
connect(view, TQT_SIGNAL(signalRequestItemInfo(const KURL&)), connect(view, TQ_SIGNAL(signalRequestItemInfo(const KURL&)),
this, TQT_SLOT(requestDelayedItemInfo(const KURL&))); this, TQ_SLOT(requestDelayedItemInfo(const KURL&)));
connect(view, TQT_SIGNAL(signalURLChanged(const KURL&)), connect(view, TQ_SIGNAL(signalURLChanged(const KURL&)),
this, TQT_SLOT(requestItemInfo(const KURL&))); this, TQ_SLOT(requestItemInfo(const KURL&)));
m_shownURL = view->url(); m_shownURL = view->url();
showItemInfo(); showItemInfo();
@ -486,8 +486,8 @@ void InfoSidebarPage::insertActions()
if (!submenuName.isEmpty()) { if (!submenuName.isEmpty()) {
// create a sub menu containing all actions // create a sub menu containing all actions
popup = new TQPopupMenu(); popup = new TQPopupMenu();
connect(popup, TQT_SIGNAL(activated(int)), connect(popup, TQ_SIGNAL(activated(int)),
this, TQT_SLOT(startService(int))); this, TQ_SLOT(startService(int)));
TQPushButton* button = new TQPushButton(submenuName, m_actionBox); TQPushButton* button = new TQPushButton(submenuName, m_actionBox);
button->setFlat(true); button->setFlat(true);
@ -508,8 +508,8 @@ void InfoSidebarPage::insertActions()
service.m_strName, service.m_strName,
m_actionBox, m_actionBox,
actionsIndex); actionsIndex);
connect(button, TQT_SIGNAL(requestServiceStart(int)), connect(button, TQ_SIGNAL(requestServiceStart(int)),
this, TQT_SLOT(startService(int))); this, TQ_SLOT(startService(int)));
m_actionWidgets.append(button); m_actionWidgets.append(button);
button->show(); button->show();
} }
@ -537,8 +537,8 @@ ServiceButton::ServiceButton(const TQIconSet& icon,
{ {
setEraseColor(colorGroup().background()); setEraseColor(colorGroup().background());
setFocusPolicy(TQWidget::NoFocus); setFocusPolicy(TQWidget::NoFocus);
connect(this, TQT_SIGNAL(released()), connect(this, TQ_SIGNAL(released()),
this, TQT_SLOT(slotReleased())); this, TQ_SLOT(slotReleased()));
} }
ServiceButton::~ServiceButton() ServiceButton::~ServiceButton()

@ -23,8 +23,8 @@
SidebarPage::SidebarPage(TQWidget* parent) : SidebarPage::SidebarPage(TQWidget* parent) :
TQWidget(parent) TQWidget(parent)
{ {
connect(&Dolphin::mainWin(), TQT_SIGNAL(activeViewChanged()), connect(&Dolphin::mainWin(), TQ_SIGNAL(activeViewChanged()),
this, TQT_SLOT(activeViewChanged())); this, TQ_SLOT(activeViewChanged()));
} }
SidebarPage::~SidebarPage() SidebarPage::~SidebarPage()

@ -65,8 +65,8 @@ leftSidebar::leftSidebar(TQWidget* parent) :
createPage(selectedIndex); createPage(selectedIndex);
connect(m_pagesSelector, TQT_SIGNAL(activated(int)), connect(m_pagesSelector, TQ_SIGNAL(activated(int)),
this, TQT_SLOT(createPage(int))); this, TQ_SLOT(createPage(int)));
} }
leftSidebar::~leftSidebar() leftSidebar::~leftSidebar()
@ -140,8 +140,8 @@ rightSidebar::rightSidebar(TQWidget* parent) :
createPage(selectedIndex); createPage(selectedIndex);
connect(m_pagesSelector, TQT_SIGNAL(activated(int)), connect(m_pagesSelector, TQ_SIGNAL(activated(int)),
this, TQT_SLOT(createPage(int))); this, TQ_SLOT(createPage(int)));
} }
rightSidebar::~rightSidebar() rightSidebar::~rightSidebar()

@ -36,8 +36,8 @@ StatusBarMessageLabel::StatusBarMessageLabel(TQWidget* parent) :
setMinimumHeight(TDEIcon::SizeSmall); setMinimumHeight(TDEIcon::SizeSmall);
m_timer = new TQTimer(this); m_timer = new TQTimer(this);
connect(m_timer, TQT_SIGNAL(timeout()), connect(m_timer, TQ_SIGNAL(timeout()),
this, TQT_SLOT(timerDone())); this, TQ_SLOT(timerDone()));
} }
StatusBarMessageLabel::~StatusBarMessageLabel() StatusBarMessageLabel::~StatusBarMessageLabel()
@ -138,7 +138,7 @@ void StatusBarMessageLabel::paintEvent(TQPaintEvent* /* event */)
void StatusBarMessageLabel::resizeEvent(TQResizeEvent* event) void StatusBarMessageLabel::resizeEvent(TQResizeEvent* event)
{ {
TQWidget::resizeEvent(event); TQWidget::resizeEvent(event);
TQTimer::singleShot(0, this, TQT_SLOT(assureVisibleText())); TQTimer::singleShot(0, this, TQ_SLOT(assureVisibleText()));
} }
void StatusBarMessageLabel::timerDone() void StatusBarMessageLabel::timerDone()

@ -38,7 +38,7 @@ StatusBarSpaceInfo::StatusBarSpaceInfo(TQWidget* parent) :
// Update the space information each 10 seconds. Polling is useful // Update the space information each 10 seconds. Polling is useful
// here, as files can be deleted/added outside the scope of Dolphin. // here, as files can be deleted/added outside the scope of Dolphin.
TQTimer* timer = new TQTimer(this); TQTimer* timer = new TQTimer(this);
connect(timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(refresh())); connect(timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(refresh()));
timer->start(10000); timer->start(10000);
} }
@ -98,7 +98,7 @@ void StatusBarSpaceInfo::paintEvent(TQPaintEvent* /* event */)
} }
else { else {
text = ""; text = "";
TQTimer::singleShot(0, this, TQT_SLOT(hide())); TQTimer::singleShot(0, this, TQ_SLOT(hide()));
} }
} }
@ -150,16 +150,16 @@ void StatusBarSpaceInfo::refresh()
const TQString mountPoint(TDEIO::findPathMountPoint(m_url.path())); const TQString mountPoint(TDEIO::findPathMountPoint(m_url.path()));
KDiskFreeSp* job = new KDiskFreeSp(this); KDiskFreeSp* job = new KDiskFreeSp(this);
connect(job, TQT_SIGNAL(foundMountPoint(const unsigned long&, connect(job, TQ_SIGNAL(foundMountPoint(const unsigned long&,
const unsigned long&, const unsigned long&,
const unsigned long&, const unsigned long&,
const TQString& )), const TQString& )),
this, TQT_SLOT(slotFoundMountPoint(const unsigned long&, this, TQ_SLOT(slotFoundMountPoint(const unsigned long&,
const unsigned long&, const unsigned long&,
const unsigned long&, const unsigned long&,
const TQString& ))); const TQString& )));
connect(job, TQT_SIGNAL(done()), connect(job, TQ_SIGNAL(done()),
this, TQT_SLOT(slotDone())); this, TQ_SLOT(slotDone()));
job->readDF(mountPoint); job->readDF(mountPoint);
} }

@ -205,8 +205,8 @@ void UndoManager::undo()
if (job != 0) { if (job != 0) {
// Execute the jobs in a synchronous manner and forward the progress // Execute the jobs in a synchronous manner and forward the progress
// information to the Dolphin statusbar. // information to the Dolphin statusbar.
connect(job, TQT_SIGNAL(percent(TDEIO::Job*, unsigned long)), connect(job, TQ_SIGNAL(percent(TDEIO::Job*, unsigned long)),
this, TQT_SLOT(slotPercent(TDEIO::Job*, unsigned long))); this, TQ_SLOT(slotPercent(TDEIO::Job*, unsigned long)));
TDEIO::NetAccess::synchronousRun(job, &Dolphin::mainWin()); TDEIO::NetAccess::synchronousRun(job, &Dolphin::mainWin());
} }
@ -309,8 +309,8 @@ void UndoManager::redo()
if (job != 0) { if (job != 0) {
// Execute the jobs in a synchronous manner and forward the progress // Execute the jobs in a synchronous manner and forward the progress
// information to the Dolphin statusbar. // information to the Dolphin statusbar.
connect(job, TQT_SIGNAL(percent(TDEIO::Job*, unsigned long)), connect(job, TQ_SIGNAL(percent(TDEIO::Job*, unsigned long)),
this, TQT_SLOT(slotPercent(TDEIO::Job*, unsigned long))); this, TQ_SLOT(slotPercent(TDEIO::Job*, unsigned long)));
TDEIO::NetAccess::synchronousRun(job, &dolphin); TDEIO::NetAccess::synchronousRun(job, &dolphin);
} }
@ -358,7 +358,7 @@ void UndoManager::slotPercent(TDEIO::Job* /* job */, unsigned long /* percent */
{ {
// It is not allowed to update the progress indicator in the context // It is not allowed to update the progress indicator in the context
// of this slot, hence do an asynchronous triggering. // of this slot, hence do an asynchronous triggering.
TQTimer::singleShot(0, this, TQT_SLOT(updateProgress())); TQTimer::singleShot(0, this, TQ_SLOT(updateProgress()));
} }
void UndoManager::updateProgress() void UndoManager::updateProgress()

@ -41,9 +41,9 @@ URLButton::URLButton(URLNavigator* parent)
setSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Fixed); setSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Fixed);
setMinimumHeight(parent->minimumHeight()); setMinimumHeight(parent->minimumHeight());
connect(this, TQT_SIGNAL(clicked()), parent, TQT_SLOT(slotRequestActivation())); connect(this, TQ_SIGNAL(clicked()), parent, TQ_SLOT(slotRequestActivation()));
connect(&Dolphin::mainWin(), TQT_SIGNAL(activeViewChanged()), connect(&Dolphin::mainWin(), TQ_SIGNAL(activeViewChanged()),
this, TQT_SLOT(update())); this, TQ_SLOT(update()));
} }
URLButton::~URLButton() URLButton::~URLButton()

@ -85,15 +85,15 @@ URLNavigator::URLNavigator(const KURL& url,
m_toggleButton->setToggleButton(true); m_toggleButton->setToggleButton(true);
m_toggleButton->setFocusPolicy(TQWidget::NoFocus); m_toggleButton->setFocusPolicy(TQWidget::NoFocus);
m_toggleButton->setMinimumHeight(minimumHeight()); m_toggleButton->setMinimumHeight(minimumHeight());
connect(m_toggleButton, TQT_SIGNAL(clicked()), connect(m_toggleButton, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotClicked())); this, TQ_SLOT(slotClicked()));
if (DolphinSettings::instance().isURLEditable()) { if (DolphinSettings::instance().isURLEditable()) {
m_toggleButton->toggle(); m_toggleButton->toggle();
} }
m_bookmarkSelector = new BookmarkSelector(this); m_bookmarkSelector = new BookmarkSelector(this);
connect(m_bookmarkSelector, TQT_SIGNAL(bookmarkActivated(int)), connect(m_bookmarkSelector, TQ_SIGNAL(bookmarkActivated(int)),
this, TQT_SLOT(slotBookmarkActivated(int))); this, TQ_SLOT(slotBookmarkActivated(int)));
m_pathBox = new KURLComboBox(KURLComboBox::Directories, true, this); m_pathBox = new KURLComboBox(KURLComboBox::Directories, true, this);
@ -101,13 +101,13 @@ URLNavigator::URLNavigator(const KURL& url,
m_pathBox->setCompletionObject(kurlCompletion); m_pathBox->setCompletionObject(kurlCompletion);
m_pathBox->setAutoDeleteCompletionObject(true); m_pathBox->setAutoDeleteCompletionObject(true);
connect(m_pathBox, TQT_SIGNAL(returnPressed(const TQString&)), connect(m_pathBox, TQ_SIGNAL(returnPressed(const TQString&)),
this, TQT_SLOT(slotReturnPressed(const TQString&))); this, TQ_SLOT(slotReturnPressed(const TQString&)));
connect(m_pathBox, TQT_SIGNAL(urlActivated(const KURL&)), connect(m_pathBox, TQ_SIGNAL(urlActivated(const KURL&)),
this, TQT_SLOT(slotURLActivated(const KURL&))); this, TQ_SLOT(slotURLActivated(const KURL&)));
connect(dolphinView, TQT_SIGNAL(contentsMoved(int, int)), connect(dolphinView, TQ_SIGNAL(contentsMoved(int, int)),
this, TQT_SLOT(slotContentsMoved(int, int))); this, TQ_SLOT(slotContentsMoved(int, int)));
updateContent(); updateContent();
} }

@ -46,11 +46,11 @@ URLNavigatorButton::URLNavigatorButton(int index, URLNavigator* parent) :
setAcceptDrops(true); setAcceptDrops(true);
setMinimumWidth(arrowWidth()); setMinimumWidth(arrowWidth());
setIndex(index); setIndex(index);
connect(this, TQT_SIGNAL(clicked()), this, TQT_SLOT(updateNavigatorURL())); connect(this, TQ_SIGNAL(clicked()), this, TQ_SLOT(updateNavigatorURL()));
m_popupDelay = new TQTimer(this); m_popupDelay = new TQTimer(this);
connect(m_popupDelay, TQT_SIGNAL(timeout()), this, TQT_SLOT(startListJob())); connect(m_popupDelay, TQ_SIGNAL(timeout()), this, TQ_SLOT(startListJob()));
connect(this, TQT_SIGNAL(pressed()), this, TQT_SLOT(startPopupDelay())); connect(this, TQ_SIGNAL(pressed()), this, TQ_SLOT(startPopupDelay()));
} }
URLNavigatorButton::~URLNavigatorButton() URLNavigatorButton::~URLNavigatorButton()
@ -263,9 +263,9 @@ void URLNavigatorButton::startListJob()
m_listJob = TDEIO::listDir(url, false, false); m_listJob = TDEIO::listDir(url, false, false);
m_subdirs.clear(); // just to be ++safe m_subdirs.clear(); // just to be ++safe
connect(m_listJob, TQT_SIGNAL(entries(TDEIO::Job*, const TDEIO::UDSEntryList &)), connect(m_listJob, TQ_SIGNAL(entries(TDEIO::Job*, const TDEIO::UDSEntryList &)),
this, TQT_SLOT(entriesList(TDEIO::Job*, const TDEIO::UDSEntryList&))); this, TQ_SLOT(entriesList(TDEIO::Job*, const TDEIO::UDSEntryList&)));
connect(m_listJob, TQT_SIGNAL(result(TDEIO::Job*)), this, TQT_SLOT(listJobFinished(TDEIO::Job*))); connect(m_listJob, TQ_SIGNAL(result(TDEIO::Job*)), this, TQ_SLOT(listJobFinished(TDEIO::Job*)));
} }
void URLNavigatorButton::entriesList(TDEIO::Job* job, const TDEIO::UDSEntryList& entries) void URLNavigatorButton::entriesList(TDEIO::Job* job, const TDEIO::UDSEntryList& entries)

@ -118,20 +118,20 @@ ViewPropertiesDialog::ViewPropertiesDialog(DolphinView* dolphinView) :
topLayout->addWidget(propsGroup); topLayout->addWidget(propsGroup);
topLayout->addWidget(buttonGroup); topLayout->addWidget(buttonGroup);
connect(m_viewMode, TQT_SIGNAL(activated(int)), connect(m_viewMode, TQ_SIGNAL(activated(int)),
this, TQT_SLOT(slotViewModeChanged(int))); this, TQ_SLOT(slotViewModeChanged(int)));
connect(m_sorting, TQT_SIGNAL(activated(int)), connect(m_sorting, TQ_SIGNAL(activated(int)),
this, TQT_SLOT(slotSortingChanged(int))); this, TQ_SLOT(slotSortingChanged(int)));
connect(m_sortOrder, TQT_SIGNAL(activated(int)), connect(m_sortOrder, TQ_SIGNAL(activated(int)),
this, TQT_SLOT(slotSortOrderChanged(int))); this, TQ_SLOT(slotSortOrderChanged(int)));
connect(m_showHiddenFiles, TQT_SIGNAL(clicked()), connect(m_showHiddenFiles, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotShowHiddenFilesChanged())); this, TQ_SLOT(slotShowHiddenFilesChanged()));
connect(m_applyToCurrentFolder, TQT_SIGNAL(clicked()), connect(m_applyToCurrentFolder, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotApplyToCurrentFolder())); this, TQ_SLOT(slotApplyToCurrentFolder()));
connect(m_applyToSubFolders, TQT_SIGNAL(clicked()), connect(m_applyToSubFolders, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotApplyToSubFolders())); this, TQ_SLOT(slotApplyToSubFolders()));
connect(m_applyToAllFolders, TQT_SIGNAL(clicked()), connect(m_applyToAllFolders, TQ_SIGNAL(clicked()),
this, TQT_SLOT(slotApplyToAllFolders())); this, TQ_SLOT(slotApplyToAllFolders()));
} }
ViewPropertiesDialog::~ViewPropertiesDialog() ViewPropertiesDialog::~ViewPropertiesDialog()

Loading…
Cancel
Save