Commit 198176d1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use QT macro for signal/slots

svn path=/trunk/KDE/kdebase/konsole/; revision=500480
parent caaa2616
......@@ -48,12 +48,12 @@ Q_OBJECT
void setSize(int lines, int cols);
void setErase(char erase);
public slots:
public Q_SLOTS:
void useUtf8(bool on);
void lockPty(bool lock);
void send_bytes(const char* s, int len);
signals:
Q_SIGNALS:
/*!
emitted when the client program terminates.
......@@ -78,15 +78,15 @@ Q_OBJECT
void send_string(const char* s);
bool buffer_full() { return m_bufferFull; }
protected slots:
protected Q_SLOTS:
void dataReceived(KProcess *, char *buf, int len);
public slots:
public Q_SLOTS:
void donePty();
private:
void appendSendJob(const char* s, int len);
private slots:
private Q_SLOTS:
void doSendJobs();
void writeReady();
......
......@@ -135,7 +135,7 @@ public:
void setRim(int rim) { rimX=rim; rimY=rim; }
public slots:
public Q_SLOTS:
void setSelectionEnd();
void copyClipboard();
......@@ -143,7 +143,7 @@ public slots:
void pasteSelection();
void onClearSelection();
signals:
Q_SIGNALS:
void keyPressedSignal(QKeyEvent *e);
void mouseSignal(int cb, int cx, int cy);
......@@ -212,7 +212,7 @@ protected:
void inputMethodEvent ( QInputMethodEvent * e );
protected slots:
protected Q_SLOTS:
void scrollChanged(int value);
void blinkEvent();
......@@ -317,7 +317,7 @@ private:
QRgb blend_color;
private slots:
private Q_SLOTS:
void drop_menu_activated(int item);
void swapColorTable();
void tripleClickTimeout(); // resets possibleTripleClick
......
......@@ -55,11 +55,11 @@ public:
~TEmuVt102();
virtual void onKeyPress(QKeyEvent*);
public slots: // signals incoming from TEWidget
public Q_SLOTS: // signals incoming from TEWidget
void onMouse(int cb, int cx, int cy);
signals:
Q_SIGNALS:
void changeTitle(int,const QString&);
......@@ -69,7 +69,7 @@ public:
void reset();
void onRcvChar(int cc);
public slots:
public Q_SLOTS:
void sendString(const char *);
public:
......
......@@ -46,7 +46,7 @@ public:
virtual void findTextBegin();
virtual bool findTextNext( const QString &str, bool forward, bool caseSensitive, bool regExp );
public slots: // signals incoming from TEWidget
public Q_SLOTS: // signals incoming from TEWidget
virtual void onImageSizeChange(int lines, int columns);
virtual void onHistoryCursorChange(int cursor);
......@@ -60,11 +60,11 @@ public slots: // signals incoming from TEWidget
virtual void isBusySelecting(bool busy);
virtual void testIsSelected(const int x, const int y, bool &selected);
public slots: // signals incoming from data source
public Q_SLOTS: // signals incoming from data source
void onRcvBlock(const char* txt,int len);
signals:
Q_SIGNALS:
void lockPty(bool);
void useUtf8(bool);
......@@ -123,7 +123,7 @@ protected:
// refreshing related material.
// this is localized in the class.
private slots: // triggered by timer
private Q_SLOTS: // triggered by timer
void showBulk();
......
......@@ -121,7 +121,7 @@ public:
enum TabPosition { TabNone, TabTop, TabBottom };
enum TabViewModes { ShowIconAndText = 0, ShowTextOnly = 1, ShowIconOnly = 2 };
public slots:
public Q_SLOTS:
void activateSession(int position);
void activateSession(QWidget*);
void slotUpdateSessionConfig(TESession *session);
......@@ -139,7 +139,7 @@ protected:
void saveProperties(KConfig* config);
void readProperties(KConfig* config);
private slots:
private Q_SLOTS:
void configureRequest(TEWidget*,int,int,int);
void activateSession();
void activateSession(TESession*);
......@@ -443,7 +443,7 @@ public:
unsigned int histSize,
QWidget *parent);
public slots:
public Q_SLOTS:
void slotHistEnable(bool);
void slotDefault();
......@@ -467,7 +467,7 @@ public:
unsigned int const lines,
QWidget *parent);
public slots:
public Q_SLOTS:
void slotDefault();
unsigned int columns() const;
......@@ -485,7 +485,7 @@ public:
KonsoleFind( QWidget *parent = 0, const char *name=0, bool modal=true );
bool reg_exp() const;
private slots:
private Q_SLOTS:
void slotEditRegExp();
private:
......
......@@ -74,7 +74,7 @@ class konsolePart: public KParts::ReadOnlyPart, public TerminalInterface
konsolePart(QWidget *parentWidget, const char *widgetName, QObject * parent, const char *name, const char *classname = 0);
virtual ~konsolePart();
signals:
Q_SIGNALS:
void processExited();
void receivedData( const QString& s );
protected:
......@@ -83,7 +83,7 @@ signals:
virtual bool closeURL() {return true;}
virtual void guiActivateEvent( KParts::GUIActivateEvent * event );
protected slots:
protected Q_SLOTS:
void showShell();
void slotProcessExited();
void slotReceivedData( const QString& s );
......@@ -94,7 +94,7 @@ signals:
void updateTitle();
void enableMasterModeConnections();
private slots:
private Q_SLOTS:
void emitOpenURLRequest(const QString &url);
void readProperties();
......@@ -206,7 +206,7 @@ public:
unsigned int histSize,
QWidget *parent);
public slots:
public Q_SLOTS:
void slotDefault();
void slotSetUnlimited();
void slotHistEnable(bool);
......
......@@ -49,10 +49,10 @@ public:
KMenu *menu() const { return m_menu; }
private slots:
private Q_SLOTS:
void slotBookmarksChanged( const QString &, const QString & caller );
signals:
Q_SIGNALS:
void openURL( const QString& url, const QString& title );
private:
......
......@@ -49,16 +49,16 @@ public:
void fillBookmarkMenu();
public slots:
public Q_SLOTS:
signals:
Q_SIGNALS:
private slots:
private Q_SLOTS:
private:
KonsoleBookmarkHandler * m_kOwner;
protected slots:
protected Q_SLOTS:
void slotAboutToShow2();
void slotBookmarkSelected();
......
......@@ -11,7 +11,7 @@ class KWrited : public QObject
public:
KWrited();
~KWrited();
private slots:
private Q_SLOTS:
void block_in(int fd);
private:
Q3TextEdit* wid;
......
......@@ -115,7 +115,7 @@ public:
QSize size();
void setSize(QSize size);
public slots:
public Q_SLOTS:
void run();
void done();
......@@ -133,7 +133,7 @@ public slots:
void zmodemDone();
void zmodemContinue();
signals:
Q_SIGNALS:
void processExited();
void receivedData( const QString& text );
......@@ -155,7 +155,7 @@ signals:
void getSessionSchema(TESession *session, QString &schema);
void setSessionSchema(TESession *session, const QString &schema);
private slots:
private Q_SLOTS:
void onRcvBlock( const char* buf, int len );
void monitorTimerDone();
void notifySessionState(int state);
......
......@@ -39,7 +39,7 @@ public:
*/
void done();
public slots:
public Q_SLOTS:
void slotClose();
private:
......
......@@ -47,11 +47,11 @@ class SchemaEditor : public SchemaDialog
bool isModified() const { return schMod; }
void querySave();
signals:
Q_SIGNALS:
void changed();
void schemaListChanged(const QStringList &titles, const QStringList &filenames);
public slots:
public Q_SLOTS:
void slotColorChanged(int);
void imageSelect();
void slotTypeChanged(int);
......@@ -60,7 +60,7 @@ class SchemaEditor : public SchemaDialog
void removeCurrent();
void previewLoaded(bool l);
void getList();
private slots:
private Q_SLOTS:
void show();
void schemaModified();
void loadAllSchema(QString currentFile="");
......
......@@ -39,14 +39,14 @@ class SessionEditor : public SessionDialog
bool isModified() const { return sesMod; }
void querySave();
signals:
Q_SIGNALS:
void changed();
void getList();
public slots:
public Q_SLOTS:
void schemaListChanged(const QStringList &titles, const QStringList &filenames);
private slots:
private Q_SLOTS:
void readSession(int);
void saveCurrent();
void removeCurrent();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment