Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
4bc0c6fb
Commit
4bc0c6fb
authored
Mar 31, 2010
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed __str__ from Contact and ContactGroup
parent
bb6ad786
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
contacts.py
blink/contacts.py
+0
-8
No files found.
blink/contacts.py
View file @
4bc0c6fb
...
@@ -3,8 +3,6 @@
...
@@ -3,8 +3,6 @@
__all__
=
[
'Contact'
,
'ContactGroup'
,
'ContactDelegate'
,
'ContactModel'
,
'ContactSearchModel'
]
__all__
=
[
'Contact'
,
'ContactGroup'
,
'ContactDelegate'
,
'ContactModel'
,
'ContactSearchModel'
]
import
sys
from
PyQt4.QtCore
import
Qt
,
QAbstractListModel
,
QModelIndex
,
QSize
from
PyQt4.QtCore
import
Qt
,
QAbstractListModel
,
QModelIndex
,
QSize
from
PyQt4.QtGui
import
QColor
,
QPainter
,
QPalette
,
QPixmap
,
QStyle
,
QSortFilterProxyModel
,
QStyledItemDelegate
from
PyQt4.QtGui
import
QColor
,
QPainter
,
QPalette
,
QPixmap
,
QStyle
,
QSortFilterProxyModel
,
QStyledItemDelegate
...
@@ -34,9 +32,6 @@ class ContactGroup(object):
...
@@ -34,9 +32,6 @@ class ContactGroup(object):
def
__repr__
(
self
):
def
__repr__
(
self
):
return
"
%
s(
%
r)"
%
(
self
.
__class__
.
__name__
,
self
.
name
)
return
"
%
s(
%
r)"
%
(
self
.
__class__
.
__name__
,
self
.
name
)
def
__str__
(
self
):
return
self
.
name
.
encode
(
sys
.
stdout
.
encoding
)
def
__unicode__
(
self
):
def
__unicode__
(
self
):
return
self
.
name
return
self
.
name
...
@@ -92,9 +87,6 @@ class Contact(object):
...
@@ -92,9 +87,6 @@ class Contact(object):
def
__repr__
(
self
):
def
__repr__
(
self
):
return
'
%
s(
%
r,
%
r,
%
r,
%
r)'
%
(
self
.
__class__
.
__name__
,
self
.
group
,
self
.
name
,
self
.
uri
,
self
.
image
)
return
'
%
s(
%
r,
%
r,
%
r,
%
r)'
%
(
self
.
__class__
.
__name__
,
self
.
group
,
self
.
name
,
self
.
uri
,
self
.
image
)
def
__str__
(
self
):
return
unicode
(
self
)
.
encode
(
sys
.
stdout
.
encoding
)
def
__unicode__
(
self
):
def
__unicode__
(
self
):
return
u'
%
s <
%
s>'
%
(
self
.
name
,
self
.
uri
)
if
self
.
name
else
self
.
uri
return
u'
%
s <
%
s>'
%
(
self
.
name
,
self
.
uri
)
if
self
.
name
else
self
.
uri
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment