diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kmobile/kmobileview.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmobile/kmobileview.h')
-rw-r--r-- | kmobile/kmobileview.h | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/kmobile/kmobileview.h b/kmobile/kmobileview.h index 4e18793cc..079eaf925 100644 --- a/kmobile/kmobileview.h +++ b/kmobile/kmobileview.h @@ -5,7 +5,7 @@ #ifndef _KMOBILEVIEW_H_ #define _KMOBILEVIEW_H_ -#include <qiconview.h> +#include <tqiconview.h> #include "kmobileiface.h" @@ -20,66 +20,66 @@ class KMobileItem; * @author Helge Deller <[email protected]> * @version 0.1 */ -class KDE_EXPORT KMobileView : public QIconView, public kmobileIface +class KDE_EXPORT KMobileView : public TQIconView, public kmobileIface { Q_OBJECT public: - KMobileView(QWidget *parent, KConfig *_config); + KMobileView(TQWidget *parent, KConfig *_config); virtual ~KMobileView(); bool addNewDevice(KConfig *config, KService::Ptr service); - bool startKonqueror(const QString &devName); + bool startKonqueror(const TQString &devName); /** * DCOP implementation */ - QStringList deviceNames(); + TQStringList deviceNames(); - void removeDevice( QString deviceName ); - void configDevice( QString deviceName ); + void removeDevice( TQString deviceName ); + void configDevice( TQString deviceName ); - bool connectDevice( QString deviceName ); - bool disconnectDevice( QString deviceName ); - bool connected( QString deviceName ); + bool connectDevice( TQString deviceName ); + bool disconnectDevice( TQString deviceName ); + bool connected( TQString deviceName ); - QString deviceClassName( QString deviceName ); - QString deviceName( QString deviceName ); - QString revision( QString deviceName ); - int classType( QString deviceName ); + TQString deviceClassName( TQString deviceName ); + TQString deviceName( TQString deviceName ); + TQString revision( TQString deviceName ); + int classType( TQString deviceName ); - int capabilities( QString deviceName ); - QString nameForCap( QString deviceName, int cap ); + int capabilities( TQString deviceName ); + TQString nameForCap( TQString deviceName, int cap ); - QString iconFileName( QString deviceName ); + TQString iconFileName( TQString deviceName ); - int numAddresses( QString deviceName ); - QString readAddress( QString deviceName, int index ); - bool storeAddress( QString deviceName, int index, QString vcard, bool append ); + int numAddresses( TQString deviceName ); + TQString readAddress( TQString deviceName, int index ); + bool storeAddress( TQString deviceName, int index, TQString vcard, bool append ); - int numCalendarEntries( QString deviceName ); + int numCalendarEntries( TQString deviceName ); - int numNotes( QString deviceName ); - QString readNote( QString deviceName, int index ); - bool storeNote( QString deviceName, int index, QString note ); + int numNotes( TQString deviceName ); + TQString readNote( TQString deviceName, int index ); + bool storeNote( TQString deviceName, int index, TQString note ); /* devices kioslave support: */ - QStringList kio_devices_deviceInfo(QString deviceName); + TQStringList kio_devices_deviceInfo(TQString deviceName); public: void saveAll(); void restoreAll(); protected: - KMobileItem * findDevice( const QString &deviceName ) const; + KMobileItem * findDevice( const TQString &deviceName ) const; protected slots: - void slotDoubleClicked( QIconViewItem * item ); + void slotDoubleClicked( TQIconViewItem * item ); signals: /** * Use this signal to change the content of the statusbar */ - void signalChangeStatusbar(const QString& text); + void signalChangeStatusbar(const TQString& text); private: KConfig *m_config; |