[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase
From: Urs Wolfer <uwolfer () fwo ! ch>
Date: 2005-12-02 22:23:03
Message-ID: 1133562183.613523.18714.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 485112 by uwolfer:
less warnings
M +1 -1 apps/keditbookmarks/importers.cpp
M +1 -1 kicker/applets/minipager/pagerapplet.cpp
M +1 -1 kioslave/man/man2html.cpp
M +2 -2 kioslave/smtp/request.cc
M +1 -1 nsplugins/viewer/nsplugin.cpp
M +1 -1 nsplugins/viewer/nsplugin.h
M +1 -1 workspace/kcontrol/kfontinst/kfontinst/Fontmap.cpp
M +1 -1 workspace/ksysguard/gui/SensorDisplayLib/ListView.cc
M +1 -1 workspace/ksysguard/gui/SensorDisplayLib/ListView.h
M +1 -1 workspace/ksysguard/gui/ksgrd/StyleEngine.cc
M +1 -1 workspace/ksysguard/gui/ksgrd/StyleEngine.h
--- trunk/KDE/kdebase/apps/keditbookmarks/importers.cpp #485111:485112
@@ -250,7 +250,7 @@
// clear attributes
QStringList tags;
- for (uint i = 0; i < subDoc.attributes().count(); i++)
+ for (int i = 0; i < subDoc.attributes().count(); i++)
tags << subDoc.attributes().item(i).toAttr().name();
for (QStringList::Iterator it = tags.begin(); it != tags.end(); ++it)
subDoc.attributes().removeNamedItem((*it));
--- trunk/KDE/kdebase/kicker/applets/minipager/pagerapplet.cpp #485111:485112
@@ -549,7 +549,7 @@
KWin::WindowInfo* inf = m_windows[win];
bool onAllDesktops = inf ? inf->onAllDesktops() : false;
bool skipPager = inf ? inf->state() & NET::SkipPager : false;
- unsigned int desktop = inf ? inf->desktop() : 0;
+ int desktop = inf ? inf->desktop() : 0;
m_windows.remove((long) win);
inf = info(win);
--- trunk/KDE/kdebase/kioslave/man/man2html.cpp #485111:485112
@@ -1320,7 +1320,7 @@
static Q3CString scan_dollar_parameter(char*& c)
{
- unsigned int argno = 0; // No dollar argument number yet!
+ int argno = 0; // No dollar argument number yet!
if ( *c == '0' )
{
//kdDebug(7107) << "$0" << endl;
--- trunk/KDE/kdebase/kioslave/smtp/request.cc #485111:485112
@@ -94,7 +94,7 @@
}
static bool isUsAscii( const QString & s ) {
- for ( uint i = 0 ; i < s.length() ; ++i )
+ for ( int i = 0 ; i < s.length() ; ++i )
if ( s[i].unicode() > 127 ) return false;
return true;
}
@@ -128,7 +128,7 @@
bool needsQuotes = false;
unsigned int j = 0;
- for ( unsigned int i = 0 ; i < s.length() ; ++i ) {
+ for ( int i = 0 ; i < s.length() ; ++i ) {
char ch = s[i].latin1();
if ( isSpecial( ch ) ) {
if ( needsQuoting( ch ) )
--- trunk/KDE/kdebase/nsplugins/viewer/nsplugin.cpp #485111:485112
@@ -1644,7 +1644,7 @@
inform();
if ( _queuePos<_queue.size() ) {
- unsigned newPos;
+ int newPos;
// handle AS_FILE_ONLY streams
if ( _onlyAsFile ) {
--- trunk/KDE/kdebase/nsplugins/viewer/nsplugin.h #485111:485112
@@ -104,7 +104,7 @@
unsigned int _pos;
QByteArray _queue;
- unsigned int _queuePos;
+ int _queuePos;
int _tries;
bool _onlyAsFile;
bool _error;
--- trunk/KDE/kdebase/workspace/kcontrol/kfontinst/kfontinst/Fontmap.cpp #485111:485112
@@ -109,7 +109,7 @@
static QString createX11PsName(const QString &font)
{
QString newName(font);
- unsigned int ch;
+ int ch;
bool newWord=true;
newName.replace(QRegExp("\\-"), "_");
--- trunk/KDE/kdebase/workspace/ksysguard/gui/SensorDisplayLib/ListView.cc #485111:485112
@@ -149,7 +149,7 @@
triggerUpdate();
}
-int PrivateListView::columnType( uint pos ) const
+int PrivateListView::columnType( int pos ) const
{
if ( pos >= mColumnTypes.count() )
return 0;
--- trunk/KDE/kdebase/workspace/ksysguard/gui/SensorDisplayLib/ListView.h #485111:485112
@@ -50,7 +50,7 @@
void addColumn(const QString& label, const QString& type);
void removeColumns(void);
void update(const QString& answer);
- int columnType( uint pos ) const;
+ int columnType( int pos ) const;
private:
QStringList mColumnTypes;
--- trunk/KDE/kdebase/workspace/ksysguard/gui/ksgrd/StyleEngine.cc #485111:485112
@@ -118,7 +118,7 @@
return mFontSize;
}
-const QColor& StyleEngine::sensorColor( uint pos )
+const QColor& StyleEngine::sensorColor( int pos )
{
static QColor dummy;
--- trunk/KDE/kdebase/workspace/ksysguard/gui/ksgrd/StyleEngine.h #485111:485112
@@ -57,7 +57,7 @@
uint fontSize() const;
- const QColor& sensorColor( uint pos );
+ const QColor& sensorColor( int pos );
uint numSensorColors() const;
public slots:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic