summaryrefslogtreecommitdiff
path: root/core/pim
authormickeyl <mickeyl>2004-04-04 17:22:44 (UTC)
committer mickeyl <mickeyl>2004-04-04 17:22:44 (UTC)
commitea3708cbc40ebc5f1db70546f0a93e8a23ba967c (patch) (unidiff)
tree7262b5c61f96db0062d8e079dbb50d9ad5f2045e /core/pim
parent5dc77f8c1ef0b22d208a629ebbb61476909569be (diff)
downloadopie-ea3708cbc40ebc5f1db70546f0a93e8a23ba967c.zip
opie-ea3708cbc40ebc5f1db70546f0a93e8a23ba967c.tar.gz
opie-ea3708cbc40ebc5f1db70546f0a93e8a23ba967c.tar.bz2
fix odebug usage
Diffstat (limited to 'core/pim') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/today.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp
index 3ddb88d..0a6269e 100644
--- a/core/pim/today/today.cpp
+++ b/core/pim/today/today.cpp
@@ -190,7 +190,7 @@ void Today::loadPlugins() {
190 190
191 QString path = QPEApplication::qpeDir() + "/plugins/today"; 191 QString path = QPEApplication::qpeDir() + "/plugins/today";
192#ifdef Q_OS_MACX 192#ifdef Q_OS_MACX
193 Opie::Core::owarn << "Searching for Plugins in: " << path << oendl; 193 owarn << "Searching for Plugins in: " << path << oendl;
194 QDir dir( path, "lib*.dylib" ); 194 QDir dir( path, "lib*.dylib" );
195#else 195#else
196 QDir dir( path, "lib*.so" ); 196 QDir dir( path, "lib*.so" );
@@ -205,10 +205,10 @@ void Today::loadPlugins() {
205 QInterfacePtr<TodayPluginInterface> iface; 205 QInterfacePtr<TodayPluginInterface> iface;
206 QLibrary *lib = new QLibrary( path + "/" + *it ); 206 QLibrary *lib = new QLibrary( path + "/" + *it );
207 207
208 Opie::Core::odebug << "querying: " << path + "/" + *it << oendl; 208 odebug << "querying: " << path + "/" + *it << oendl;
209 if ( lib->queryInterface( IID_TodayPluginInterface, (QUnknownInterface**)&iface ) == QS_OK ) { 209 if ( lib->queryInterface( IID_TodayPluginInterface, (QUnknownInterface**)&iface ) == QS_OK ) {
210 Opie::Core::odebug << "accepted: " << path + "/" + *it << oendl; 210 odebug << "accepted: " << path + "/" + *it << oendl;
211 Opie::Core::odebug << *it << oendl; 211 odebug << *it << oendl;
212 212
213 TodayPlugin plugin; 213 TodayPlugin plugin;
214 plugin.library = lib; 214 plugin.library = lib;
@@ -222,7 +222,7 @@ void Today::loadPlugins() {
222 config.setGroup("Language"); 222 config.setGroup("Language");
223 lang = config.readEntry( "Language", "en" ); 223 lang = config.readEntry( "Language", "en" );
224 224
225 Opie::Core::odebug << "Languages: " << lang << oendl; 225 odebug << "Languages: " << lang << oendl;
226 QTranslator * trans = new QTranslator( qApp ); 226 QTranslator * trans = new QTranslator( qApp );
227 QString tfn = QPEApplication::qpeDir()+"/i18n/" + lang + "/" + type + ".qm"; 227 QString tfn = QPEApplication::qpeDir()+"/i18n/" + lang + "/" + type + ".qm";
228 if ( trans->load( tfn ) ) { 228 if ( trans->load( tfn ) ) {
@@ -273,7 +273,7 @@ void Today::loadPlugins() {
273 pluginList.append( plugin ); 273 pluginList.append( plugin );
274 } 274 }
275 } else { 275 } else {
276 Opie::Core::odebug << "could not recognize " << path + "/" + *it << oendl; 276 odebug << "could not recognize " << path + "/" + *it << oendl;
277 delete lib; 277 delete lib;
278 } 278 }
279 279
@@ -317,10 +317,10 @@ void Today::draw() {
317 plugin = pluginList[i]; 317 plugin = pluginList[i];
318 318
319 if ( plugin.active ) { 319 if ( plugin.active ) {
320 //Opie::Core::odebug << plugin.name << " is ACTIVE " << oendl; 320 //odebug << plugin.name << " is ACTIVE " << oendl;
321 plugin.guiBox->show(); 321 plugin.guiBox->show();
322 } else { 322 } else {
323 //Opie::Core::odebug << plugin.name << " is INACTIVE " << oendl; 323 //odebug << plugin.name << " is INACTIVE " << oendl;
324 plugin.guiBox->hide(); 324 plugin.guiBox->hide();
325 } 325 }
326 count++; 326 count++;
@@ -397,7 +397,7 @@ void Today::reinitialize() {
397 for ( it = pluginList.begin(); it != pluginList.end(); ++it ) { 397 for ( it = pluginList.begin(); it != pluginList.end(); ++it ) {
398 if ( !(*it).excludeRefresh ) { 398 if ( !(*it).excludeRefresh ) {
399 (*it).guiPart->reinitialize(); 399 (*it).guiPart->reinitialize();
400 Opie::Core::odebug << "reinit" << oendl; 400 odebug << "reinit" << oendl;
401 } 401 }
402 402
403 /* check if plugins is still to be shown */ 403 /* check if plugins is still to be shown */
@@ -451,7 +451,7 @@ void Today::refresh() {
451 for ( it = pluginList.begin(); it != pluginList.end(); ++it ) { 451 for ( it = pluginList.begin(); it != pluginList.end(); ++it ) {
452 if ( !(*it).excludeRefresh ) { 452 if ( !(*it).excludeRefresh ) {
453 (*it).guiPart->refresh(); 453 (*it).guiPart->refresh();
454 Opie::Core::odebug << "refresh" << oendl; 454 odebug << "refresh" << oendl;
455 } 455 }
456 } 456 }
457 457