summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/abtable.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/addressbook/abtable.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/abtable.cpp50
1 files changed, 25 insertions, 25 deletions
diff --git a/core/pim/addressbook/abtable.cpp b/core/pim/addressbook/abtable.cpp
index cb57342..3fb2214 100644
--- a/core/pim/addressbook/abtable.cpp
+++ b/core/pim/addressbook/abtable.cpp
@@ -122,5 +122,5 @@ AbTable::AbTable( const QValueList<int> order, QWidget *parent, const char *name
countNested( 0 )
{
- // Opie::Core::owarn << "C'tor start" << oendl;
+ // owarn << "C'tor start" << oendl;
setSelectionMode( NoSelection );
init();
@@ -130,5 +130,5 @@ AbTable::AbTable( const QValueList<int> order, QWidget *parent, const char *name
// contactList.clear();
- // Opie::Core::owarn << "C'tor end" << oendl;
+ // owarn << "C'tor end" << oendl;
}
@@ -152,5 +152,5 @@ void AbTable::init()
void AbTable::setContacts( const Opie::OPimContactAccess::List& viewList )
{
- Opie::Core::owarn << "AbTable::setContacts()" << oendl;
+ owarn << "AbTable::setContacts()" << oendl;
clear();
@@ -184,5 +184,5 @@ void AbTable::setOrderedList( const QValueList<int> ordered )
bool AbTable::selectContact( int UID )
{
- Opie::Core::owarn << "AbTable::selectContact( " << UID << " )" << oendl;
+ owarn << "AbTable::selectContact( " << UID << " )" << oendl;
int rows = numRows();
Opie::OPimContact* foundContact = 0l;
@@ -190,5 +190,5 @@ bool AbTable::selectContact( int UID )
setPaintingEnabled( FALSE );
- Opie::Core::owarn << "Search start" << oendl;
+ owarn << "Search start" << oendl;
for ( int r = 0; r < rows; ++r ) {
if ( m_viewList.uidAt( r ) == UID ){
@@ -199,5 +199,5 @@ bool AbTable::selectContact( int UID )
}
}
- Opie::Core::owarn << "Search end" << oendl;
+ owarn << "Search end" << oendl;
if ( !found ){
@@ -214,5 +214,5 @@ bool AbTable::selectContact( int UID )
void AbTable::insertIntoTable( const Opie::OPimContact& cnt, int row )
{
- Opie::Core::owarn << "void AbTable::insertIntoTable( const Opie::OPimContact& cnt, "
+ owarn << "void AbTable::insertIntoTable( const Opie::OPimContact& cnt, "
<< row << " )" << oendl;
QString strName;
@@ -258,5 +258,5 @@ void AbTable::columnClicked( int col )
void AbTable::resort()
{
- Opie::Core::owarn << "void AbTable::resort() NOT POSSIBLE !!" << oendl;
+ owarn << "void AbTable::resort() NOT POSSIBLE !!" << oendl;
#if 0
setPaintingEnabled( FALSE );
@@ -284,5 +284,5 @@ int AbTable::currentEntry_UID()
void AbTable::clear()
{
- Opie::Core::owarn << "void AbTable::clear()" << oendl;
+ owarn << "void AbTable::clear()" << oendl;
// contactList.clear();
@@ -302,5 +302,5 @@ void AbTable::clear()
void AbTable::refresh()
{
- Opie::Core::owarn << "void AbTable::refresh() NOT IMPLEMENTED !!" << oendl;
+ owarn << "void AbTable::refresh() NOT IMPLEMENTED !!" << oendl;
#if 0
@@ -335,5 +335,5 @@ void AbTable::keyPressEvent( QKeyEvent *e )
moveTo( key );
- // Opie::Core::owarn << "Received key .." << oendl;
+ // owarn << "Received key .." << oendl;
switch( e->key() ) {
case Qt::Key_Space:
@@ -343,9 +343,9 @@ void AbTable::keyPressEvent( QKeyEvent *e )
break;
// case Qt::Key_Up:
-// Opie::Core::owarn << "a" << oendl;
+// owarn << "a" << oendl;
// emit signalKeyUp();
// break;
// case Qt::Key_Down:
-// Opie::Core::owarn << "b" << oendl;
+// owarn << "b" << oendl;
// emit signalKeyDown();
// break;
@@ -358,5 +358,5 @@ void AbTable::keyPressEvent( QKeyEvent *e )
void AbTable::moveTo( char c )
{
- Opie::Core::owarn << "void AbTable::moveTo( char c ) NOT IMPLEMENTED !!" << oendl;
+ owarn << "void AbTable::moveTo( char c ) NOT IMPLEMENTED !!" << oendl;
#if 0
@@ -424,5 +424,5 @@ void AbTable::resizeRows() {
void AbTable::realignTable()
{
- // Opie::Core::owarn << "void AbTable::realignTable()" << oendl;
+ // owarn << "void AbTable::realignTable()" << oendl;
setPaintingEnabled( FALSE );
@@ -474,5 +474,5 @@ void QTable::paintEmptyArea( QPainter *p, int cx, int cy, int cw, int ch )
void AbTable::fitColumns()
{
- Opie::Core::owarn << "void AbTable::fitColumns()" << oendl;
+ owarn << "void AbTable::fitColumns()" << oendl;
int contentsWidth = visibleWidth() / 2;
// Fix to better value
@@ -486,5 +486,5 @@ void AbTable::fitColumns()
}
- // Opie::Core::owarn << "Width: " << contentsWidth << oendl;
+ // owarn << "Width: " << contentsWidth << oendl;
setColumnWidth( 0, contentsWidth );
@@ -498,5 +498,5 @@ void AbTable::fitColumns()
void AbTable::show()
{
- // Opie::Core::owarn << "void AbTable::show()" << oendl;
+ // owarn << "void AbTable::show()" << oendl;
realignTable();
QTable::show();
@@ -522,9 +522,9 @@ void AbTable::setChoiceNames( const QStringList& list)
void AbTable::itemClicked(int,int col)
{
- // Opie::Core::owarn << "AbTable::itemClicked(int, col: " << col << ")" << oendl;
+ // owarn << "AbTable::itemClicked(int, col: " << col << ")" << oendl;
if ( col == 2 ) {
return;
} else {
- // Opie::Core::owarn << "Emitting signalSwitch()" << oendl;
+ // owarn << "Emitting signalSwitch()" << oendl;
emit signalSwitch();
}
@@ -563,5 +563,5 @@ QStringList AbTable::choiceSelection(int /*index*/) const
void AbTable::updateVisible()
{
- // Opie::Core::owarn << "void AbTable::updateVisible()" << oendl;
+ // owarn << "void AbTable::updateVisible()" << oendl;
int visible,
@@ -599,5 +599,5 @@ void AbTable::updateVisible()
void AbTable::setPaintingEnabled( bool e )
{
- // Opie::Core::owarn << "IN void AbTable::setPaintingEnabled( " << e << " )->Nested: "
+ // owarn << "IN void AbTable::setPaintingEnabled( " << e << " )->Nested: "
// << countNested << oendl;
@@ -616,10 +616,10 @@ void AbTable::setPaintingEnabled( bool e )
setUpdatesEnabled( false );
}
- // Opie::Core::owarn << "OUT void AbTable::setPaintingEnabled( " << e << " )->Nested: "
+ // owarn << "OUT void AbTable::setPaintingEnabled( " << e << " )->Nested: "
// << countNested << oendl;
}
void AbTable::viewportPaintEvent( QPaintEvent* e ) {
- // Opie::Core::owarn << "void AbTable::viewportPaintEvent( QPaintEvent* e ) -> "
+ // owarn << "void AbTable::viewportPaintEvent( QPaintEvent* e ) -> "
// << enablePainting << oendl;
if ( enablePainting )
@@ -632,5 +632,5 @@ void AbTable::paintCell(QPainter* p, int row, int col, const QRect& cr, bool )
p->save();
- // Opie::Core::owarn << "Paint row: " << row << oendl;
+ // owarn << "Paint row: " << row << oendl;
Opie::OPimContact act_contact = m_viewList[row];