diff options
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 <deller@kde.org> * @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; |