Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OMessageBox Class Reference

Custom and common Opie MessageBoxes. More...

#include </home/clem/local/src/opie/libopie2/opieui/omessagebox.h>

List of all members.

Static Public Member Functions

static bool confirmDelete (QWidget *parent, const QString &type, const QString &object, const QString &caption=QString::null)
 replacement for QPEMessageBox::confirmDelete


Detailed Description

Custom and common Opie MessageBoxes.

A set of static methods to open special MessageBoxes.

Definition at line 44 of file omessagebox.h.


Member Function Documentation

bool OMessageBox::confirmDelete QWidget *  parent,
const QString type,
const QString object,
const QString _caption = QString::null
[static]
 

replacement for QPEMessageBox::confirmDelete

#FIXME Write Own message box to be more independant on sizes #FIXME Ask translator how to make the sentence more robust

If you want to delete a file and the path is too long to fit on the screen is inserted in the middle of the string to fit on the screen. This allows the user still to identify the file.

Parameters:
parent The parent of this MessageBox
type The type of the object to delte. i.e 'the image'
object The 'object' to be deleted
caption An optional caption for the box

Definition at line 89 of file messagebox.cpp.

References Escape, g_insert_ldot(), QString::isEmpty(), QString::null, and tr.

Referenced by PIconView::slotTrash().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:42:54 2005 for OPIE by  doxygen 1.4.2