[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kparts/tests
From: Laurent Montel <montel () kde ! org>
Date: 2005-08-31 8:43:03
Message-ID: 1125477783.313630.29316.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 455333 by mlaurent:
Fix compile
M +1 -1 example.cpp
M +2 -2 normalktm.cpp
M +1 -1 parts.cpp
--- trunk/KDE/kdelibs/kparts/tests/example.cpp #455332:455333
@@ -121,7 +121,7 @@
int main( int argc, char **argv )
{
- KApplication app( argc, argv, "kpartstest" );
+ KApplication app;
Shell *shell = new Shell;
--- trunk/KDE/kdelibs/kparts/tests/normalktm.cpp #455332:455333
@@ -15,7 +15,7 @@
#include <klocale.h>
#include <kmenubar.h>
-
+#include <Q3PopupMenu>
Shell::Shell()
{
// We can do this "switch active part" because we have a splitter with
@@ -108,7 +108,7 @@
int main( int argc, char **argv )
{
- KApplication app( argc, argv, "kpartstest" ); // we cheat and call ourselves \
kpartstest for Shell::slotFileOpen() + KApplication app; // we cheat and call \
ourselves kpartstest for Shell::slotFileOpen()
Shell *shell = new Shell;
--- trunk/KDE/kdelibs/kparts/tests/parts.cpp #455332:455333
@@ -43,7 +43,7 @@
QString s;
if ( f.open(QIODevice::ReadOnly) ) {
QTextStream t( &f );
- while ( !t.eof() ) {
+ while ( !t.atEnd() ) {
s += t.readLine() + "\n";
}
f.close();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic