diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmobile/kmobileview.h | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmobile/kmobileview.h')
-rw-r--r-- | kmobile/kmobileview.h | 49 |
1 files changed, 25 insertions, 24 deletions
diff --git a/kmobile/kmobileview.h b/kmobile/kmobileview.h index 079eaf925..bcbfd4e1e 100644 --- a/kmobile/kmobileview.h +++ b/kmobile/kmobileview.h @@ -23,8 +23,9 @@ class KMobileItem; class KDE_EXPORT KMobileView : public TQIconView, public kmobileIface { Q_OBJECT + TQ_OBJECT public: - KMobileView(TQWidget *parent, KConfig *_config); + KMobileView(TQWidget *tqparent, KConfig *_config); virtual ~KMobileView(); bool addNewDevice(KConfig *config, KService::Ptr service); @@ -33,44 +34,44 @@ public: /** * DCOP implementation */ - TQStringList deviceNames(); + TQStringList tqdeviceNames(); - void removeDevice( TQString deviceName ); - void configDevice( TQString deviceName ); + void removeDevice( TQString tqdeviceName ); + void configDevice( TQString tqdeviceName ); - bool connectDevice( TQString deviceName ); - bool disconnectDevice( TQString deviceName ); - bool connected( TQString deviceName ); + bool connectDevice( TQString tqdeviceName ); + bool disconnectDevice( TQString tqdeviceName ); + bool connected( TQString tqdeviceName ); - TQString deviceClassName( TQString deviceName ); - TQString deviceName( TQString deviceName ); - TQString revision( TQString deviceName ); - int classType( TQString deviceName ); + TQString tqdeviceClassName( TQString tqdeviceName ); + TQString tqdeviceName( TQString tqdeviceName ); + TQString revision( TQString tqdeviceName ); + int classType( TQString tqdeviceName ); - int capabilities( TQString deviceName ); - TQString nameForCap( TQString deviceName, int cap ); + int capabilities( TQString tqdeviceName ); + TQString nameForCap( TQString tqdeviceName, int cap ); - TQString iconFileName( TQString deviceName ); + TQString iconFileName( TQString tqdeviceName ); - int numAddresses( TQString deviceName ); - TQString readAddress( TQString deviceName, int index ); - bool storeAddress( TQString deviceName, int index, TQString vcard, bool append ); + int numAddresses( TQString tqdeviceName ); + TQString readAddress( TQString tqdeviceName, int index ); + bool storeAddress( TQString tqdeviceName, int index, TQString vcard, bool append ); - int numCalendarEntries( TQString deviceName ); + int numCalendarEntries( TQString tqdeviceName ); - int numNotes( TQString deviceName ); - TQString readNote( TQString deviceName, int index ); - bool storeNote( TQString deviceName, int index, TQString note ); + int numNotes( TQString tqdeviceName ); + TQString readNote( TQString tqdeviceName, int index ); + bool storeNote( TQString tqdeviceName, int index, TQString note ); - /* devices kioslave support: */ - TQStringList kio_devices_deviceInfo(TQString deviceName); + /* tqdevices kioslave support: */ + TQStringList kio_tqdevices_tqdeviceInfo(TQString tqdeviceName); public: void saveAll(); void restoreAll(); protected: - KMobileItem * findDevice( const TQString &deviceName ) const; + KMobileItem * findDevice( const TQString &tqdeviceName ) const; protected slots: void slotDoubleClicked( TQIconViewItem * item ); |