~ubuntu-branches/ubuntu/raring/gwenview/raring-proposed

« back to all changes in this revision

Viewing changes to tests/auto/documenttest.cpp

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac, Philip Muškovac, Scott Kitterman
  • Date: 2011-12-24 18:54:55 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20111224185455-zxffs6i6m5cwwuze
Tags: 4:4.7.95-0ubuntu1
[ Philip Muškovac ]
* New upstream release candiate

[ Scott Kitterman ]
* Fix Ubuntu Vcs- header in debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <QPainter>
24
24
 
25
25
// KDE
26
 
#include <kdebug.h>
27
 
#include <kjobuidelegate.h>
28
 
#include <kio/netaccess.h>
 
26
#include <KDebug>
 
27
#include <KJobUiDelegate>
 
28
#include <KIO/NetAccess>
29
29
#include <qtest_kde.h>
30
30
 
31
31
// Local
660
660
{
661
661
public:
662
662
    TestCheckDocumentEditorJob(int* hasEditor)
663
 
        : mHasEditor(hasEditor) {
 
663
        : mHasEditor(hasEditor)
 
664
        {
664
665
        *mHasEditor = -1;
665
666
    }
666
667
 
680
681
{
681
682
public:
682
683
    TestUiDelegate(bool* showErrorMessageCalled)
683
 
        : mShowErrorMessageCalled(showErrorMessageCalled) {
 
684
        : mShowErrorMessageCalled(showErrorMessageCalled)
 
685
        {
684
686
        setAutoErrorHandlingEnabled(true);
685
687
        *mShowErrorMessageCalled = false;
686
688
    }