[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdevelop/parts/cvs
From: Mario Scalas <mario.scalas () libero ! it>
Date: 2003-05-31 21:33:08
[Download RAW message or body]
CVS commit by marios:
#include headers clean-up
M +12 -6 cvspart.cpp 1.40
M +0 -3 cvspart.h 1.17
--- kdevelop/parts/cvs/cvspart.cpp #1.39:1.40
@@ -10,6 +10,4 @@
***************************************************************************/
-#include <qfileinfo.h>
-#include <qpopupmenu.h>
#include <kpopupmenu.h>
#include <kdebug.h>
@@ -20,4 +18,5 @@
#include <kstandarddirs.h>
#include <kaction.h>
+#include <kurl.h>
#include <kparts/part.h>
@@ -25,4 +24,6 @@
#include <kgenericfactory.h>
+#include <qfileinfo.h>
+#include <qpopupmenu.h>
#include <qlabel.h>
#include <qlineedit.h>
@@ -186,4 +187,6 @@ bool CvsPart::Private::findPaths()
{
kdDebug(9000) << "CvsPart::findPaths(): No project???" << endl;
+ KMessageBox::sorry( 0, i18n("Open a project first.\n"
+ "Operation will be aborted.") );
return false;
}
@@ -193,4 +196,6 @@ bool CvsPart::Private::findPaths()
{
kdDebug(9000) << "CvsPart::findPaths(): Unable to retrieve the Url \
for the active parte (is there any?)." << endl; + KMessageBox::sorry( \
0, i18n("Unable to find current document's path. Is any opened?\n" + \
"Operation will be aborted.") ); return false;
}
@@ -224,10 +229,12 @@ bool CvsPart::Private::prepareOperation(
if (!findPaths())
{
- kdDebug(9000) << " ** slotCommit(): aborting since findPath() == \
false." << endl; + kdDebug(9000) << " ** prepareOperation(): aborting \
since findPath() == false." << endl; return false;
}
if (!isRegisteredInRepository())
{
- kdDebug(9000) << " ** slotDiff(): aborting since file is not is \
repository." << endl; + kdDebug(9000) << " ** prepareOperation(): \
aborting since file is not is repository." << endl; + \
KMessageBox::sorry( 0, i18n("The file doesn't seem to belong to repository.\n" + \
"Operation will be aborted.") ); return false;
}
@@ -260,5 +267,4 @@ bool CvsPart::Private::isRegisteredInRep
kdDebug(9000) << "===> dirName = " << dirName << endl;
kdDebug(9000) << "===> entriesFilePath = " << entriesFilePath << endl;
- //kdDebug(9000) << "===> whatToSearch = " << whatToSearch << endl;
bool found = false;
@@ -507,5 +513,5 @@ void CvsPart::slotAdd()
if (!d->findPaths())
{
- kdDebug(9000) << " ** slotCommit(): aborting since findPath() == \
false." << endl; + kdDebug(9000) << " ** slotAdd(): aborting since \
findPath() == false." << endl; return;
}
--- kdevelop/parts/cvs/cvspart.h #1.16:1.17
@@ -13,7 +13,4 @@
#define _CVSPART_H_
-#include <qguardedptr.h>
-#include <kurl.h>
-
#include "kdevversioncontrol.h"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic