[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdevelop/parts
From: Dirk Mueller <mueller () kde ! org>
Date: 2004-02-22 4:43:52
Message-ID: 20040222044352.7C38A990E () office ! kde ! org
[Download RAW message or body]
CVS commit by mueller:
KURL handling fixlets
M +1 -1 ctags/ctagsdlg.cpp 1.18
M +1 -1 ctags/ctagspart.cpp 1.27
M +1 -1 diff/diffwidget.cpp 1.14
M +1 -1 doctreeview/choosedlg.cpp 1.3
M +1 -1 doctreeview/doctreeviewwidget.cpp 1.79
M +1 -1 filecreate/filecreate_newfile.cpp 1.13
M +1 -1 fileview/filegroupswidget.cpp 1.26
--- kdevelop/parts/ctags/ctagsdlg.cpp #1.17:1.18
@@ -233,5 +233,5 @@ void CTagsDialog::slotResultClicked(QLis
}
- m_part->partController()->editDocument(fileName, lineNum-1);
+ m_part->partController()->editDocument(KURL::fromPathOrURL( fileName ), \
lineNum-1); }
--- kdevelop/parts/ctags/ctagspart.cpp #1.26:1.27
@@ -163,5 +163,5 @@ void CTagsPart::gotoFinalTag( const QStr
}
- partController()->editDocument(fileName, lineNum-1);
+ partController()->editDocument(KURL::fromPathOrURL( fileName ), lineNum-1);
}
--- kdevelop/parts/diff/diffwidget.cpp #1.13:1.14
@@ -273,5 +273,5 @@ void DiffWidget::populateExtPart()
*(tempFile->textStream()) << te->text( i ) << endl;
tempFile->close();
- ok = extPart->openURL( tempFile->name() );
+ ok = extPart->openURL( KURL::fromPathOrURL( tempFile->name() ) );
}
if ( !ok )
--- kdevelop/parts/doctreeview/choosedlg.cpp #1.2:1.3
@@ -79,5 +79,5 @@ void ChooseDlg::slotItemExecuted(QListVi
if(item == 0) return;
- m_part->partController()->showDocument(item->text(1), item->text(0));
+ m_part->partController()->showDocument(KURL( item->text(1) ), item->text(0));
m_part->mainWindow()->lowerView(this);
--- kdevelop/parts/doctreeview/doctreeviewwidget.cpp #1.78:1.79
@@ -1798,5 +1798,5 @@ void DocTreeViewWidget::slotIndexItemExe
else if(resultList->count() == 1)
{
- m_part->partController()->showDocument(resultList->first()->fileName(), \
ident); + m_part->partController()->showDocument(KURL::fromPathOrURL( \
resultList->first()->fileName() ), ident); m_part->mainWindow()->lowerView(this);
}
--- kdevelop/parts/filecreate/filecreate_newfile.cpp #1.12:1.13
@@ -100,5 +100,5 @@ namespace FileCreate {
KURL NewFileChooser::url() const {
- KURL result = m_urlreq->url();
+ KURL result ( m_urlreq->url() );
result.cd( m_filename->text() );
return result;
--- kdevelop/parts/fileview/filegroupswidget.cpp #1.25:1.26
@@ -214,5 +214,5 @@ void FileGroupsWidget::slotItemExecuted(
FileGroupsFileItem *fgfitem = static_cast<FileGroupsFileItem*>(item);
- m_part->partController()->editDocument(QString("file://") + \
m_part->project()->projectDirectory() + "/" + fgfitem->fileName()); + \
m_part->partController()->editDocument(KURL::fromPathOrURL( \
m_part->project()->projectDirectory() + "/" + fgfitem->fileName() )); \
m_part->mainWindow()->lowerView(this); }
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic