diff options
Diffstat (limited to 'kaddressbook/views/kaddressbooktableview.cpp')
-rw-r--r-- | kaddressbook/views/kaddressbooktableview.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kaddressbook/views/kaddressbooktableview.cpp b/kaddressbook/views/kaddressbooktableview.cpp index 89caa0455..65bcd36cf 100644 --- a/kaddressbook/views/kaddressbooktableview.cpp +++ b/kaddressbook/views/kaddressbooktableview.cpp @@ -17,8 +17,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. As a special exception, permission is given to link this program - with any edition of Qt, and distribute the resulting executable, - without including the source code for Qt in the source distribution. + with any edition of TQt, and distribute the resulting executable, + without including the source code for TQt in the source distribution. */ #include <tqapplication.h> @@ -61,9 +61,9 @@ class TableViewFactory : public ViewFactory { public: - KAddressBookView *view( KAB::Core *core, TQWidget *parent, const char *name ) + KAddressBookView *view( KAB::Core *core, TQWidget *tqparent, const char *name ) { - return new KAddressBookTableView( core, parent, name ); + return new KAddressBookTableView( core, tqparent, name ); } TQString type() const { return I18N_NOOP( "Table" ); } @@ -71,10 +71,10 @@ class TableViewFactory : public ViewFactory TQString description() const { return i18n( "A listing of contacts in a table. Each cell of " "the table holds a field of the contact." ); } - ViewConfigureWidget *configureWidget( KABC::AddressBook *ab, TQWidget *parent, + ViewConfigureWidget *configureWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 ) { - return new ConfigureTableViewWidget( ab, parent, name ); + return new ConfigureTableViewWidget( ab, tqparent, name ); } }; @@ -86,8 +86,8 @@ extern "C" { } KAddressBookTableView::KAddressBookTableView( KAB::Core *core, - TQWidget *parent, const char *name ) - : KAddressBookView( core, parent, name ) + TQWidget *tqparent, const char *name ) + : KAddressBookView( core, tqparent, name ) { mMainLayout = new TQVBoxLayout( viewWidget(), 2 ); @@ -262,7 +262,7 @@ void KAddressBookTableView::refresh( const TQString &uid ) return; } } - refresh( TQString::null ); + refresh( TQString() ); } } @@ -330,7 +330,7 @@ void KAddressBookTableView::addresseeSelected() } if ( !found ) - emit selected( TQString::null ); + emit selected( TQString() ); } void KAddressBookTableView::addresseeExecuted( TQListViewItem *item ) @@ -341,9 +341,9 @@ void KAddressBookTableView::addresseeExecuted( TQListViewItem *item ) if ( ceItem ) emit executed( ceItem->addressee().uid() ); else - emit executed( TQString::null ); + emit executed( TQString() ); } else { - emit executed( TQString::null ); + emit executed( TQString() ); } } @@ -372,12 +372,12 @@ void KAddressBookTableView::updatePresence( const TQString &uid ) void KAddressBookTableView::scrollUp() { - TQApplication::postEvent( mListView, new TQKeyEvent( TQEvent::KeyPress, Qt::Key_Up, 0, 0 ) ); + TQApplication::postEvent( mListView, new TQKeyEvent( TQEvent::KeyPress, TQt::Key_Up, 0, 0 ) ); } void KAddressBookTableView::scrollDown() { - TQApplication::postEvent( mListView, new TQKeyEvent( TQEvent::KeyPress, Qt::Key_Down, 0, 0 ) ); + TQApplication::postEvent( mListView, new TQKeyEvent( TQEvent::KeyPress, TQt::Key_Down, 0, 0 ) ); } |