diff options
Diffstat (limited to 'ksysv/OldView.h')
-rw-r--r-- | ksysv/OldView.h | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/ksysv/OldView.h b/ksysv/OldView.h index 8a6899e..4e2c668 100644 --- a/ksysv/OldView.h +++ b/ksysv/OldView.h @@ -15,9 +15,9 @@ #ifndef KSV_VIEW_H #define KSV_VIEW_H -#include <qsplitter.h> -#include <qvaluelist.h> -#include <qsize.h> +#include <tqsplitter.h> +#include <tqvaluelist.h> +#include <tqsize.h> #include <ktrader.h> @@ -54,51 +54,51 @@ public: KSVDragList* getOrigin(); - const QString& log() const; - const QString& xmlLog() const; + const TQString& log() const; + const TQString& xmlLog() const; - void setColors (const QColor& newNormal, - const QColor& newSelected, - const QColor& changedNormal, - const QColor& changedSelected); + void setColors (const TQColor& newNormal, + const TQColor& newSelected, + const TQColor& changedNormal, + const TQColor& changedSelected); - void mergeLoadedPackage (QValueList<KSVData>* start, - QValueList<KSVData>* stop); + void mergeLoadedPackage (TQValueList<KSVData>* start, + TQValueList<KSVData>* stop); public slots: void slotWriteSysV(); void infoOnData(KSVItem* data); void setDisplayScriptOutput(bool val); - void slotScriptProperties (QListViewItem*); + void slotScriptProperties (TQListViewItem*); void multiplexEnabled (bool); void hideRunlevel (int index); void showRunlevel (int index); protected: - virtual void resizeEvent (QResizeEvent* e); - virtual void moveEvent (QMoveEvent* e); - virtual void showEvent (QShowEvent*); + virtual void resizeEvent (TQResizeEvent* e); + virtual void moveEvent (TQMoveEvent* e); + virtual void showEvent (TQShowEvent*); private slots: void calcMinSize (); void fwdOrigin (KSVDragList*); void startService(); - void startService (const QString& path); + void startService (const TQString& path); void stopService(); - void stopService (const QString& path); + void stopService (const TQString& path); void restartService(); - void restartService (const QString& path); + void restartService (const TQString& path); void editService(); - void editService (const QString& path); + void editService (const TQString& path); void slotOutputOrError( KProcess* _p, char* _buffer, int _buflen ); void slotExitedProcess(KProcess* proc); void slotScriptsNotRemovable(); - void slotDoubleClick (QListViewItem*); + void slotDoubleClick (TQListViewItem*); void slotExitDuringRestart(KProcess* proc); - void appendLog(const QString& rich, const QString& plain); - void appendLog(const QCString& _buffer); + void appendLog(const TQString& rich, const TQString& plain); + void appendLog(const TQCString& _buffer); void fwdCannotGenerateNumber(); void fwdOrigin(); void reSortRL(); @@ -106,10 +106,10 @@ private slots: void fwdUndoAction(KSVAction*); void updatePanningFactor(); - void popupRunlevelMenu (KListView*, QListViewItem*, const QPoint&); - void popupServicesMenu (KListView*, QListViewItem*, const QPoint&); + void popupRunlevelMenu (KListView*, TQListViewItem*, const TQPoint&); + void popupServicesMenu (KListView*, TQListViewItem*, const TQPoint&); - void updateServicesAfterChange (const QString&); + void updateServicesAfterChange (const TQString&); void updateRunlevelsAfterChange (); void repaintRunlevels (); @@ -119,7 +119,7 @@ private slots: signals: void sigUpdateParent(); - void sigRun (const QString&); + void sigRun (const TQString&); void sigStop(); void sigNotRemovable(); void cannotGenerateNumber(); @@ -133,20 +133,20 @@ signals: void newOrigin(); private: - static int splitterToPanningFactor (const QValueList<int>&); - static const QValueList<int>& panningFactorToSplitter (int); + static int splitterToPanningFactor (const TQValueList<int>&); + static const TQValueList<int>& panningFactorToSplitter (int); - void merge (QValueList<KSVData>& list, KSVDragList* widget); + void merge (TQValueList<KSVData>& list, KSVDragList* widget); void initLList(); void initScripts(); void initRunlevels(); - void info2Widget (QFileInfo* info, int index); + void info2Widget (TQFileInfo* info, int index); void writeToDisk (const KSVData& _w, int _rl, bool _start); void clearRL( int _rl ); friend class KSVTopLevel; - QFrame* mContent; + TQFrame* mContent; KScroller* mScroller; KSVDragList** startRL; @@ -157,23 +157,23 @@ private: KPopupMenu* mContextMenu; KPopupMenu* mScriptMenu; KSVTrash* trash; - QTextEdit* textDisplay; + TQTextEdit* textDisplay; KSVConfig* conf; - QVBox* mScriptBox; - QVBox** mRunlevels; - QWidget* mBuffer; + TQVBox* mScriptBox; + TQVBox** mRunlevels; + TQWidget* mBuffer; KSVDragList* mOrigin; - QString mLogText, mXMLLogText; + TQString mLogText, mXMLLogText; - QSize mMinSize; + TQSize mMinSize; KPopupMenu* mOpenWithMenu; KTrader::OfferList mOpenWithOffers; - QCString m_buffer; + TQCString m_buffer; }; #endif |