diff options
author | Timothy Pearson <[email protected]> | 2013-07-24 11:31:17 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-07-24 11:31:17 -0500 |
commit | d598a49a3e1cadea0d72be28d147d219686413e7 (patch) | |
tree | 3111c0383d0b514f59aaeef0a2f656acc595fd8a /src/profiledialog.h | |
parent | 56ffa61b35fc088a0e7e2aa885b9ffed82c8d8be (diff) | |
download | knmap-d598a49a3e1cadea0d72be28d147d219686413e7.tar.gz knmap-d598a49a3e1cadea0d72be28d147d219686413e7.zip |
Convert to TDE R14 API
Diffstat (limited to 'src/profiledialog.h')
-rw-r--r-- | src/profiledialog.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/profiledialog.h b/src/profiledialog.h index 3165dce..2a9fc6e 100644 --- a/src/profiledialog.h +++ b/src/profiledialog.h @@ -33,11 +33,11 @@ // forward class definitions // ========================= -class KConfig; -class QLineEdit; -class QListBox; -class QListBoxItem; -class QString; +class TDEConfig; +class TQLineEdit; +class TQListBox; +class TQListBoxItem; +class TQString; // ProfileDialog class definition // ============================== @@ -55,36 +55,36 @@ class ProfileDialog : public KDialogBase }; ProfileDialog( Action action, - const QString& currentProfile, - QWidget* parent = NULL, + const TQString& currentProfile, + TQWidget* parent = NULL, const char* name = NULL ); - QString profileName( ) const { return m_profileName; } + TQString profileName( ) const { return m_profileName; } private slots: void slotOk( ); void slotCopy( ); void slotDelete( ); void slotProfileListBoxChanged( ); - void slotProfileListContextMenu( QListBoxItem* item, const QPoint& pos ); + void slotProfileListContextMenu( TQListBoxItem* item, const TQPoint& pos ); void slotRename( ); private: - bool checkForDuplicateName( const QString& profileName ); - QString constructNewProfileName( const QString& initialProfileName ) const; - void copy( const QString& fromProfileName, const QString& toProfileName ); + bool checkForDuplicateName( const TQString& profileName ); + TQString constructNewProfileName( const TQString& initialProfileName ) const; + void copy( const TQString& fromProfileName, const TQString& toProfileName ); void createlayout( ); - void deelete( const QString& profileName, const bool ask ); - void deelete( QListBoxItem* item, const bool ask ); - bool getNewProfileName( QString& profileName ); - void setInitialValues( const QString& currentProfile ); - QString stripPrefix( const QString& profileName ) const; + void deelete( const TQString& profileName, const bool ask ); + void deelete( TQListBoxItem* item, const bool ask ); + bool getNewProfileName( TQString& profileName ); + void setInitialValues( const TQString& currentProfile ); + TQString stripPrefix( const TQString& profileName ) const; Action m_action; - QListBoxItem* m_contextItem; - QString m_profileName; - QLineEdit* m_profileLineEdit; - QListBox* m_profileListBox; + TQListBoxItem* m_contextItem; + TQString m_profileName; + TQLineEdit* m_profileLineEdit; + TQListBox* m_profileListBox; }; #endif // _GETPROFILEDIALOG_H_ |