[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdevplatform/plugins
From: Amilcar do Carmo Lucas <amilcar () kdevelop ! org>
Date: 2009-01-04 2:11:17
Message-ID: 1231035077.038980.31617.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 905266 by aclu:
Fix crazy issues (FALSE, and double-quotes)
M +3 -3 documentation/addcatalogdlg.h
M +3 -3 documentation/editcatalogdlg.h
M +1 -1 documentation/find_documentation_options.h
M +3 -3 quickopen/projectfilequickopen.cpp
M +2 -2 quickopen/projectitemquickopen.cpp
M +1 -1 subversion/kdevsvncpp/client_cat.cpp
M +6 -6 subversion/kdevsvncpp/client_diff.cpp
M +1 -1 subversion/kdevsvncpp/client_modify.cpp
M +1 -1 subversion/kdevsvncpp/client_status.cpp
M +1 -1 subversion/kdevsvncpp/exception.cpp
M +4 -4 subversion/svnclient.cpp
M +1 -1 subversion/svndiffjob.cpp
--- trunk/KDE/kdevplatform/plugins/documentation/addcatalogdlg.h #905265:905266
@@ -30,7 +30,7 @@
{
Q_OBJECT
public:
- AddCatalogDlg( QValueList<DocumentationPlugin*> const & plugins, QWidget* parent = \
0, const char* name = 0, bool modal = FALSE, WFlags fl = 0); + AddCatalogDlg( \
QValueList<DocumentationPlugin*> const & plugins, QWidget* parent = 0, const char* \
name = 0, bool modal = false, WFlags fl = 0); ~AddCatalogDlg();
QString title() const;
@@ -39,11 +39,11 @@
void setURL(const QString &url);
DocumentationPlugin * plugin();
- public slots:
+ public Q_SLOTS:
virtual void locationURLChanged(const QString &text);
virtual void docTypeChanged( const QString & );
- protected slots:
+ protected Q_SLOTS:
virtual void accept();
private:
--- trunk/KDE/kdevplatform/plugins/documentation/editcatalogdlg.h #905265:905266
@@ -29,7 +29,7 @@
Q_OBJECT
public:
EditCatalogDlg(DocumentationPlugin *plugin,
- QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = \
0); + QWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl \
= 0); ~EditCatalogDlg();
/*$PUBLIC_FUNCTIONS$*/
@@ -38,14 +38,14 @@
QString url() const;
void setURL(const QString &url);
-public slots:
+public Q_SLOTS:
/*$PUBLIC_SLOTS$*/
virtual void locationURLChanged(const QString &text);
protected:
/*$PROTECTED_FUNCTIONS$*/
-protected slots:
+protected Q_SLOTS:
/*$PROTECTED_SLOTS$*/
virtual void accept();
--- trunk/KDE/kdevplatform/plugins/documentation/find_documentation_options.h \
#905265:905266 @@ -30,7 +30,7 @@
{
Q_OBJECT
public:
- FindDocumentationOptions(QWidget* parent = 0, const char* name = 0, bool modal = \
FALSE); + FindDocumentationOptions(QWidget* parent = 0, const char* name = 0, bool \
modal = false); ~FindDocumentationOptions();
/*$PUBLIC_FUNCTIONS$*/
virtual bool isContents( QCheckListItem * item );
--- trunk/KDE/kdevplatform/plugins/quickopen/projectfilequickopen.cpp #905265:905266
@@ -47,7 +47,7 @@
}
QString ProjectFileData::htmlDescription() const {
- return "<small><small>" + i18n("Project") + " " + m_file.m_project.str() + /*", " \
+ i18n("path") + totalUrl().path() +*/ "</small></small>"; //Show only the path \
because of limited space + return "<small><small>" + i18n("Project") + ' ' + \
m_file.m_project.str() + /*", " + i18n("path") + totalUrl().path() +*/ \
"</small></small>"; //Show only the path because of limited space }
bool ProjectFileData::execute( QString& /*filterText*/ ) {
@@ -95,11 +95,11 @@
if( chosen )
- return chosen->createNavigationWidget(0, 0, "<small><small>" + i18n("Project") + \
" " + m_file.m_project.str() + "<br>" + "</small></small>"); + return \
chosen->createNavigationWidget(0, 0, "<small><small>" + i18n("Project") + ' ' + \
m_file.m_project.str() + "<br>" + "</small></small>"); else {
QTextBrowser* ret = new QTextBrowser();
ret->resize(400, 100);
- ret->setText("<small><small>" + i18n("Project") + " " + m_file.m_project.str() + \
"<br>" + /*i18n("Url") + " " + totalUrl().prettyUrl() + "<br>" +*/ i18n("Not parsed \
yet") + "</small></small>"); + ret->setText("<small><small>" + i18n("Project") + ' \
' + m_file.m_project.str() + "<br>" + /*i18n("Url") + " " + totalUrl().prettyUrl() + \
"<br>" +*/ i18n("Not parsed yet") + "</small></small>"); return ret;
}
--- trunk/KDE/kdevplatform/plugins/quickopen/projectitemquickopen.cpp #905265:905266
@@ -59,11 +59,11 @@
QStringList search(text.split("::", QString::SkipEmptyParts));
for(int a = 0; a < search.count(); ++a) {
- if(search[a].endsWith(":")) //Don't get confused while the :: is being typed
+ if(search[a].endsWith(':')) //Don't get confused while the :: is being typed
search[a] = search[a].left(search[a].length()-1);
}
bool mustMatchEnd = false;
- if(!search.isEmpty() && search.back().endsWith("(")) {
+ if(!search.isEmpty() && search.back().endsWith('(')) {
mustMatchEnd = true;
search.back() = search.back().left(search.back().length()-1);
}
--- trunk/KDE/kdevplatform/plugins/subversion/kdevsvncpp/client_cat.cpp \
#905265:905266 @@ -110,7 +110,7 @@
strcpy (revstring, "HEAD");
else
sprintf (revstring, "%" SVN_REVNUM_T_FMT, revision.revnum ());
- filename += "-";
+ filename += '-';
filename += revstring;
// replace the dir component with tempdir
--- trunk/KDE/kdevplatform/plugins/subversion/kdevsvncpp/client_diff.cpp \
#905265:905266 @@ -99,7 +99,7 @@
// svn_client_diff needs a temporary file to write diff output to
error = svn_io_open_unique_file (&outfile, &outfileName,
tmpPath.c_str(), ".tmp",
- FALSE, pool);
+ false, pool);
if (error != NULL)
{
@@ -110,7 +110,7 @@
// and another one to write errors to
error = svn_io_open_unique_file (&errfile, &errfileName,
tmpPath.c_str(), ".tmp",
- FALSE, pool);
+ false, pool);
if (error != NULL)
{
@@ -184,7 +184,7 @@
// svn_client_diff needs a temporary file to write diff output to
error = svn_io_open_unique_file (&outfile, &outfileName,
tmpPath.c_str(), ".tmp",
- FALSE, pool);
+ false, pool);
if (error != NULL)
{
@@ -195,7 +195,7 @@
// and another one to write errors to
error = svn_io_open_unique_file (&errfile, &errfileName,
tmpPath.c_str(), ".tmp",
- FALSE, pool);
+ false, pool);
if (error != NULL)
{
@@ -269,7 +269,7 @@
// svn_client_diff needs a temporary file to write diff output to
error = svn_io_open_unique_file (&outfile, &outfileName,
tmpPath.c_str(), ".tmp",
- FALSE, pool);
+ false, pool);
if (error != NULL)
{
@@ -280,7 +280,7 @@
// and another one to write errors to
error = svn_io_open_unique_file (&errfile, &errfileName,
tmpPath.c_str(), ".tmp",
- FALSE, pool);
+ false, pool);
if (error != NULL)
{
--- trunk/KDE/kdevplatform/plugins/subversion/kdevsvncpp/client_modify.cpp \
#905265:905266 @@ -519,7 +519,7 @@
{
if (s_svnIgnore != j->first)
continue;
- str += "\n"+j->second;
+ str += '\n'+j->second;
}
}
const svn_string_t * propval =
--- trunk/KDE/kdevplatform/plugins/subversion/kdevsvncpp/client_status.cpp \
#905265:905266 @@ -138,7 +138,7 @@
apr_pcalloc (pool, sizeof (svn_wc_entry_t)));
std::string url (path);
- url += "/";
+ url += '/';
url += dirEntry.name ();
e->name = dirEntry.name ();
--- trunk/KDE/kdevplatform/plugins/subversion/kdevsvncpp/exception.cpp #905265:905266
@@ -106,7 +106,7 @@
}
while (next != NULL && next->message != NULL)
{
- message = message + "\n" + next->message;
+ message = message + '\n' + next->message;
next = next->child;
}
--- trunk/KDE/kdevplatform/plugins/subversion/svnclient.cpp #905265:905266
@@ -103,7 +103,7 @@
QByteArray ba = (KStandardDirs::locateLocal("tmp","")+"kdevelop_svn_diff" \
).toUtf8();
- error = svn_io_open_unique_file( &outfile, &outfileName, ba.data(), ".tmp", \
FALSE, pool ); + error = svn_io_open_unique_file( &outfile, &outfileName, \
ba.data(), ".tmp", false, pool );
if( error != 0 )
{
@@ -111,7 +111,7 @@
throw svn::ClientException( error );
}
- error = svn_io_open_unique_file( &errfile, &errfileName, ba.data(), ".tmp", \
FALSE, pool ); + error = svn_io_open_unique_file( &errfile, &errfileName, \
ba.data(), ".tmp", false, pool );
if( error != 0 )
{
@@ -181,7 +181,7 @@
QByteArray ba = KStandardDirs::locateLocal("tmp","").toUtf8();
- error = svn_io_open_unique_file( &outfile, &outfileName, ba.data(), ".tmp", \
FALSE, pool ); + error = svn_io_open_unique_file( &outfile, &outfileName, \
ba.data(), ".tmp", false, pool );
if( error != 0 )
{
@@ -189,7 +189,7 @@
throw svn::ClientException( error );
}
- error = svn_io_open_unique_file( &errfile, &errfileName, ba.data(), ".tmp", \
FALSE, pool ); + error = svn_io_open_unique_file( &errfile, &errfileName, \
ba.data(), ".tmp", false, pool );
if( error != 0 )
{
--- trunk/KDE/kdevplatform/plugins/subversion/svndiffjob.cpp #905265:905266
@@ -371,7 +371,7 @@
l.setRepositoryServer( l.repositoryServer() );
}else
{
- l.setRepositoryServer( l.repositoryServer() + "/" + s );
+ l.setRepositoryServer( l.repositoryServer() + '/' + s );
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic