author | zecke <zecke> | 2004-10-17 18:35:57 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-10-17 18:35:57 (UTC) |
commit | 7e28835e246e06e157d760a40754b6257f2ad6b3 (patch) (unidiff) | |
tree | 1a4a844b17fcc6d60b4e1a35af533bf5f000b187 | |
parent | ca65f8eba5cd7e3a2e3096b545527ced8b76e5cd (diff) | |
download | opie-7e28835e246e06e157d760a40754b6257f2ad6b3.zip opie-7e28835e246e06e157d760a40754b6257f2ad6b3.tar.gz opie-7e28835e246e06e157d760a40754b6257f2ad6b3.tar.bz2 |
Remove unused variable
-rw-r--r-- | libopie2/opiecore/odebug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiecore/odebug.h b/libopie2/opiecore/odebug.h index 18dc09e..87d9741 100644 --- a/libopie2/opiecore/odebug.h +++ b/libopie2/opiecore/odebug.h | |||
@@ -321,171 +321,171 @@ class ondbgstream { | |||
321 | ondbgstream &operator<<(unsigned short int ) { return *this; } | 321 | ondbgstream &operator<<(unsigned short int ) { return *this; } |
322 | /** | 322 | /** |
323 | * Does nothing. | 323 | * Does nothing. |
324 | * @return this stream | 324 | * @return this stream |
325 | */ | 325 | */ |
326 | ondbgstream &operator<<(char ) { return *this; } | 326 | ondbgstream &operator<<(char ) { return *this; } |
327 | /** | 327 | /** |
328 | * Does nothing. | 328 | * Does nothing. |
329 | * @return this stream | 329 | * @return this stream |
330 | */ | 330 | */ |
331 | ondbgstream &operator<<(unsigned char ) { return *this; } | 331 | ondbgstream &operator<<(unsigned char ) { return *this; } |
332 | /** | 332 | /** |
333 | * Does nothing. | 333 | * Does nothing. |
334 | * @return this stream | 334 | * @return this stream |
335 | */ | 335 | */ |
336 | ondbgstream &operator<<(int ) { return *this; } | 336 | ondbgstream &operator<<(int ) { return *this; } |
337 | /** | 337 | /** |
338 | * Does nothing. | 338 | * Does nothing. |
339 | * @return this stream | 339 | * @return this stream |
340 | */ | 340 | */ |
341 | ondbgstream &operator<<(unsigned int ) { return *this; } | 341 | ondbgstream &operator<<(unsigned int ) { return *this; } |
342 | /** | 342 | /** |
343 | * Does nothing. | 343 | * Does nothing. |
344 | */ | 344 | */ |
345 | void flush() {} | 345 | void flush() {} |
346 | /** | 346 | /** |
347 | * Does nothing. | 347 | * Does nothing. |
348 | * @return this stream | 348 | * @return this stream |
349 | */ | 349 | */ |
350 | ondbgstream &operator<<(const QString& ) { return *this; } | 350 | ondbgstream &operator<<(const QString& ) { return *this; } |
351 | /** | 351 | /** |
352 | * Does nothing. | 352 | * Does nothing. |
353 | * @return this stream | 353 | * @return this stream |
354 | */ | 354 | */ |
355 | ondbgstream &operator<<(const QCString& ) { return *this; } | 355 | ondbgstream &operator<<(const QCString& ) { return *this; } |
356 | /** | 356 | /** |
357 | * Does nothing. | 357 | * Does nothing. |
358 | * @return this stream | 358 | * @return this stream |
359 | */ | 359 | */ |
360 | ondbgstream &operator<<(const char *) { return *this; } | 360 | ondbgstream &operator<<(const char *) { return *this; } |
361 | /** | 361 | /** |
362 | * Does nothing. | 362 | * Does nothing. |
363 | * @return this stream | 363 | * @return this stream |
364 | */ | 364 | */ |
365 | ondbgstream& operator<<(const void *) { return *this; } | 365 | ondbgstream& operator<<(const void *) { return *this; } |
366 | /** | 366 | /** |
367 | * Does nothing. | 367 | * Does nothing. |
368 | * @return this stream | 368 | * @return this stream |
369 | */ | 369 | */ |
370 | ondbgstream& operator<<(void *) { return *this; } | 370 | ondbgstream& operator<<(void *) { return *this; } |
371 | /** | 371 | /** |
372 | * Does nothing. | 372 | * Does nothing. |
373 | * @return this stream | 373 | * @return this stream |
374 | */ | 374 | */ |
375 | ondbgstream& operator<<(double) { return *this; } | 375 | ondbgstream& operator<<(double) { return *this; } |
376 | /** | 376 | /** |
377 | * Does nothing. | 377 | * Does nothing. |
378 | * @return this stream | 378 | * @return this stream |
379 | */ | 379 | */ |
380 | ondbgstream& operator<<(long) { return *this; } | 380 | ondbgstream& operator<<(long) { return *this; } |
381 | /** | 381 | /** |
382 | * Does nothing. | 382 | * Does nothing. |
383 | * @return this stream | 383 | * @return this stream |
384 | */ | 384 | */ |
385 | ondbgstream& operator<<(unsigned long) { return *this; } | 385 | ondbgstream& operator<<(unsigned long) { return *this; } |
386 | /** | 386 | /** |
387 | * Does nothing. | 387 | * Does nothing. |
388 | * @return this stream | 388 | * @return this stream |
389 | */ | 389 | */ |
390 | ondbgstream& operator << (QWidget*) { return *this; } | 390 | ondbgstream& operator << (QWidget*) { return *this; } |
391 | /** | 391 | /** |
392 | * Does nothing. | 392 | * Does nothing. |
393 | * @return this stream | 393 | * @return this stream |
394 | */ | 394 | */ |
395 | ondbgstream &form(const char *, ...) { return *this; } | 395 | ondbgstream &form(const char *, ...) { return *this; } |
396 | 396 | ||
397 | ondbgstream& operator<<( const QDateTime& ) { return *this; } | 397 | ondbgstream& operator<<( const QDateTime& ) { return *this; } |
398 | ondbgstream& operator<<( const QDate& ) { return *this; } | 398 | ondbgstream& operator<<( const QDate& ) { return *this; } |
399 | ondbgstream& operator<<( const QTime& ) { return *this; } | 399 | ondbgstream& operator<<( const QTime& ) { return *this; } |
400 | ondbgstream& operator<<( const QPoint & ) { return *this; } | 400 | ondbgstream& operator<<( const QPoint & ) { return *this; } |
401 | ondbgstream& operator<<( const QSize & ) { return *this; } | 401 | ondbgstream& operator<<( const QSize & ) { return *this; } |
402 | ondbgstream& operator<<( const QRect & ) { return *this; } | 402 | ondbgstream& operator<<( const QRect & ) { return *this; } |
403 | ondbgstream& operator<<( const QRegion & ) { return *this; } | 403 | ondbgstream& operator<<( const QRegion & ) { return *this; } |
404 | ondbgstream& operator<<( const QStringList & ) { return *this; } | 404 | ondbgstream& operator<<( const QStringList & ) { return *this; } |
405 | ondbgstream& operator<<( const QColor & ) { return *this; } | 405 | ondbgstream& operator<<( const QColor & ) { return *this; } |
406 | ondbgstream& operator<<( const QBrush & ) { return *this; } | 406 | ondbgstream& operator<<( const QBrush & ) { return *this; } |
407 | 407 | ||
408 | private: | 408 | private: |
409 | class Private; | 409 | class Private; |
410 | Private *d; | 410 | Private *d; |
411 | }; | 411 | }; |
412 | 412 | ||
413 | /*====================================================================================== | 413 | /*====================================================================================== |
414 | * related functions | 414 | * related functions |
415 | *======================================================================================*/ | 415 | *======================================================================================*/ |
416 | 416 | ||
417 | /** | 417 | /** |
418 | * Does nothing. | 418 | * Does nothing. |
419 | * @param s stream | 419 | * @param s stream |
420 | * @return the given @p s | 420 | * @return the given @p s |
421 | */ | 421 | */ |
422 | inline ondbgstream& endl( ondbgstream & s) { return s; } | 422 | inline ondbgstream& endl( ondbgstream & s) { return s; } |
423 | /** | 423 | /** |
424 | * Does nothing. | 424 | * Does nothing. |
425 | * @param s stream | 425 | * @param s stream |
426 | * @return the given @p s | 426 | * @return the given @p s |
427 | */ | 427 | */ |
428 | inline ondbgstream& flush( ondbgstream & s) { return s; } | 428 | inline ondbgstream& flush( ondbgstream & s) { return s; } |
429 | inline ondbgstream& perror( ondbgstream & s) { return s; } | 429 | inline ondbgstream& perror( ondbgstream & s) { return s; } |
430 | 430 | ||
431 | /** | 431 | /** |
432 | * Returns a debug stream. You can use it to print debug | 432 | * Returns a debug stream. You can use it to print debug |
433 | * information. | 433 | * information. |
434 | * @param area an id to identify the output, 0 for default | 434 | * @param area an id to identify the output, 0 for default |
435 | */ | 435 | */ |
436 | odbgstream odDebug(int area = 0); | 436 | odbgstream odDebug(int area = 0); |
437 | odbgstream odDebug(bool cond, int area = 0); | 437 | odbgstream odDebug(bool cond, int area = 0); |
438 | /** | 438 | /** |
439 | * Returns a backtrace. | 439 | * Returns a backtrace. |
440 | * @param levels the number of levels (-1 for unlimited) of the backtrace | 440 | * @param levels the number of levels (-1 for unlimited) of the backtrace |
441 | * @return a backtrace | 441 | * @return a backtrace |
442 | */ | 442 | */ |
443 | QString odBacktrace(int levels = -1); | 443 | QString odBacktrace(int levels = -1); |
444 | /** | 444 | /** |
445 | * Returns a dummy debug stream. The stream does not print anything. | 445 | * Returns a dummy debug stream. The stream does not print anything. |
446 | * @param area an id to identify the output, 0 for default | 446 | * @param area an id to identify the output, 0 for default |
447 | * @see odDebug() | 447 | * @see odDebug() |
448 | */ | 448 | */ |
449 | inline ondbgstream ondDebug(int area = 0) { return ondbgstream(); } | 449 | inline ondbgstream ondDebug(int = 0) { return ondbgstream(); } |
450 | inline ondbgstream ondDebug(bool , int = 0) { return ondbgstream(); } | 450 | inline ondbgstream ondDebug(bool , int = 0) { return ondbgstream(); } |
451 | inline QString ondBacktrace() { return QString::null; } | 451 | inline QString ondBacktrace() { return QString::null; } |
452 | inline QString ondBacktrace(int) { return QString::null; } | 452 | inline QString ondBacktrace(int) { return QString::null; } |
453 | 453 | ||
454 | /** | 454 | /** |
455 | * Returns a warning stream. You can use it to print warning | 455 | * Returns a warning stream. You can use it to print warning |
456 | * information. | 456 | * information. |
457 | * @param area an id to identify the output, 0 for default | 457 | * @param area an id to identify the output, 0 for default |
458 | */ | 458 | */ |
459 | odbgstream odWarning(int area = 0); | 459 | odbgstream odWarning(int area = 0); |
460 | odbgstream odWarning(bool cond, int area = 0); | 460 | odbgstream odWarning(bool cond, int area = 0); |
461 | /** | 461 | /** |
462 | * Returns an error stream. You can use it to print error | 462 | * Returns an error stream. You can use it to print error |
463 | * information. | 463 | * information. |
464 | * @param area an id to identify the output, 0 for default | 464 | * @param area an id to identify the output, 0 for default |
465 | */ | 465 | */ |
466 | odbgstream odError(int area = 0); | 466 | odbgstream odError(int area = 0); |
467 | odbgstream odError(bool cond, int area = 0); | 467 | odbgstream odError(bool cond, int area = 0); |
468 | /** | 468 | /** |
469 | * Returns a fatal error stream. You can use it to print fatal error | 469 | * Returns a fatal error stream. You can use it to print fatal error |
470 | * information. | 470 | * information. |
471 | * @param area an id to identify the output, 0 for default | 471 | * @param area an id to identify the output, 0 for default |
472 | */ | 472 | */ |
473 | odbgstream odFatal(int area = 0); | 473 | odbgstream odFatal(int area = 0); |
474 | odbgstream odFatal(bool cond, int area = 0); | 474 | odbgstream odFatal(bool cond, int area = 0); |
475 | 475 | ||
476 | /** | 476 | /** |
477 | * Deletes the odebugrc cache and therefore forces KDebug to reread the | 477 | * Deletes the odebugrc cache and therefore forces KDebug to reread the |
478 | * config file | 478 | * config file |
479 | */ | 479 | */ |
480 | void odClearDebugConfig(); | 480 | void odClearDebugConfig(); |
481 | 481 | ||
482 | #ifdef OPIE_NO_DEBUG | 482 | #ifdef OPIE_NO_DEBUG |
483 | #define odDebug ondDebug | 483 | #define odDebug ondDebug |
484 | #define odBacktrace ondBacktrace | 484 | #define odBacktrace ondBacktrace |
485 | #endif | 485 | #endif |
486 | 486 | ||
487 | } | 487 | } |
488 | } | 488 | } |
489 | 489 | ||
490 | #endif | 490 | #endif |
491 | 491 | ||