椣湦敤â¦ä¥†ä‘Žä¥„ä± ää¡Ÿà¨æ£æ™¥æ¹©â¥ä¥ 䑎䥄ä±ä䡟à¨à¨æ £æ‘®æ™©â¼ â€¯ä¥†ä‘Žä¥ ä±ä䡟à¨
I don't know what that is, it just appeared on my newly created header file for a project. it has red line under it. when I hover my mouse over, it displayed expected a declaration.
à¨
also appared on my newly created cpp file that defines my header file.
at first, I just simply delete these undefined rubish. however, I can't get my project to compile. It produced bunch of errors.
stray '\377' in program
stray '\376' in program
stray '#' in program
lots of null character ignored
the following is my code for the header file
#ifndef FindDialog_h
#define FindDialog_h
#include <Qdialog>
{
Q_OBJECT
public:
signals:
void findNext
(const QString &str, Qt
::CaseSensitivity cs
);
void findPrevious
(const QString &str, Qt
::CaseSensitivity cs
);
private slots:
void findClicked();
void enableFindButton
(const QString &text
);
private:
};
#endif
#ifndef FindDialog_h
#define FindDialog_h
#include <Qdialog>
class QCheckBox;
class QLabel;
class QLineEdit;
class QPushButton;
class FindDialog : public QDialog
{
Q_OBJECT
public:
FindDialog(QWidget *parent = 0);
signals:
void findNext(const QString &str, Qt::CaseSensitivity cs);
void findPrevious(const QString &str, Qt::CaseSensitivity cs);
private slots:
void findClicked();
void enableFindButton(const QString &text);
private:
QLabel *label;
QLineEdit *lineEdit;
QCheckBox *caseCheckBox;
QCheckBox *backwardCheckBox;
QPushButton *findButton;
QPushButton *closeButton;
};
#endif
To copy to clipboard, switch view to plain text mode
I deleted the rubish at the begining
Bookmarks