diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
commit | 479f5f799523bffbcc83dff581a2299c047c6fff (patch) | |
tree | 186aae707ed02aac6c7cab2fb14e97f72aca5e36 /python/pykde/extra/kde331/konsole_part.h | |
parent | f1dbff6145c98324ff82e34448b7483727e8ace4 (diff) | |
download | tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'python/pykde/extra/kde331/konsole_part.h')
-rw-r--r-- | python/pykde/extra/kde331/konsole_part.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/python/pykde/extra/kde331/konsole_part.h b/python/pykde/extra/kde331/konsole_part.h index 7023f504..52bab26b 100644 --- a/python/pykde/extra/kde331/konsole_part.h +++ b/python/pykde/extra/kde331/konsole_part.h @@ -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(); @@ -132,11 +132,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; @@ -157,13 +157,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; @@ -182,10 +182,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 ); }; ////////////////////////////////////////////////////////////////////// @@ -196,7 +196,7 @@ public: public: HistoryTypeDialog(const HistoryType& histType, unsigned int histSize, - QWidget *parent); + TQWidget *parent); public slots: void slotDefault(); @@ -207,9 +207,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; }; ////////////////////////////////////////////////////////////////////// |