diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
commit | 203ba231d0276943aae36111f9ec1e949f3c6a4c (patch) | |
tree | f039f7a5b5fc2da88a96876971bac580d87f6788 /extra/kde300/konsole_part.h | |
parent | fd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff) | |
download | pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip |
Initial TQt conversion
Diffstat (limited to 'extra/kde300/konsole_part.h')
-rw-r--r-- | extra/kde300/konsole_part.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/extra/kde300/konsole_part.h b/extra/kde300/konsole_part.h index ba89800..6aba706 100644 --- a/extra/kde300/konsole_part.h +++ b/extra/kde300/konsole_part.h @@ -34,10 +34,10 @@ class KInstance; class konsoleBrowserExtension; -class QPushButton; -class QSpinBox; +class TQPushButton; +class TQSpinBox; class KPopupMenu; -class QCheckBox; +class TQCheckBox; class KRootPixmap; class KToggleAction; class KSelectAction; @@ -51,10 +51,10 @@ public: konsoleFactory(); virtual ~konsoleFactory(); - virtual KParts::Part* createPartObject(QWidget *parentWidget = 0, const char *widgetName = 0, - QObject* parent = 0, const char* name = 0, + virtual KParts::Part* createPartObject(TQWidget *parentWidget = 0, const char *widgetName = 0, + TQObject* parent = 0, const char* name = 0, const char* classname = "KParts::Part", - const QStringList &args = QStringList()); + const TQStringList &args = TQStringList()); static KInstance *instance(); @@ -69,12 +69,12 @@ class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface { Q_OBJECT public: - konsolePart(QWidget *parentWidget, const char *widgetName, QObject * parent, const char *name, const char *classname = 0); + konsolePart(TQWidget *parentWidget, const char *widgetName, TQObject * parent, const char *name, const char *classname = 0); virtual ~konsolePart(); signals: void processExited(); - void receivedData( const QString& s ); + void receivedData( const TQString& s ); protected: virtual bool openURL( const KURL & url ); virtual bool openFile() {return false;} // never used @@ -84,7 +84,7 @@ signals: protected slots: void showShell(); void slotProcessExited(); - void slotReceivedData( const QString& s ); + void slotReceivedData( const TQString& s ); // void doneSession(TESession*); void sessionDestroyed(); @@ -93,7 +93,7 @@ signals: void enableMasterModeConnections(); private slots: - void emitOpenURLRequest(const QString &url); + void emitOpenURLRequest(const TQString &url); void readProperties(); void saveProperties(); @@ -130,11 +130,11 @@ signals: // void setSchema(ColorSchema* s); void updateKeytabMenu(); - bool doOpenStream( const QString& ); - bool doWriteStream( const QByteArray& ); + bool doOpenStream( const TQString& ); + bool doWriteStream( const TQByteArray& ); bool doCloseStream(); - QWidget* parentWidget; + TQWidget* parentWidget; // TEWidget* te; // TESession* se; // ColorSchemaList* colors; @@ -154,13 +154,13 @@ signals: KPopupMenu* m_options; KPopupMenu* m_popupMenu; - QFont defaultFont; + TQFont defaultFont; - QString pmPath; // pixmap path - QString s_schema; - QString s_kconfigSchema; - QString s_word_seps; // characters that are considered part of a word - QString fontNotFound_par; + TQString pmPath; // pixmap path + TQString s_schema; + TQString s_kconfigSchema; + TQString s_word_seps; // characters that are considered part of a word + TQString fontNotFound_par; bool b_framevis:1; bool b_histEnabled:1; @@ -177,10 +177,10 @@ signals: public: // these are the implementations for the TermEmuInterface // functions... - void startProgram( const QString& program, - const QStrList& args ); - void showShellInDir( const QString& dir ); - void sendInput( const QString& text ); + void startProgram( const TQString& program, + const TQStrList& args ); + void showShellInDir( const TQString& dir ); + void sendInput( const TQString& text ); }; ////////////////////////////////////////////////////////////////////// @@ -191,7 +191,7 @@ public: public: HistoryTypeDialog(const HistoryType& histType, unsigned int histSize, - QWidget *parent); + TQWidget *parent); public slots: void slotDefault(); @@ -202,9 +202,9 @@ public slots: bool isOn() const; protected: - QCheckBox* m_btnEnable; - QSpinBox* m_size; - QPushButton* m_setUnlimited; + TQCheckBox* m_btnEnable; + TQSpinBox* m_size; + TQPushButton* m_setUnlimited; };*/ ////////////////////////////////////////////////////////////////////// |