Line
Link Here
|
0 |
-- vcl/unx/kde/kdedata.cxx |
0 |
++ vcl/unx/kde/kdedata.cxx |
Lines 194-199
Link Here
|
194 |
|
194 |
|
195 |
KApplication::disableAutoDcopRegistration(); |
195 |
KApplication::disableAutoDcopRegistration(); |
196 |
m_pApplication = new VCLKDEApplication(); |
196 |
m_pApplication = new VCLKDEApplication(); |
|
|
197 |
printf("Test from Eric for Pavel; VCL here\n"); |
198 |
printf("KApplication = %lx\n", KApplication::kApplication()); |
197 |
kapp->disableSessionManagement(); |
199 |
kapp->disableSessionManagement(); |
198 |
|
200 |
|
199 |
Display* pDisp = QPaintDevice::x11AppDisplay(); |
201 |
Display* pDisp = QPaintDevice::x11AppDisplay(); |
200 |
-- shell/source/backends/kdebe/kdecommonlayer.cxx |
202 |
++ shell/source/backends/kdebe/kdecommonlayer.cxx |
Lines 88-93
Link Here
|
88 |
|
88 |
|
89 |
//------------------------------------------------------------------------------ |
89 |
//------------------------------------------------------------------------------ |
90 |
|
90 |
|
|
|
91 |
// For Pavel's tests only |
92 |
#include <kapplication.h> |
93 |
// End Pavel |
91 |
void SAL_CALL KDECommonLayer::readData( const uno::Reference<backend::XLayerHandler>& xHandler) |
94 |
void SAL_CALL KDECommonLayer::readData( const uno::Reference<backend::XLayerHandler>& xHandler) |
92 |
throw ( backend::MalformedDataException, lang::NullPointerException, |
95 |
throw ( backend::MalformedDataException, lang::NullPointerException, |
93 |
lang::WrappedTargetException, uno::RuntimeException) |
96 |
lang::WrappedTargetException, uno::RuntimeException) |
Lines 102-107
Link Here
|
102 |
uno::Sequence<backend::PropertyInfo> aPropInfoList(2); |
105 |
uno::Sequence<backend::PropertyInfo> aPropInfoList(2); |
103 |
sal_Int32 nProperties = 0; |
106 |
sal_Int32 nProperties = 0; |
104 |
|
107 |
|
|
|
108 |
printf("Test from Eric for Pavel; kdebe here (usage)\n"); |
109 |
printf("KApplication = %lx\n", KApplication::kApplication()); |
105 |
KEMailSettings aEmailSettings; |
110 |
KEMailSettings aEmailSettings; |
106 |
QString aClientProgram; |
111 |
QString aClientProgram; |
107 |
::rtl::OUString sClientProgram; |
112 |
::rtl::OUString sClientProgram; |
108 |
-- shell/source/backends/kdebe/kdebecdef.cxx |
113 |
++ shell/source/backends/kdebe/kdebecdef.cxx |
Lines 58-63
Link Here
|
58 |
|
58 |
|
59 |
//============================================================================== |
59 |
//============================================================================== |
60 |
|
60 |
|
|
|
61 |
// For Pavel's tests only |
62 |
#include <kapplication.h> |
63 |
// End Pavel |
61 |
static uno::Reference<uno::XInterface> SAL_CALL createKDEBackend(const uno::Reference<uno::XComponentContext>& xContext) |
64 |
static uno::Reference<uno::XInterface> SAL_CALL createKDEBackend(const uno::Reference<uno::XComponentContext>& xContext) |
62 |
{ |
65 |
{ |
63 |
try { |
66 |
try { |
Lines 69-74
Link Here
|
69 |
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "system.desktop-environment" ) ) ); |
72 |
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "system.desktop-environment" ) ) ); |
70 |
|
73 |
|
71 |
rtl::OUString aDesktopEnvironment; |
74 |
rtl::OUString aDesktopEnvironment; |
|
|
75 |
|
76 |
printf("Test from Eric for Pavel; kdebe here (creation)\n"); |
77 |
printf("KApplication = %lx\n", KApplication::kApplication()); |
72 |
if ( (aValue >>= aDesktopEnvironment) && (aDesktopEnvironment.equalsAscii("KDE")) ) |
78 |
if ( (aValue >>= aDesktopEnvironment) && (aDesktopEnvironment.equalsAscii("KDE")) ) |
73 |
return * KDEBackend::createInstance(xContext); |
79 |
return * KDEBackend::createInstance(xContext); |
74 |
} |
80 |
} |