diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kdesktop/minicli.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdesktop/minicli.h')
-rw-r--r-- | kdesktop/minicli.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/kdesktop/minicli.h b/kdesktop/minicli.h index a4215582f..f70035464 100644 --- a/kdesktop/minicli.h +++ b/kdesktop/minicli.h @@ -31,8 +31,8 @@ #ifndef MINICLI_H #define MINICLI_H -#include <qstring.h> -#include <qstringlist.h> +#include <tqstring.h> +#include <tqstringlist.h> #include <kdialog.h> #include <kservice.h> @@ -49,16 +49,16 @@ class Minicli : public KDialog Q_OBJECT public: - Minicli( QWidget *parent=0, const char *name=0 ); + Minicli( TQWidget *parent=0, const char *name=0 ); virtual ~Minicli(); - void setCommand(const QString& command); + void setCommand(const TQString& command); void reset(); void saveConfig(); void clearHistory(); virtual void show(); - virtual QSize sizeHint() const; + virtual TQSize sizeHint() const; protected slots: virtual void accept(); @@ -68,8 +68,8 @@ protected slots: protected: void loadConfig(); bool needsKDEsu(); - virtual void keyPressEvent( QKeyEvent* ); - virtual void fontChange( const QFont & ); + virtual void keyPressEvent( TQKeyEvent* ); + virtual void fontChange( const TQFont & ); private slots: void slotAdvanced(); @@ -81,35 +81,35 @@ private slots: void slotTerminal(bool); void slotChangeUid(bool); void slotChangeScheduler(bool); - void slotCmdChanged(const QString&); - void slotMatch( const QString&); + void slotCmdChanged(const TQString&); + void slotMatch( const TQString&); private: void setIcon(); int runCommand(); void parseLine( bool final ); - QString terminalCommand (const QString&, const QString&); - QString calculate(const QString &exp); + TQString terminalCommand (const TQString&, const TQString&); + TQString calculate(const TQString &exp); void notifyServiceStarted(KService::Ptr service); int m_iPriority; int m_iScheduler; - QString m_iconName; - QString m_prevIconName; - QStringList m_terminalAppList; - QStringList m_middleFilters; - QStringList m_finalFilters; + TQString m_iconName; + TQString m_prevIconName; + TQStringList m_terminalAppList; + TQStringList m_middleFilters; + TQStringList m_finalFilters; - QTimer* m_parseTimer; - QWidget* m_FocusWidget; + TQTimer* m_parseTimer; + TQWidget* m_FocusWidget; MinicliDlgUI* m_dlg; KURIFilterData* m_filterData; // Cached values - QString m_prevUser; - QString m_prevPass; + TQString m_prevUser; + TQString m_prevPass; bool m_prevChecked; bool m_prevCached; bool m_autoCheckedRunInTerm; |