|
|
@ -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);
|
|
|
|