summaryrefslogtreecommitdiffstats
path: root/ksysv/OldView.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
commitaa3a1ca934bc541bddd3fa136a85f106f7da266e (patch)
tree9ad0b795aed8fa4ac30c2fe0fd1aacb8175714c0 /ksysv/OldView.h
parentb10cf7066791a2f362495890cd50c984e8025412 (diff)
downloadtdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.tar.gz
tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysv/OldView.h')
-rw-r--r--ksysv/OldView.h76
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